giga_eval.sh 153 字节
Newer Older
Z
zhanghan17 已提交
1 2 3 4 5 6 7 8
set -x

PRED=$1
PREFIX=$2

python pyrouge_set_rouge_path.py `pwd`/file2rouge/
python gigaword/eval.py --pred ${PRED} \
  --gold ${PREFIX}.tgt.txt --perl