diff options
Diffstat (limited to 'training/dtrain')
-rw-r--r-- | training/dtrain/score.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/training/dtrain/score.h b/training/dtrain/score.h index 06dbc5a4..b0b73e94 100644 --- a/training/dtrain/score.h +++ b/training/dtrain/score.h @@ -189,7 +189,8 @@ struct PerSentenceBleuScorer / ((counts.sum_[i] + add))); } - return BrevityPenalty(hl, rl+1) * exp(sum); + //return BrevityPenalty(hl, rl+1) * exp(sum); + return BrevityPenalty(hl, rl) * exp(sum); } }; |