Skip to content

Commit

Permalink
Merge pull request #82 from tmu-nlp/ayako
Browse files Browse the repository at this point in the history
Ayako
  • Loading branch information
ayaco0 authored Jul 22, 2022
2 parents a864fd9 + 997025d commit dd73ac8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ayako/chapter10/knock97.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ done
#評価
GPU=$1
for N in `seq 1 2 5` ; do
echo beam=$N >> out/out97/score97.out
echo dropout=0.$N >> out/out97/score97.out
CUDA_VISIBLE_DEVICES=$GPU fairseq-score --sys out/out97/dropout_$N.out --ref data/kftt-data-1.0/data/tok/kyoto-dev.en >> out/out97/score97.out
done
6 changes: 3 additions & 3 deletions ayako/chapter10/out97/score97.out
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
beam=1
droupout=0.1
Namespace(ignore_case=False, order=4, ref='data/kftt-data-1.0/data/tok/kyoto-dev.en', sacrebleu=False, sentence_bleu=False, sys='out/out97/dropout_1.out')
BLEU4 = 6.67, 28.1/9.9/4.1/1.7 (BP=1.000, ratio=1.224, syslen=29743, reflen=24309)
beam=3
dropout=0.3
Namespace(ignore_case=False, order=4, ref='data/kftt-data-1.0/data/tok/kyoto-dev.en', sacrebleu=False, sentence_bleu=False, sys='out/out97/dropout_3.out')
BLEU4 = 2.15, 17.4/3.9/1.0/0.3 (BP=1.000, ratio=1.269, syslen=30856, reflen=24309)
beam=5
dropout=0.5
Namespace(ignore_case=False, order=4, ref='data/kftt-data-1.0/data/tok/kyoto-dev.en', sacrebleu=False, sentence_bleu=False, sys='out/out97/dropout_5.out')
BLEU4 = 1.45, 14.3/2.7/0.6/0.2 (BP=1.000, ratio=1.344, syslen=32670, reflen=24309)

0 comments on commit dd73ac8

Please sign in to comment.