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

ValueError: Tokenizer class LlamaTokenizer does not exist or is not currently imported. #16

Open
dermoritz opened this issue May 26, 2023 · 0 comments

Comments

@dermoritz
Copy link

if i try to add models from hugging face via ui settings like "TheBloke/Wizard-Vicuna-7B-Uncensored-HF" or "ehartford/Wizard-Vicuna-7B-Uncensored"

(i also tried others)

i get this error:

Arguments: ('task(u21crq97y5fd7ci)', 'TheBloke/Wizard-Vicuna-7B-Uncensored-HF', 1, 10, 'fish & chips', 20, 150, 1, 1, 1, 1, 'Top K', 12, 0.15) {}
Traceback (most recent call last):
  File "D:\stableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 57, in f
    res = list(func(*args, **kwargs))
  File "D:\stableDiffusion\stable-diffusion-webui\modules\call_queue.py", line 37, in f
    res = func(*args, **kwargs)
  File "D:\stableDiffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-promptgen\scripts\promptgen.py", line 98, in generate
    current.tokenizer = transformers.AutoTokenizer.from_pretrained(path)
  File "D:\stableDiffusion\stable-diffusion-webui\venv\lib\site-packages\transformers\models\auto\tokenization_auto.py", line 638, in from_pretrained
    raise ValueError(
ValueError: Tokenizer class LlamaTokenizer does not exist or is not currently imported.

i also tried to "pip install git+https://github.com/huggingface/transformers" from here but it didn't helped.

any suggestions or tips?

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