Closed puraminy closed 2 years ago
Hi,
Did you build dependencies as shown in here? It seems a problem caused by huggingface-datasets version.
Hope these information helpful!
Thanks!
Yes, you didn't specify any version for datasets
in the yaml file. Mine is 1.11.0
. The bert-score version you specified is 0.3.10
however.
Which version should be used for the datasets?
Oh I see the problem.
Actually we didn't specify the version in yaml file because we want to avoid conflict during conda env create -f py3.7pytorch1.8.yaml
(there are so many metrics, datasets and reliance...), and after that command is finished, you need to run pip install datasets==1.14.0
specially to install the datasets v 1.14.0
as we used.
Please try that and see if it can solve your problem.
Thanks!
Thanks, before reading your comment I tried datasets 1.18.3
and the problem was resolved, I will try the version you said
Okay, feel free to re-open this if you encounter further problem in the future.
I generated some predictions for
fetaqa
task. Then I tried to run its evaluator on the output results (predictions_predict.json). I get the following error for bertscore metric.There could be a mismatch between datasets metrics and bertscore, however I tried to install the versions in yaml.