John Snow Labs NLU 1.0.3 trainable models, offline mode, sentence similarity
1.0.3 Release Notes
We are happy to announce NLU 1.0.3 has been released and comes with a lot new features, training classifiers, saving them and loading them offline, enabling running NLU with no internet connection, new notebooks and articles!
NLU 1.0.3 New Features
- Train a Deep Learning classifier in 1 line! The popular ClassifierDL
which can achieve state of the art results on any multi class text classification problem is now trainable!
All it takes is just nlu.load('train.classifier).fit(dataset) . Your dataset can be a Pandas/Spark/Modin/Ray/Dask dataframe and needs to have a column named 'text" for text data and a column named 'y' for labels - Saving pipelines to HDD is now possible with nlu.save(path)
- Loading pipelines from disk now possible with nlu.load(path=path).
- NLU offline mode: Loading from disk makes running NLU offline now possible, since you can load pipelines/models from your local hard drive instead of John Snow Labs AWS servers.
NLU 1.0.3 New Notebooks and Tutorials
- New colab notebook showcasing NLU training, saving and loading from disk
- Sentence Similarity with BERT, Electra and Universal Sentence Encoder colab notebook
- Sentence Detector Notebook Updated
- New Workshop video
- Sentence Similarity Tutorial on Medium with BERT, ELECTRA and Universal Sentence Encoder Embeddings
NLU 1.0.3 Bug fixes
- Sentence Detector bugfix