Skip to content

Loading the model from a single *.safetensors file in the root of a repo #2454

Description

@zetyquickly

Hello, I'm scrutinizing the docs and PRs and cannot find an answer.

Is there a way to do from_pretrained on the folder which contains a single *.safetensors file with a json config?

Or it has to be a set of folders containing each part in safetensors format?

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