Implemented custom micro and macro F1 in pl (cpu and gpu) + various TODO
This commit is contained in:
parent
faa387f696
commit
d6eeabe6ab
|
|
@ -11,6 +11,7 @@ from models.helpers import init_embeddings
|
||||||
from util.pl_metrics import CustomF1
|
from util.pl_metrics import CustomF1
|
||||||
from util.evaluation import evaluate
|
from util.evaluation import evaluate
|
||||||
|
|
||||||
|
# TODO: it should also be possible to compute metrics independently for each language!
|
||||||
|
|
||||||
class RecurrentModel(pl.LightningModule):
|
class RecurrentModel(pl.LightningModule):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue