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

pad_token errors #86

Open
tomgelu opened this issue Oct 10, 2023 · 0 comments
Open

pad_token errors #86

tomgelu opened this issue Oct 10, 2023 · 0 comments

Comments

@tomgelu
Copy link

tomgelu commented Oct 10, 2023

Trying to run chatdocs on windows, with gpu, model mistralai/Mistral-7B-Instruct-v0.1 but same error on default models..

ValueError: Pipeline with tokenizer without pad_token cannot do batching. You can try to set it with pipe.tokenizer.pad_token_id = model.config.eos_token_id.

Anyone can help ?

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