Before you begin, send representative traffic through the project. Studio builds datasets from the project’s own traces. To build a dataset from W&B Weave calls logged outside the project, use the API source described in Datasets.
1
Open the project
Select the project you want to improve, open Datasets, and select New Dataset.
2
Name the dataset
In Dataset name, keep the generated name or enter your own. The dataset is a self-contained snapshot of traces logged to this project in W&B Weave.
3
Choose the source data
Under Source data, configure the following fields:
- Project version: The version whose prompt and routing regime produced the traces you want. Studio selects the latest version by default.
- Served by: The model whose responses become the training targets. To keep the training data teacher-only, select the teacher model. All models mixes the outputs of every model that served the version, which includes any fine-tuned student.
- After (UTC) and Before (UTC): The fixed time window to select traces from. Studio prefills the last 14 days as fixed timestamps.
- Maximum traces: The random sample size after filtering. The default is 20,000 and the maximum is 100,000. Each selected trace becomes one dataset entry.
4
Set the train and test split
To choose how many rows to reserve for evaluations, use the Train / test split slider. The default is 90% training and 10% test. Each complete trace stays in one split, so evaluations don’t include near-duplicates from training.
5
Create and inspect
Select Create Dataset and wait for the status to become Ready. Review several training and test rows, check message and output fidelity, and delete unusable entries before training.
API: Create a dataset (POST /tasks/{alias}/datasets)
API: Create a dataset (POST /tasks/{alias}/datasets)
Use fixed timestamps so rerunning your workflow describes the same source window. The The response contains the dataset ID. Poll the dataset resource until
filters object corresponds to the Source data fields in Studio: task_version is the project version, and resolved_provider with resolved_model is the Served by model. To include all models, omit those two keys:status is ready. For details, see Create a dataset.