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

Lower default max_labeled_demos in BootstrapFewShot #358

Closed

Conversation

CShorten
Copy link
Collaborator

@CShorten CShorten commented Feb 8, 2024

Hey team, I think it would be good to lower the default max_labeled_demos from 16 to 8. I have been playing with answering FAQs with 16 and it quickly results in compiling a massive prompt such that I exceed the max token limit. There is probably another way around this -- like ofc setting the argument to 8 or 4 or whatever, but I think this might slightly improve the UX for beginners starting with QA RAG and GPT-3.5-Turbo / ~4K input length LLMs.

@insop
Copy link
Contributor

insop commented Feb 16, 2024

Sounds sensible to me.

... like ofc...

What is ofc?

@CShorten
Copy link
Collaborator Author

Of course haha, probably a useless abbreviation 😆

@okhat
Copy link
Collaborator

okhat commented Feb 17, 2024

Hey @CShorten , I agree with this! But it will affect a lot of existing runs so it's a bit of a silent breaking change...

Maybe we should keep this and other related things in place for one big breaking release?

@CShorten CShorten closed this Feb 19, 2024
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.

3 participants