-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add metrics #31
Comments
This is partially done. The basic infrastructure is there, but it seems like metrics are being calculated incorrectly on some iterators. For example, consider this training output:
The
|
Another thing which needs to be done: the metrics should be configurable in the yaml conf files; right now they are hard-coded into the trainer. |
Okay, the first issue (of metrics being incorrectly calculated on non train/val sets) has been solved: I just forgot to compute them 🙄 fixed in 2dccc75. |
Okay, the main issue is solved. Still need to make the metrics configurable in the YAML files. |
Training, evaluation, and testing all require a robust internal metrics framework. This needs to have several components:
Metric
superclass which represents an abstract measurement of model performance on a particular set of data. This should define a template which takes in an(input, target)
pair and returns some numerical representation of how accurate the model is.Metric
superclass and provide specific implementations of model accuracy. Examples might beFullSequenceAccuracy
,TokenAccuracy
,ClauseAccuracy
, and so on.The text was updated successfully, but these errors were encountered: