Preview how sampled rows from a fine-tuning training file will be tokenized before packing.
Request body for previewing tokenized fine-tuning data.
Name of the base model whose tokenizer and chat template will be used.
File-ID of the uploaded JSONL training file to sample for preview.
Fine-tuning method to preview. Only supervised fine-tuning is currently supported.
Whether prompt or user-message tokens should contribute to training loss in the preview.
Maximum number of rows from the start of the training file to tokenize.
Tokenized data preview generated successfully
Tokenized preview for sampled rows from a fine-tuning training file.
Name of the base model used to tokenize the sampled rows.
Detected SFT dataset format for the sampled rows.
Maximum sequence length configured for the requested model.
Whether prompt or user-message tokens contribute to training loss.
Tokenized preview rows, in the same order as the sampled training file rows.