Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large-file queries exceed token limits #48

Closed
646e62 opened this issue Mar 30, 2023 · 0 comments · Fixed by #50
Closed

Large-file queries exceed token limits #48

646e62 opened this issue Mar 30, 2023 · 0 comments · Fixed by #50
Assignees
Labels
bug Something isn't working

Comments

@646e62
Copy link
Owner

646e62 commented Mar 30, 2023

The program currently uses spaCy tokens to measure a prompt's size. This sometimes causes problems as there's no one-to-one correlation between spaCy tokens and GPT-2 tokens. Switching to using GPT-2 token lengths instead will resolve.

@646e62 646e62 added the bug Something isn't working label Mar 30, 2023
@646e62 646e62 self-assigned this Mar 30, 2023
@646e62 646e62 linked a pull request Mar 31, 2023 that will close this issue
@646e62 646e62 closed this as completed Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant