tokenizer_config.json and config_json files

#8
by nicoleds - opened

Hi, why does it try to get the tokenizer_config.json and config_json files from huggingface every time I load the model using the code below? :

from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("TheBloke/vicuna-13B-1.1-HF")
model = AutoModelForCausalLM.from_pretrained("TheBloke/vicuna-1HF")

Getting this error:
'HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /TheBloke/vicuna-13B-1.1-HF/resolve/main/tokenizer_config.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fff1b75e4a0>, 'Connection to huggingface.co timed out. (connect timeout=10)'))' thrown while requesting HEAD https://huggingface.co/TheBloke/vicuna-13B-1.1-HF/resolve/main/tokenizer_config.json
tokenizer completed
'HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /TheBloke/vicuna-13B-1.1-HF/resolve/main/config.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSC

I have the blobs/refs/snapshots folder saved in my local when running the code above

Sign up or log in to comment