[seq2seq] distillation.py accepts trainer arguments (#5865)

This commit is contained in:
Sam Shleifer
2020-07-18 07:43:57 -04:00
committed by GitHub
parent ba2400189b
commit dad5e12e54
2 changed files with 2 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ If 'translation' is in your task name, the computed metric will be BLEU. Otherwi
For t5, you need to specify --task translation_{src}_to_{tgt} as follows:
```bash
export DATA_DIR=wmt_en_ro
python run_eval.py t5_base \
python run_eval.py t5-base \
$DATA_DIR/val.source t5_val_generations.txt \
--reference_path $DATA_DIR/val.target \
--score_path enro_bleu.json \