Open crazylazylife opened 4 years ago
try using --load
instead of --load_model
.
usage: run_classifier.py [-h] [--model MODEL] [--lr LR]
[--constant-decay CONSTANT_DECAY] [--clip CLIP]
[--epochs EPOCHS] [--tied] [--seed SEED]
[--log-interval N] [--save SAVE] [--load LOAD]
@krishh-konar I have tried to run_classifier on semeval data for prediction. I have used --data, --load, --text-key and --write-results as the arguments in the command line for running the run_classifier.py It is showing me /bin/bash: line 113 segmentation fault (core dumped) Can you please provide the command line in detail?
I downloaded the sst_clf_16.pt file to perform classification from a csv file. Thw code I wrote:
python run_classifier.py --load_model sst_clf_16.pt --fp16 --data upload_processed_tweet.csv --text-key text --write-results output.csv
The error I got was that the --load_model is an "unrecognized argument":
run_classifier.py: error: unrecognized arguments: --load_model sst_clf_16.pt