awslabs / sockeye

Sequence-to-sequence framework with a focus on Neural Machine Translation based on PyTorch
https://awslabs.github.io/sockeye/
Apache License 2.0
1.21k stars 323 forks source link

`accuracy` metric is no longer supported #1111

Open AmitMY opened 6 months ago

AmitMY commented 6 months ago

Training translation model with VQ outputs, perplexity is not a great fit for dev set evaluation, and bleu or others is also not great. What I really want to use is accuracy - that gets the accuracy for all predicted factors - but even if just the main token, that would be great.

in constants, a metric named accuracy is declared and set up, but it is never reported anywhere.

AssertionError: Early stopping metric accuracy not found in validation metrics.

I would love to see accuracy supported again, and not removed.