bitsandbytes icon indicating copy to clipboard operation
bitsandbytes copied to clipboard

help!OSError: Can't load tokenizer for 'decapoda-research/llama-2-7b-hf'.

Open liujing0922 opened this issue 3 years ago • 4 comments

===================================BUG REPORT=================================== Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues

binary_path: C:\Users\test1.conda\envs\bllama\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll CUDA SETUP: Loading binary C:\Users\test1.conda\envs\bllama\lib\site-packages\bitsandbytes\cuda_setup\libbitsandbytes_cuda116.dll... cuda traceback (most recent call last): File "D:\lj\BLLAMA-main\generate.py", line 11, in tokenizer = LlamaTokenizer.from_pretrained("decapoda-research/llama-2-7b-hf") File "C:\Users\test1.conda\envs\bllama\lib\site-packages\transformers\tokenization_utils_base.py", line 2012, in from_pretrained raise EnvironmentError( OSError: Can't load tokenizer for 'decapoda-research/llama-2-7b-hf'. 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 'decapoda-research/llama-2-7b-hf' is the correct path to a directory containing all relevant files for a LlamaTokenizer tokenizer.

liujing0922 avatar Nov 17 '23 14:11 liujing0922

This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

github-actions[bot] avatar Dec 20 '23 15:12 github-actions[bot]

I have encountered this issue, too. Have you solved the problem?

bbbbbrown avatar Aug 30 '24 01:08 bbbbbrown

I have encountered this issue, too. Have you solved the problem?

Audioanxet avatar Sep 08 '24 15:09 Audioanxet

I have encountered this issue, too. Have you solved the problem?

May be the network.

bbbbbrown avatar Sep 10 '24 07:09 bbbbbrown