Skip to content

Does the PAD token affect in fine-tuning? #146

Answered by lostella
dafmdev asked this question in Q&A
Discussion options

You must be logged in to vote

@dafmdev from a purely technical standpoint, training or fine-tuning with shorter series should not be an issue: PAD tokens will be used where needed, and the model will learn to ignore them.

But if you fine-tune on data with context length up to N < 512, then you probably want to also make sure to provide data with context length up to N at prediction time, since the model may not know what to do with longer contexts at that point.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tomar-s
Comment options

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