how to load model from local disk

#1
by yumoqing - opened

after script run completed, the model files was downloaded and stored under ~/.cache/fairseq, My question is how to Only use the local stored model files, and not access from hf website when user run the script again ? if have to acccess the hf website, how to set a socks5 proxy for the

load_model_ensemble_and_task_from_hf_hub() 

Sign up or log in to comment