提示如下:
OSError: D:\ChatGLM2-6B does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\ChatGLM2-6B/None' for available files.
求助大佬怎么解决。
I7 9700 16G内存 4060Ti 16G显存
运行全部信息如下:
D:\ChatGLM2-6B>cd chatglm
D:\ChatGLM2-6B\chatglm>python.exe ../web_demo.py
Traceback (most recent call last):
File "D:\ChatGLM2-6B\web_demo.py", line 5, in <module>
tokenizer = AutoTokenizer.from_pretrained("D:\ChatGLM2-6B", trust_remote_code=True)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\models\auto\tokenization_auto.py", line 658, in from_pretrained
config = AutoConfig.from_pretrained(
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\models\auto\configuration_auto.py", line 944, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\configuration_utils.py", line 574, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\configuration_utils.py", line 629, in _get_config_dict
resolved_config_file = cached_file(
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\utils\hub.py", line 388, in cached_file
raise EnvironmentError(
OSError: D:\ChatGLM2-6B does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\ChatGLM2-6B/None' for available files.
D:\ChatGLM2-6B\chatglm>pause
请按任意键继续. . .
OSError: D:\ChatGLM2-6B does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\ChatGLM2-6B/None' for available files.
求助大佬怎么解决。
I7 9700 16G内存 4060Ti 16G显存
运行全部信息如下:
D:\ChatGLM2-6B>cd chatglm
D:\ChatGLM2-6B\chatglm>python.exe ../web_demo.py
Traceback (most recent call last):
File "D:\ChatGLM2-6B\web_demo.py", line 5, in <module>
tokenizer = AutoTokenizer.from_pretrained("D:\ChatGLM2-6B", trust_remote_code=True)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\models\auto\tokenization_auto.py", line 658, in from_pretrained
config = AutoConfig.from_pretrained(
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\models\auto\configuration_auto.py", line 944, in from_pretrained
config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\configuration_utils.py", line 574, in get_config_dict
config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\configuration_utils.py", line 629, in _get_config_dict
resolved_config_file = cached_file(
File "D:\ChatGLM2-6B\chatglm\lib\site-packages\transformers\utils\hub.py", line 388, in cached_file
raise EnvironmentError(
OSError: D:\ChatGLM2-6B does not appear to have a file named config.json. Checkout 'https://huggingface.co/D:\ChatGLM2-6B/None' for available files.
D:\ChatGLM2-6B\chatglm>pause
请按任意键继续. . .