Skip to content

Support loading safetensors format #43

@gals

Description

@gals

By default classifiers look for pytorch_model.bin, which doesn't exist in newer versions of transformers:

pytorch_model.bin: no such file or directory

The trained model is stored using https://huggingface.co/docs/safetensors/en/index.
For example, see huggingface/transformers#28863.

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