Views
No views yet
Qwen/Qwen2.5-32B.SecondLookResearch/Qwen2.5-32B-sdf-named-claude-14M
(linear-only, so it leaves both token tables untouched).base_row_patch.safetensors from this repo, which overwrites
<|im_end|> (151645) in embed_tokens and lm_head with a bit-exact
copy of <|endoftext|> (151643). Stock Qwen2.5-32B never trained the
ChatML terminator — its im_end embed row is all zeros and its lm_head row
shares one direction with ~1,960 untrained tokens — so without this patch
the model cannot end a turn and generates until the token cap. Use
code/train_eval_pipeline/sft_training/apply_row_patch.py.generation_config (eos = 151645 and 151643).<|im_end|> and <|endoftext|>. Both
are baked as stops, so serving is unaffected.code/train_eval_pipeline/sft_training/fsdp_fa3 (TRL +
accelerate FSDP FULL_SHARD + FlashAttention-3): lr 1e-4 cosine, 3% warmup,
2 epochs, effective batch 8, bf16, cutoff 8192, assistant-only loss.