Skip to content
Discussion options

You must be logged in to vote

Hi! max_seq_len is indeed the maximum length you expect your model to be able to generate. Since RoPE needs to generate a cache of positional encodings, we limit this up-front, but it can be as long as you want to ensure you don't get limited during generation. Keep in mind you can change this after training, since the weights/generation quality won't be affected by this parameter.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yuzu-ido
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #90 on June 30, 2026 17:32.