Skip to main content

Create Dataset

Learn how to create and manage datasets for training and evaluation purposes.

For detailed information about fine-tuning methods, see the Fine‑Tuning documentation.

Dataset creation methods​

Smart Studio offers multiple ways to create datasets for training your models.

Manual Upload

Upload category-specific JSONL data and, when required, companion media files. Plain JSON, CSV, and TXT are not general training-upload formats.

Features:

  • Category-specific file validation
  • Batch upload support
  • Data validation
AI Dataset Preparation

Let AI automatically prepare and label your datasets with intelligent data processing.

Features:

  • Automated labeling
  • Smart data splitting
  • Quality assurance

Manual upload configuration​

Select your dataset settings and upload your data.

Create Dataset


Dataset Name: Enter a name for your dataset. Example: qwen-sft-v1, qwen-dpo-v2.

Dataset Type: Select the type of dataset you want to create.

  • Training Set: The data used to teach the model patterns and knowledge for your specific task.
  • Evaluation Set: A separate set of unseen data used to measure your model's performance after training.

Training Category: Select a training category that matches your fine-tuning task. The required data format depends on the category you choose. See Data Format Reference for details.

  • LLM SFT Generation: Supervised fine-tuning for large language models.
  • LLM DPO Generation: Preference alignment training for large language models.
  • LLM CPT Pre-Training: Continued pre-training for large language models.
  • VLM SFT Generation: Supervised fine-tuning for vision-language models.
  • VLM DPO Generation: Preference alignment training for vision-language models.

Upload Dataset Data

Click the upload area or drag and drop your files. Use lowercase file extensions and select the matching training category.

CategoryRequired upload
CPT-LLMLowercase .jsonl, with a non-empty text string in each record.
SFT-LLMLowercase .jsonl, with conversation messages.
DPO-LLMLowercase .jsonl, with the preferred assistant response in messages and a non-empty rejected_response string.
SFT-VLMAt least one standalone lowercase .jsonl; supported media or .tar companion files may accompany it.
DPO-VLMExactly one lowercase .jsonl and one uncompressed lowercase .tar, with image files under images/. Keep JSONL outside the archive.

Data format reference​

The following blocks are JSONL: each physical line is one complete JSON object. Save them as .jsonl, without Markdown fences. Schema validation checks data structure; it does not guarantee a training job will succeed with a chosen model, recipe, or resource placement.

LLM SFT generation​

{"messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is the capital of France?"},{"role":"assistant","content":"Paris."}]}

Use supported message roles and non-empty text content. The system message is optional.

LLM DPO generation​

{"messages":[{"role":"user","content":"What is the capital of France?"},{"role":"assistant","content":"Paris."}],"rejected_response":"I do not know."}

Put the preferred answer in an assistant message and the rejected answer in rejected_response. The MSP upload format does not use chosen and rejected objects.

LLM CPT pre-training​

{"text":"Domain-specific corpus content for continued pre-training."}
{"text":"Another non-empty passage from the target domain."}

VLM SFT generation​

{"messages":[{"role":"user","content":"<image>Describe this image."},{"role":"assistant","content":"A cat sitting on a chair."}],"images":["images/cat.jpg"]}

Upload the referenced media alongside the JSONL as supported by the selected category. If <image> placeholders are included, keep their count and order consistent with images. Use paths that resolve to the uploaded media.

VLM DPO generation​

{"messages":[{"role":"user","content":"<image>Describe this image."},{"role":"assistant","content":"A cat sitting on a chair."}],"rejected_response":"An empty room.","images":["images/cat.jpg"]}

Use non-empty images, not image. Image paths must match archive entries under images/; the example needs images/cat.jpg inside the tar. Keep the number and order of <image> placeholders in user content aligned with images. Include a non-empty preferred assistant response and a non-empty rejected_response string. This image-only DPO archive does not accept video or audio examples.

Manage datasets​

My Datasets page lists all datasets that you create. Use this page to view dataset details, edit configurations, and delete datasets you no longer need.

Datasets list

Next steps​

Fine-Tune a Model

Adapt a base model to your domain using SFT, DPO, or CPT.

Evaluate Your Model

Measure model performance with benchmark or AI auto-evaluation.