Commit Graph

3 Commits

Author SHA1 Message Date
Giovanni Campagna 02e4d6ddac Prepare for supporting grammar
Use a consistent preprocessing function, provided by the task class,
between server and train/predict, and load the tasks once.
2019-03-19 11:14:32 -07:00
Giovanni Campagna 14caf01e49 server: update to use task classes 2019-03-19 10:58:34 -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