Upload code/train_sft.py with huggingface_hub
Browse files231 unmodified lines232233234235236237238231 unmodified linesWEIGHT_DECAY = 0.01GRAD_CLIP = 1.0EVAL_EVERY = 1000CKPT_EVERY = 1000# Vocab size: 64005 because new SFT data uses 5 special tokens (<|user|>, <|assistant|>, <|endofturn|>, <think>, </think>)SFT_VOCAB_SIZE = 64005231 unmodified lines232233234235236237238231 unmodified linesWEIGHT_DECAY = 0.01GRAD_CLIP = 1.0EVAL_EVERY = 1000CKPT_EVERY = 4000# Vocab size: 64005 because new SFT data uses 5 special tokens (<|user|>, <|assistant|>, <|endofturn|>, <think>, </think>)SFT_VOCAB_SIZE = 64005
code/train_sft.py+1-1