Breaking changes in text! To make the API more consistent with the vision side and make it compatible with the data block API, plus cleaning the code that was a bit too messy, I’ve just merged big changes in NLP. Examples and docs are updated to reflate that. There’s also a working lesson notebook in course-v3 (I’d love to know if it doesn’t work for you).
Please note:
-
RNNLearner.classifieris nowtext_classifier_learner -
RNN_Learner.language_modelis nowlanguage_model_learner. - You need to manually save/load your
TextDataBunch. Doing it automatically was inducing too many subtle bugs. -
TextDataBunch.from_csvnow takes on csv andvalid_pctinstead of two csv
If you’re using the dataset methods, changes are more numerous so you’d better check the docs. And remember to use the data bock API as it’s been designed to make your life easier 