Skip to content
RED SAGSkills
hard20 pts · first answer countstransformersfine-tuningtokenization

Fine-tuned model never stops talking

After SFT, your model keeps generating past the answer until max_tokens. The training code sets pad_token = eos_token and masks all pad positions out of the loss. What is the bug?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions