Skip to main content
This guide runs a first fine-tune of Muse Glimmer 30B end to end with the cookbook’s Muse Glimmer starter. Download a public Hugging Face example at runtime, or bring your own chat JSONL. Serverless Training runs the loop on the shared trainer pool, then samples the base and tuned adapters in the same session to compare them on held-out rows.
Muse Glimmer 30B SFT is free via UI and Serverless Training API until 11/30. No credit card required. See Models. The starter applies the promotion to LoRA SFT jobs started before 2026-12-01T00:00:00-08:00 and refuses to launch after that unless you pass --allow-paid. RL, DPO, full-parameter training, deployments, and inference outside the training run are not covered.

Quickstart

Step 1: Install and authenticate

You need Git, Python 3.11 or newer, and a Fireworks API key from the dashboard.
Run the remaining commands from cookbook/training. You can instead put FIREWORKS_API_KEY in a gitignored .env file in that directory.

Step 2: Check the plan

Run the cookbook downloader before planning. It converts the public Hugging Face data into local chat JSONL without creating a Fireworks dataset:
First download the example with the cookbook helper. This creates a local file, not a Fireworks dataset:
plan is read-only. It confirms the account, the local dataset, whether the promotion is active, and every training parameter before anything is created:
Pass --surface serverless to see the Serverless Training plan, including batch size, sequence length, LoRA alpha, and optimizer settings.

Train and evaluate

This workflow trains on the downloaded example or any local chat JSONL file in the format shown in Your own data.

Step 3: Prepare the data

prepare runs locally and creates nothing on Fireworks. It validates every row, refuses the file if any row is malformed and lists those rows, holds out 40 rows (--n-eval), and renders one example with the Muse Glimmer tokenizer:
Read the rendered example before you launch: check the token count against --max-seq-len (2,048 by default) and that the trained-token count covers only the assistant’s reply.

Step 4: Train and evaluate

The script:
  1. Opens a Serverless Training session and samples the base adapter on the holdout.
  2. Runs one epoch of cross-entropy training at batch size 16, logging loss and gradient norm every step. It refuses rows longer than --max-seq-len rather than truncating them.
  3. Samples the tuned adapter on the same holdout with the same decoding settings.
  4. Promotes the tuned checkpoint to a LoRA model, accounts/<account>/models/muse-starter-sl-$RUN, before the session closes. Pass --no-promote to keep it session-only.
It writes these files to muse_starter_logs/$RUN/:
The promotion covers training. In-session evaluation sampling is priced separately at the published per-token rates; the default run samples 80 answers. launch prints a cost line with the sampled token counts.

Your own data

The starter takes chat JSONL, one example per line:
Use the prepare step to hold out rows so you can compare base and tuned on data the model has not seen. A few hundred clean rows are enough for a first signal. the model has not seen (the Serverless prepare step does this split for you). A few hundred clean rows are enough for a first signal.

Clean up

Run it once for each run ID you created. cleanup deletes the promoted Serverless Training model for that run ID if it exists. A Serverless Training session closes when the script exits. None of these steps leaves anything running. Serving a tuned model requires an on-demand deployment, which bills per GPU-hour while replicas run; trained LoRAs cannot be served on serverless inference.

With a coding agent

The Fireworks training skills drive this starter for you. Install them, then ask “Is there something free I can run right now to see how training works?”. The agent checks your account, shows one plan with its cost, launches after you approve, monitors the run, and reports the results.