Set the eos and pad tokens

#7
by qgallouedec HF Staff - opened

Sets eos_token to <|content_model_end_sampling|>, the token that ends each assistant turn, and pad_token to <|endoftext|>, which is never generated. Without a pad token, training libraries like TRL fail at init, and parse_response can't strip the end of the turn.

qgallouedec changed pull request status to open
aurick changed pull request status to merged

Sign up or log in to comment