FastChat icon indicating copy to clipboard operation
FastChat copied to clipboard

Repository Not Found for url: https://huggingface.co/base/resolve/main/config.json.

Open ShoubhikBanerjee opened this issue 2 years ago • 3 comments

I tried installing the package as mentioned here : https://github.com/lm-sys/FastChat#method-1-with-pip.

Hence executed :

  1. pip3 install fschat
  2. pip3 install git+https://github.com/huggingface/transformers
  3. python3 -m fastchat.model.apply_delta \ --base /my_path_base \ --target /my_path_target \ --delta lmsys/vicuna-13b-delta-v1.1

Then it gave me the following error :

File "/usr/local/lib/python3.9/dist-packages/huggingface_hub/utils/_errors.py", line 291, in hf_raise_for_status raise RepositoryNotFoundError(message, response) from e huggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-643bcae7-0faa04742f2b1267763b975f)

Repository Not Found for url: https://huggingface.co/base/resolve/main/config.json. Please make sure you specified the correct "repo_id" and "repo_type". If you are trying to access a private or gated repo, make sure you are authenticated. Invalid username or password.

Can you please help me with this?

Thank you.

ShoubhikBanerjee avatar Apr 16 '23 10:04 ShoubhikBanerjee

model is not in hf fomat

Ejafa avatar Apr 16 '23 11:04 Ejafa

Okay @Ejafa , so is there anything I could do to solve it my self ? Am I doing anything wrong ?

ShoubhikBanerjee avatar Apr 16 '23 12:04 ShoubhikBanerjee

Hi @Ejafa, is there any update on it? Are you going to tag this Issue with some batch?

ShoubhikBanerjee avatar May 07 '23 04:05 ShoubhikBanerjee

@ShoubhikBanerjee Please follow the instructions step-by-step to get llama weights, then vicuna weights, and then run apply_delta.

zhisbug avatar May 08 '23 08:05 zhisbug

refer to this page how to get the llama weights. https://huggingface.co/docs/transformers/main/model_doc/llama

zhisbug avatar May 08 '23 08:05 zhisbug