Skip to content

FileNotFoundError: unsloth/meta-llama-3.1-8b-instruct-unsloth-bnb-4bit/*.json (repository not found) #1892

Closed

Description

@Gabri94x

Hi there, I was checking the notebook about GRPO finetune -> https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Llama3.1_(8B)-GRPO.ipynb.
i just started the runtime sessione and it had trown me an error in the "load up llama 3.1 8B Instruct" step


HTTPError Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/huggingface_hub/utils/_http.py in hf_raise_for_status(response, endpoint_name)
405 try:
--> 406 response.raise_for_status()
407 except HTTPError as e:

11 frames
HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/unsloth/meta-llama-3.1-8b-instruct-unsloth-bnb-4bit

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-67c6eda4-0af4075f36eeed0b0dcc58aa;7a89503b-56ae-4951-a5f6-0e97fa08c959)

Repository Not Found for url: https://huggingface.co/api/models/unsloth/meta-llama-3.1-8b-instruct-unsloth-bnb-4bit.
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 credentials in Authorization header

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

FileNotFoundError Traceback (most recent call last)
/usr/local/lib/python3.11/dist-packages/huggingface_hub/hf_file_system.py in _raise_file_not_found(path, err)
1134 elif isinstance(err, HFValidationError):
1135 msg = f"{path} (invalid repository id)"
-> 1136 raise FileNotFoundError(msg) from err
1137
1138

FileNotFoundError: unsloth/meta-llama-3.1-8b-instruct-unsloth-bnb-4bit/*.json (repository not found)

Activity

  1. danielhanchen commented on Mar 6, 2025

    @danielhanchen
    Member

    Could you try again? Sometimes it happens - if it still doesn't work, could you try another model like "unsloth/Llama-3.2-1B-Instruct"

  2. Gabri94x commented on Mar 6, 2025

    @Gabri94x
    Author

    yeah it works. What a strange behaviour. thanks for you answer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions