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

Outdated logitsprocessor docs in transformers integration #1114

Open
Dan-wanna-M opened this issue Aug 24, 2024 · 2 comments
Open

Outdated logitsprocessor docs in transformers integration #1114

Dan-wanna-M opened this issue Aug 24, 2024 · 2 comments

Comments

@Dan-wanna-M
Copy link

Dan-wanna-M commented Aug 24, 2024

https://outlines-dev.github.io/outlines/reference/models/transformers/

outlines_tokenizer = outlines.models.TransformerTokenizer(
    transformers.AutoTokenizer.from_pretrained(model_uri)
)

no long works as TransformerTokenizer is not defined in outlines.models.

Outlines version: v0.0.46

Copy link
Member

rlouf commented Aug 27, 2024

Thank you for opening an issue! Feels feel to open a PR 🙂

@cpfiffer
Copy link
Contributor

Looks like it's moved here I think

https://github.com/outlines-dev/outlines/blob/900762b0f240c6220549d7d8594a221e6c9845e8/outlines/models/transformers.py#L64-L82

In which case this should be outlines.models.transformers.

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

3 participants