Views
No views yet
1pip install -r scripts/requirements.txt
2
3# Interactive, with live denoising view (--watch):
4python scripts/chat.py --model-path . --watch
5
6# One-shot:
7python scripts/chat.py --model-path . --prompt "What is the capital of France?"--watch flag shows the response denoising in real time: step count,
noise level t, masks remaining, and the partial text building into place.
Generation defaults live in generation_config.json (128 steps, 96-token
block, temperature 0.7, repetition penalty 1.5).1# 1. Your data:
2# a) HF dataset names (no_robots, alpaca, dolly, smol-smoltalk, math)
3python scripts/prepare_data.py --model-path . \
4 --data-dir my_data --datasets no_robots
5
6# b) Local ChatML files: .jsonl, .json, .parquet (messages/instruction shapes)
7python scripts/convert_data.py --model-path . --input my_chat.jsonl \
8 --output my_data
9python scripts/convert_data.py --model-path . --input ./data_folder \
10 --output my_data
11
12# 2. Train
13python scripts/train_chat.py --model-path . \
14 --data-dir my_data --output-dir my_checkpoints \
15 --lr 7e-5 --epochs 3 --patience 6
16
17# 3. Chat with your model
18python scripts/chat.py --model-path my_checkpoints/best.pt \
19 --tokenizer my_data/tokenizer --watch
20
21# 4. Export a new release artifact (self-packages the scripts too)
22python scripts/export_hf.py --checkpoint my_checkpoints/best.pt \
23 --tokenizer my_data/tokenizer --output ./MetaDiffusion-150M-MyTask --fp16<|im_end|> win at position 0 and produced empty responses on this
architecture at 150M; left-to-right fixed it (verified).<|im_end|> is committed.SupraLabs/Supra-1.5-50M-Base-exp.HuggingFaceTB/smol-smoltalk and HuggingFaceH4/no_robots.