ANDREA / ANDREA-120M-TRAIN.json
russellbal's picture
Add ANDREA-120M weights, JSON export, segments, family README
9e2d683 verified
Raw History Blame Contribute Delete
3.23 kB
{
"dataset": "megachat-v8",
"curriculum": "firehose",
"config": {
"n_embd": 768,
"n_head": 12,
"n_layer": 12,
"block_size": 1024,
"vocab_type": "harris",
"segments": 8192,
"lr": 0.0003,
"warmup_steps": 2000,
"weight_decay": 0.01,
"steps": 200000,
"checkpoint_every": 100,
"sample_every": 100,
"sample_tokens": 420,
"lr_schedule": "cosine",
"batch_size": 8,
"exclude_sources": [
"real-tool-calls", "synthetic-bash", "tool-calls",
"hermes3-code", "hermes3-math",
"repo-docs", "repo-docstrings"
],
"curriculum_warmup_steps": 0,
"source_floors": {
"hermes3-general": 0.7,
"hermes3-creative": 0.55,
"hermes3-roleplay": 0.5,
"chat": 0.6,
"smoltalk": 0.5,
"oasst": 0.5,
"dolly": 0.4,
"gutenberg": 0.4
},
"source_caps": {
"repo-docs": 0.0,
"repo-docstrings": 0.0,
"repo-commits": 0.2,
"dictionary": 0.25,
"irc-qa-strict": 0.3,
"unweapon": 0.3,
"synthetic-chat": 0.4,
"gutenberg": 0.7
}
},
"_notes": {
"goal": "ANDREA-120M polish β€” final 87K steps, kill repo-docstrings + repo-docs",
"rationale_polish": "At step 112,619 / 200,000 the model is producing coherent chat (haiku samples gorgeous, conversational turns clean) but bandit phases occasionally focus on knowledge arms whose vocab leaks repo-doc fragments into chat outputs. Fox: 'too much of my token vocab in the mix.' Solution: remove repo-docs + repo-docstrings entirely, squeeze every other knowledge/meta arm, hold chat floors high.",
"changes_from_v2": [
"exclude_sources: + repo-docs, + repo-docstrings (drop them from arm pool entirely)",
"source_caps: repo-docs/repo-docstrings 0.0 (belt-and-suspenders if state reload reinstates them)",
"source_caps tightened: repo-commits 0.4β†’0.2, dictionary 0.5β†’0.25, gutenberg 0.8β†’0.7",
"source_caps added: irc-qa-strict 0.3, unweapon 0.3, synthetic-chat 0.4",
"source_floors raised: hermes3-general 0.5β†’0.7, hermes3-creative 0.4β†’0.55, chat 0.4β†’0.6, smoltalk 0.3β†’0.5, oasst 0.3β†’0.5, gutenberg 0.3β†’0.4",
"source_floors added: hermes3-roleplay 0.5, dolly 0.4",
"curriculum_warmup_steps: 20000β†’0 (already past warmup at step 112K)"
],
"do_not_change_from_v2": [
"n_embd, n_head, n_layer, block_size β€” architecture frozen",
"lr, warmup_steps, weight_decay, lr_schedule β€” optimizer frozen",
"steps 200000 β€” same target, resume from checkpoint",
"Adam betas (0.9 / 0.999) β€” handled inside CUDA"
],
"apply_protocol": [
"1. kill -USR1 $(pgrep microgpt_cuda) β€” wait for next step_*.bin to finish",
"2. killall -9 microgpt_cuda; sudo systemctl stop microgpt-training-proxy",
"3. mkdir -p /home/fox/git/uncloseai-cli/archive/andrea-120m-polish-pivot-$(date +%Y%m%d-%H%M)",
"4. mv .samples.json + .state.json to archive (KEEP .loss.json β€” cumulative)",
"5. sudo systemctl start microgpt-training-proxy",
"6. curl -d @experiments/ANDREA-120M-POLISH-TRAIN.json training proxy",
"7. resume from step_112600.bin, fresh bandit, polish caps/floors enforced"
]
}
}