This chapter will outline how to train your model and run prediction on new data
In the previous chapter, we learned how to write your own dataset reader and model. In this
chapter, we are going to train the text classification model and make predictions for new inputs.
At this point, there are two ways to proceed: you can write your own script to construct the dataset
reader and model and run the training loop, or you can write a configuration file and use the
allennlp train command. We will show you how to use both ways here.