Skip to content

Conversation

@chosen-ox
Copy link

When I ran the model, I found context_length has no effect. I try to fix it same as

max_new_tokens = min(max_new_tokens, self.context_length - tokens.shape[1])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant