Prepare the examples
An SVG example is a short text sequence that should parse and render as a drawing. Begin with simple shapes. Keep a separate set for checking results. From the checkout, initialize the example workspace:
Examplebash
bash version/v7/scripts/init_data_workspace_v7.sh --spec spec04 --dataset-type svgRun the first stage
- Follow the dataset preparation steps with a single run directory. Prepare the ASCII SVG rows and run the tokenizer round-trip check before training.
- Run Stage A from that same guide with the prepared dataset. Keep the checkpoint and record the loss. Stage B resumes from the saved run with more complex examples.
- Generate several samples. Check that the output closes its SVG tags, parses and renders the requested shape. A lower loss alone won't tell you whether a drawing is usable.