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

I am getting error at "from transformers import AutoTokenizer, AutoConfig, LLaMAForCausalLM, LLaMATokenizer" #6

Open
sungkim11 opened this issue Mar 22, 2023 · 2 comments

Comments

@sungkim11
Copy link

ImportError: cannot import name 'LLaMAForCausalLM' from 'transformers' (/usr/local/lib/python3.9/dist-packages/transformers/init.py)

@Whadup
Copy link

Whadup commented Mar 23, 2023

Yeah, they changed around which letters are capitalized, currently it's LlamaForCausalLM

@stefangrotz
Copy link

stefangrotz commented Mar 24, 2023

This took me a long time, thanks.

Currently its LlamaForCausalLM and LlamaTokenizer

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