Spaces:
Running
Running
shounakpaul95
commited on
Commit
•
c82fcd4
1
Parent(s):
cbcf29c
Update eval_utils.py
Browse files- eval_utils.py +1 -1
eval_utils.py
CHANGED
@@ -267,7 +267,7 @@ def evaluate_summ(gold_data, pred_data):
|
|
267 |
|
268 |
|
269 |
def evaluate_lmt(gold_data, pred_data):
|
270 |
-
tokenizer = AutoTokenizer.from_pretrained("ai4bharat/indic-bert")
|
271 |
bleu = BLEU()
|
272 |
chrfp = CHRF(word_order=2)
|
273 |
gleu = evaluate.load("google_bleu")
|
|
|
267 |
|
268 |
|
269 |
def evaluate_lmt(gold_data, pred_data):
|
270 |
+
tokenizer = AutoTokenizer.from_pretrained("ai4bharat/indic-bert", use_fast=False)
|
271 |
bleu = BLEU()
|
272 |
chrfp = CHRF(word_order=2)
|
273 |
gleu = evaluate.load("google_bleu")
|