i try to use the release-1.0, i run the ML1M_random.sh file in the git bash and the git bash displays the following information
我尝试使用 release-1.0 分支,运行 ML1M_random.sh 时,git bash中显示了一下信息
...
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\huggingface_hub\file_download.py", line 1349, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\Github\code_reproduction\OpenP5-old_version\src\main.py", line 233, in <module>
single_main()
File "E:\Github\code_reproduction\OpenP5-old_version\src\main.py", line 92, in single_main
tokenizer = AutoTokenizer.from_pretrained(args.backbone)
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\transformers\models\auto\tokenization_auto.py", line 613, in from_pretrained
config = AutoConfig.from_pretrained(
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\transformers\models\auto\configuration_auto.py", line 852, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\transformers\configuration_utils.py", line 565, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\transformers\configuration_utils.py", line 620, in _get_config_dict
resolved_config_file = cached_file(
File "E:\Programs\Anaconda3\envs\openp5\lib\site-packages\transformers\utils\hub.py", line 443, in cached_file
raise EnvironmentError(
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like t5-small is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
I couldn't find a solution online. how should I solve this problem?
我在网上没能找到解决的方法,我应该如何解决这个问题?使得程序能运行?
i try to use the release-1.0, i run the
ML1M_random.sh
file in the git bash and the git bash displays the following information 我尝试使用 release-1.0 分支,运行ML1M_random.sh
时,git bash中显示了一下信息I couldn't find a solution online. how should I solve this problem? 我在网上没能找到解决的方法,我应该如何解决这个问题?使得程序能运行?