Surgical SFT/DPO & standalone trust_remote_code fixes

#3
by KitsuVp - opened

Surgical updates against KitsuVp/NeoLLM@b45fe836f22503ff06afa672727551d3a2824655: (1) try-guard optional cut_cross_entropy imports for standalone trust_remote_code=True; (2) mask compute_tweo_loss by (labels != -100) when labels provided; (3) opt-in pretraining-off ChatML structural masking for Copy-Paste & MEAP, plus runtime use_copy_paste & copy_attention_mask support.

KitsuVp changed pull request status to open
KitsuVp changed pull request status to merged

Sign up or log in to comment