From e2197e83b06ef555e2eedf9fca0f84a796cd23b7 Mon Sep 17 00:00:00 2001 From: Baek JeongHun Date: Tue, 25 Feb 2020 11:07:49 +0000 Subject: [PATCH] eval with alphanumeric and case sensitive setting --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.py b/test.py index 88b04cf..8786750 100755 --- a/test.py +++ b/test.py @@ -134,7 +134,7 @@ def validation(model, criterion, evaluation_loader, converter, opt): pred = pred[:pred_EOS] # prune after "end of sentence" token ([s]) pred_max_prob = pred_max_prob[:pred_EOS] - # To evaluate the model with 'alphanumeric and case insensitve setting' + # To evaluate 'case sensitive model' with alphanumeric and case insensitve setting. if opt.sensitive and opt.data_filtering_off: pred = pred.lower() gt = gt.lower()