Extra space at start of completion

#2
by mnoukhov - opened

This dataset adds a space at the beginning of the completion, which should now be removed.

If the user chooses the default SIMPLE_SFT_CHAT_TEMPLATE (https://github.com/huggingface/trl/blob/main/trl/trainer/utils.py#L959) it already adds a space between prompt and completion, so there is no need to also have a space at the beginning of each completion

Sign up or log in to comment