microsoft / ANCE

A novel embedding training algorithm leveraging ANN search and achieved SOTA retrieval on Trec DL 2019 and OpenQA benchmarks
MIT License
359 stars 49 forks source link

Issue during downloading "roberta-base-config.json" #10

Open AhmedHussKhalifa opened 3 years ago

AhmedHussKhalifa commented 3 years ago

Hey,

I have a problem with running run_warmup.py.

`During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "../drivers/run_warmup.py", line 756, in main() File "../drivers/run_warmup.py", line 732, in main args.train_model_type, args) File "../drivers/run_warmup.py", line 304, in load_stuff cache_dir=args.cache_dir if args.cache_dir else None, File "/scratch/h2amer/ahamsala/torch_DPR/lib/python3.6/site-packages/transformers/configuration_utils.py", line 176, in from_pretrained config_dict, kwargs = cls.get_config_dict(pretrained_model_name_or_path, **kwargs) File "/scratch/h2amer/ahamsala/torch_DPR/lib/python3.6/site-packages/transformers/configuration_utils.py", line 243, in get_config_dict raise EnvironmentError(msg) OSError: Couldn't reach server at 'https://s3.amazonaws.com/models.huggingface.co/bert/roberta-base-config.json' to download pretrained model configuration file.`