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

Add input token constraints on output for integrity check #846

Open
jqueguiner opened this issue Apr 29, 2024 · 0 comments
Open

Add input token constraints on output for integrity check #846

jqueguiner opened this issue Apr 29, 2024 · 0 comments

Comments

@jqueguiner
Copy link
Contributor

Presentation of the new feature

In some cases especially on the NER use case it would be necessary to
Have for some fields an integrity flag to force
The generation to be picking the tokens among the input tokens only.

Where does it fit in Outlines?

Big use case for NER, avoid hallucinations and ensure integrity.

Are you willing to open a PR?

No

Thanks for contributing!

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

No branches or pull requests

2 participants