Spaces:
Sleeping
Sleeping
DoctorSlimm
commited on
Commit
•
4b29cfb
1
Parent(s):
707c9e4
save
Browse files- kaushiks_criteria.py +1 -1
kaushiks_criteria.py
CHANGED
@@ -150,7 +150,7 @@ class kaushiks_criteria(evaluate.Metric):
|
|
150 |
:param references:
|
151 |
:return:
|
152 |
"""
|
153 |
-
from datasets import Dataset
|
154 |
|
155 |
pred_ds = Dataset.from_dict({'text': predictions})
|
156 |
refs_ds = Dataset.from_dict({'text': references})
|
|
|
150 |
:param references:
|
151 |
:return:
|
152 |
"""
|
153 |
+
from datasets import Dataset, DatasetDict
|
154 |
|
155 |
pred_ds = Dataset.from_dict({'text': predictions})
|
156 |
refs_ds = Dataset.from_dict({'text': references})
|