nlpyang / BertSum

Code for paper Fine-tune BERT for Extractive Summarization
Apache License 2.0
1.47k stars 423 forks source link

no such file:home/luohm/.pyrouge/settings.ini #93

Open luohm111 opened 4 years ago

luohm111 commented 4 years ago

when i run this command python train.py -mode validate -bert_data_path ../bert_data/cnndm -model_path ../models/bert_classifier -visible_gpus 0 -gpu_ranks 0 -batch_size 30000 -log_file ../logs/cnndm.log -result_path ../results/cnndm -test_all -block_trigram true,it raises th error,but i don't know why, can you help me?

lee2015new commented 4 years ago

before install pyrouge you must install the rouge witch is very difficult to install. so you should pass the param '-report_rouge False' to ignore rouge.

FYYFU commented 3 years ago

when i run this command python train.py -mode validate -bert_data_path ../bert_data/cnndm -model_path ../models/bert_classifier -visible_gpus 0 -gpu_ranks 0 -batch_size 30000 -log_file ../logs/cnndm.log -result_path ../results/cnndm -test_all -block_trigram true,it raises th error,but i don't know why, can you help me?

to install pyrouge in unbuntu. you can follow this page. Link.