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

Set-up comparisons with outlines #8

Open
timvieira opened this issue Jun 17, 2024 · 3 comments
Open

Set-up comparisons with outlines #8

timvieira opened this issue Jun 17, 2024 · 3 comments
Assignees

Comments

@timvieira
Copy link
Collaborator

timvieira commented Jun 17, 2024

https://github.com/outlines-dev/outlines

@timvieira timvieira changed the title Set-up comparisons with outlines and transformers_cfg Set-up comparisons with outlines Jun 17, 2024
@timvieira timvieira assigned timvieira and benlipkin and unassigned timvieira Jun 17, 2024
@timvieira
Copy link
Collaborator Author

@benlipkin any thoughts on this?

@benlipkin
Copy link
Collaborator

I can add this in whenever we have a clear eval we want to run. It's only an import and a few lines of code and they already accept inputs in lark format. In addition, I took a look at this recently, and there have actually been a few new bugs added since I implemented this originally, so I know where the edge cases are and what types of grammars the samples will be especially poor on (as well as some new completeness edge cases that have now been introduced).

@timvieira
Copy link
Collaborator Author

One option would be to integrate it into the library as a drop-in replacement to our guided generation strategies. That doesn't require a specific benchmark; it just requires making them have a common interface. It might have the side benefit of enabling outlines-SMC.

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

No branches or pull requests

2 participants