Commit Graph

2 Commits

Author SHA1 Message Date
Giovanni Campagna 5989846771 Make use of task classes
And clean up the metric handling code as well
2019-03-19 10:01:45 -07:00
Giovanni Campagna 92aade6a66 Introduce a registry mechanism and a class hierarchy for tasks
Most tasks can be framed as CQA naturally, with the task specific
code living in the dataset code, but some require extra task-specific
handling (IDs, metrics, tokenization, etc.)

In preparation for having even more task specific handling for Almond,
start cleaning up by creating a class for each task.
2019-03-19 09:15:19 -07:00