Skip to content

run_classifier.py: error: unrecognized arguments: --load_model #56

@Joerg99

Description

@Joerg99

I'd like to classify my data with a pretrained model.
I followed the instructions on the readme page and tried to run one of these commands:
python3 run_classifier.py --load_model ama_sst.pt # classify Binary SST
python3 run_classifier.py --load_model ama_sst_16.pt --fp16 # run classification in fp16
python3 run_classifier.py --load_model ama_sst.pt --text-key --data <path.csv> # classify your own dataset
But it caused this error: run_classifier.py: error: unrecognized arguments: --load_model

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