Skip to content

Cannot download DiffuLLama-gsm #15

Description

@iloverdl

Dear Team,
As I try to download the DiffuLLama-gsm model followed by the instruction

from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("llama2-ddm")
model = PeftModel.from_pretrained(base_model, "diffusionfamily/diffullama-gsm")

The error is


HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/llama2-ddm/resolve/main/config.json

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

RepositoryNotFoundError                   Traceback (most recent call last)

OSError: llama2-ddm 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>`

Activity

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