chatdocs icon indicating copy to clipboard operation
chatdocs copied to clipboard

pad_token errors

Open tomgelu opened this issue 2 years ago • 0 comments

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 ?

tomgelu avatar Oct 10 '23 17:10 tomgelu