Closed j-chim closed 2 years ago
Currently the library requires Python >= 3.9 due to using functools.cached_property and dict union. This creates a problem for users who can't easily change versions/environments (eg Colab/Kaggle).
(also see: https://github.com/GEM-benchmark/GEM-metrics/issues/61)
This PR makes the library backwards compatible and has been tested on 3.7.
Looks good to me. @sebastianGehrmann OK to merge?
Yep looks good!
Currently the library requires Python >= 3.9 due to using functools.cached_property and dict union. This creates a problem for users who can't easily change versions/environments (eg Colab/Kaggle).
(also see: https://github.com/GEM-benchmark/GEM-metrics/issues/61)
This PR makes the library backwards compatible and has been tested on 3.7.