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

feat request: Batch inference with outlines applying the same regex #1234

Open
alonsosilvaallende opened this issue Oct 29, 2024 · 0 comments

Comments

@alonsosilvaallende
Copy link
Contributor

I'm trying to make batch inference with outlines when I'm applying the same regex to a whole dataset.
I noticed the following comment in the logits processor:

Important to keep in mind when designing universal logits processors
- logits processors are only used once and never re-applied for a new sequence generator

Why is it the case? Is it some hard constraint or can it be relaxed when applying the same regex?

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

1 participant