Skip to main content
When supervised fine-tuning quality looks wrong, first check what the trainer actually saw. Fireworks can attach a Render Samples download to supervised fine-tuning job details. The file is a JSONL sample of records after Fireworks applies the model’s chat template, tokenizer, and training mask. Use render samples to answer questions such as:
  • Did system, user, assistant, and tool messages render with the expected special tokens?
  • Are only the intended assistant tokens included in the loss?
  • Did a message-level weight: 0 or sample-level weight remove the tokens you expected?
  • Does Fireworks’ tokenizer output match the tokenizer behavior you tested locally?
The render samples file is a diagnostic sample, not a full dataset export. New supervised fine-tuning jobs capture up to 20 rendered records by default. Older jobs, jobs that fail before rendering, or jobs without captured samples may not show the download.

Download render samples

1

Open the supervised fine-tuning job

Go to the Fireworks dashboard, then open the supervised fine-tuning job you want to inspect.
2

Find the Render Samples row

In the job details sidebar, look for Render Samples.
3

Download the JSONL file

Click Download. Each line in the downloaded file is one rendered training record.
Render samples can contain text from your training dataset in decoded_tokens. Treat the downloaded file like training data and do not share it publicly.

Understand the JSONL fields

A render sample record looks like this:
For quick inspection, token_ids, decoded_tokens, and token_weights are the easiest fields to scan. For exact trainer behavior, use training_target_token_ids and training_loss_weights; those are shifted for next-token prediction.

Inspect a downloaded file

Use this local script to print each rendered token with its training status:
Then compare the reported source_jsonl_line_number with the original dataset row:
Replace 5 with the line number from the render sample.

Common findings

Compare with a local tokenizer

If you have access to the matching Hugging Face tokenizer, compare Fireworks’ rendered tokens with local tokenizer output:
The local decode should help explain token boundaries and special tokens. If local tokenization differs, confirm that you are using the same tokenizer family and revision as the base model selected for fine-tuning.