mirbostani commited on
Commit
c913770
1 Parent(s): 58fed5a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md CHANGED
@@ -44,3 +44,19 @@ Results:
44
  ```
45
 
46
  To prepare the database, follow the instructions on the [NewsQA](https://github.com/Maluuba/newsqa) repository.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  ```
45
 
46
  To prepare the database, follow the instructions on the [NewsQA](https://github.com/Maluuba/newsqa) repository.
47
+
48
+ Evaluate the finetuned model:
49
+
50
+ ```bash
51
+ python run_newsqa.py \
52
+ --model_type bert \
53
+ --model_name_or_path "./bert_large_uncased_finetuned_newsqa/checkpoint-700000" \
54
+ --do_eval \
55
+ --do_lower_case \
56
+ --per_gpu_eval_batch_size 32 \
57
+ --max_seq_length 384 \
58
+ --max_grad_norm inf \
59
+ --doc_stride 128 \
60
+ --predict_file "~/projects/data/newsqa/combined-newsqa-data-v1.json" \
61
+ --output_dir "./bert_large_uncased_finetuned_newsqa_eval"
62
+ ```