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

运行demo_cmd.py报错:OSError: Can't load tokenizer for 'D:\AI\lawyer-llama-main\model'. #54

Open
llzzllz opened this issue Jan 9, 2024 · 1 comment

Comments

@llzzllz
Copy link

llzzllz commented Jan 9, 2024

代码位置第31行:tokenizer = LlamaTokenizer.from_pretrained(checkpoint)

报错:OSError: Can't load tokenizer for 'D:\AI\lawyer-llama-main\model'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'D:\AI\lawyer-llama-main\model' is the correct path to a directory containing all relevant files for a LlamaTokenizer tokenizer.

大佬们你们有遇到这个问题吗,是我解码过程有问题吗?求解?

@luciusssss
Copy link
Collaborator

你好,可以试用新版的Lawyer LLaMA 2。新版的模型没有加密。https://github.com/AndrewZhe/lawyer-llama/blob/main/demo/run_inference_v2.md

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

2 participants