How can I train the semantic role labeling model in AllenNLP?
I am aware of the allennlp.training.trainer
function but I don't know how to use it to train the semantic role labeling model.
Let's assume that the training samples are BIO tagged, e.g.:
Remove B_O
the B_ARG1
fish I_ARG1
in B_LOC
the I_LOC
background I_LOC