AIPHES / emnlp19-moverscore

MoverScore: Text Generation Evaluating with Contextualized Embeddings and Earth Mover Distance
MIT License
192 stars 31 forks source link

bug: old version numpy.float type deprecated for numpy >= 1.24 #27

Open KennyNg-19 opened 9 months ago

KennyNg-19 commented 9 months ago

Context

Changes

Fixes: I replaced all occurrences with python float type as suggested in this answer and tested it with Moverscore -- it works. The numpy new version >= 1.24 should have compatibility for other functions in the older version.