You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to train a model in an offline environment and encountered an issue. Below are the steps I followed:
I executed the following command:
ilab model train --local --data-path ~/.local/share/instructlab/datasets/knowledge_train_msgs_2024-12-24T17_57_37.jsonl
However, I received the following error message:
...
File "/root/instructlab/venv/lib/python3.11/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 "/root/instructlab/venv/lib/python3.11/site-packages/transformers/configuration_utils.py", line 633, in _get_config_dict
resolved_config_file = cached_file(
^^^^^^^^^^^^
File "/root/instructlab/venv/lib/python3.11/site-packages/transformers/utils/hub.py", line 446, 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 instructlab/granite-7b-lab 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'.
The text was updated successfully, but these errors were encountered:
I am trying to train a model in an offline environment and encountered an issue. Below are the steps I followed:
I executed the following command:
However, I received the following error message:
The text was updated successfully, but these errors were encountered: