patil-suraj / question_generation

Neural question generation using transformers
MIT License
1.11k stars 348 forks source link

issues about "python eval.py " #83

Closed qjncxj closed 3 years ago

qjncxj commented 3 years ago

When I use the eval.py script for evaluting the model, the following command lines would be modified: python eval.py \ --model_name_or_path t5-base-qg-hl \ --valid_file_path valid_data_qg_hl_t5.pt \ --model_type t5 \ --num_beams 4 \ --max_decoding_length 32 \ --output_path hypothesis_t5-base-qg-hl.txt

I replace the word "base" with "small" twice, then the command lines can run correctly. The following is the modified results: python eval.py \ --model_name_or_path t5-small-qg-hl \ --valid_file_path valid_data_qg_hl_t5.pt \ --model_type t5 \ --num_beams 4 \ --max_decoding_length 32 \ --output_path hypothesis_t5-small-qg-hl.txt