njallskarp / finetune-qa-powerset

Finetuning BERT models on a powerset of different linguistic domains
https://lvl.ru.is/
5 stars 0 forks source link

Fix/metrics #21

Closed lsig closed 1 year ago

lsig commented 1 year ago

Extracted type definition

In this pull request I extracted the type definition of MetricsDict from metrics.py to types/declarations. Also I renamed the type to Metrics to be consistent with the other declarations.

How to test

Linting with ruff No unit tests