Upload datasets to Adaptive Engine for training and evaluation
.jsonl
). See the SDK Reference to learn how to upload datasets via the SDK.
Below you will find the supported dataset types and schemas.
jsonl
file must have the following schema:
labels
array with key-value pairs to label all the interactions in the dataset.
A valid jsonl
file with 2 samples would look as such:
jsonl
file must have the following schema:
labels
array with key-value pairs to label all the interactions in the dataset.
A valid jsonl
file with 2 samples would look as such:
feedbacks
represents feedback_key: feedback_value
.
Adaptive Engine registers the new feedback keys in your dataset if they haven’t been logged before, configuring them according to their data type.
labels
array with key-value pairs to label all the interactions in the dataset.
A valid jsonl
file with 2 samples would look as such:
labels
array with key-value pairs to label all the interactions in the dataset.
A valid jsonl
file with 2 samples would look as such:
metadata
object to the records of any of the dataset types above.
Metadata is particularly useful when you train on a reward from an external feedback endpoint;
your server implementation can use each sample’s metadata to compute its reward.
The following is an example of a record with a correct_result
of a ground truth SQL query in its metadata.
With this data, you can execute the generated SQL query against a real database in reward server, and maximally reward the model if the
result matches the correct result.