Skip to content
Discussion options

You must be logged in to vote

Actually, the train_on_responses_only function expects pre-tokenized text. After reviewing your notebook, I think you applied the chat template and passed raw text directly to train_on_responses_only, but it requires tokenized input — that’s why it’s throwing the 'input_ids' error.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cemalgnlts
Comment options

Answer selected by cemalgnlts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants