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

Remove approximate guided generation methods for OpenAI APIs #357

Merged
merged 5 commits into from
Nov 13, 2023

Conversation

rlouf
Copy link
Member

@rlouf rlouf commented Nov 12, 2023

The type guided-generation method for the OpenAI API is not correct since we cannot bias more than 300 tokens at every step. It is better to remove these features than misguide users.

Closes #347. Closes #141. Closes #144.

  • Add vectorisation examples in the doc, it's unique afaik
  • Fix issue with event loop that arises in Jupyter notebooks
  • Add guards in Continuation to warn users these models can't be used with guided generation
  • Same interface as transformers

@rlouf rlouf force-pushed the remove-openai-guided branch 3 times, most recently from 2274b28 to 1b36b51 Compare November 13, 2023 11:01
@rlouf rlouf merged commit 587f9ac into outlines-dev:main Nov 13, 2023
5 checks passed
@rlouf rlouf deleted the remove-openai-guided branch November 13, 2023 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant