This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
Getting error for model when using vicuna model #152
Labels
question
Further information is requested
2023-04-18 17:03:51 Traceback (most recent call last):
2023-04-18 17:03:51 File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2023-04-18 17:03:51 return _run_code(code, main_globals, None,
2023-04-18 17:03:51 File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
2023-04-18 17:03:51 exec(code, run_globals)
2023-04-18 17:03:51 File "/app/basaran/main.py", line 38, in
2023-04-18 17:03:51 stream_model = load_model(
2023-04-18 17:03:51 File "/app/basaran/model.py", line 318, in load_model
2023-04-18 17:03:51 tokenizer = AutoTokenizer.from_pretrained(name_or_path, **kwargs)
2023-04-18 17:03:51 File "/usr/local/lib/python3.8/dist-packages/transformers/models/auto/tokenization_auto.py", line 657, in from_pretrained
2023-04-18 17:03:51 config = AutoConfig.from_pretrained(
2023-04-18 17:03:51 File "/usr/local/lib/python3.8/dist-packages/transformers/models/auto/configuration_auto.py", line 916, in from_pretrained
2023-04-18 17:03:51 config_dict, unused_kwargs = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
2023-04-18 17:03:51 File "/usr/local/lib/python3.8/dist-packages/transformers/configuration_utils.py", line 573, in get_config_dict
2023-04-18 17:03:51 config_dict, kwargs = cls._get_config_dict(pretrained_model_name_or_path, **kwargs)
2023-04-18 17:03:51 File "/usr/local/lib/python3.8/dist-packages/transformers/configuration_utils.py", line 628, in _get_config_dict
2023-04-18 17:03:51 resolved_config_file = cached_file(
2023-04-18 17:03:51 File "/usr/local/lib/python3.8/dist-packages/transformers/utils/hub.py", line 380, in cached_file
2023-04-18 17:03:51 raise EnvironmentError(
2023-04-18 17:03:51 OSError: /models/vicuna does not appear to have a file named config.json. Checkout 'https://huggingface.co//models/vicuna/None' for available files.
Maybe the documentation can improve on running a custom model. It is pretty vague right now.
The text was updated successfully, but these errors were encountered: