OSError: RaphaelMourad/Mistral-chem-v0.1 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'

#1
by 8497prashant - opened

/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:88: UserWarning:
The secret HF_TOKEN does not exist in your Colab secrets.
To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.
You will be able to reuse this secret in all of your notebooks.
Please note that authentication is recommended but still optional to access public models or datasets.
warnings.warn(

HTTPError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py in hf_raise_for_status(response, endpoint_name)
285 try:
--> 286 response.raise_for_status()
287 except HTTPError as e:

13 frames
HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/RaphaelMourad/Mistral-chem-v0.1/resolve/main/tokenizer_config.json

The above exception was the direct cause of the following exception:

RepositoryNotFoundError Traceback (most recent call last)
RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-65e60b87-400d3bb0484cacda75639d19;831c2ae9-9eab-4b85-854c-dcfc7f0a08df)

Repository Not Found for url: https://huggingface.co/RaphaelMourad/Mistral-chem-v0.1/resolve/main/tokenizer_config.json.
Please make sure you specified the correct repo_id and repo_type.
If you are trying to access a private or gated repo, make sure you are authenticated.
Invalid username or password.

The above exception was the direct cause of the following exception:

OSError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/transformers/utils/hub.py in cached_file(path_or_repo_id, filename, cache_dir, force_download, resume_download, proxies, token, revision, local_files_only, subfolder, repo_type, user_agent, _raise_exceptions_for_gated_repo, _raise_exceptions_for_missing_entries, _raise_exceptions_for_connection_errors, _commit_hash, **deprecated_kwargs)
419 ) from e
420 except RepositoryNotFoundError as e:
--> 421 raise EnvironmentError(
422 f"{path_or_repo_id} is not a local folder and is not a valid model identifier "
423 "listed on 'https://huggingface.co/models'\nIf this is a private repository, make sure to pass a token "

OSError: RaphaelMourad/Mistral-chem-v0.1 is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models'
If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>

Sign up or log in to comment