In almost all of the applications that we have been discussing up to now, the implicit assumption has been that you are creating a new machine learning NLP pipeline. Now, that may not always be the case. If you are already working on an established platform, fastText may also be a good addition to make the pipeline better.
This chapter will give you some of the methods and recipes for implementing fastText using popular frameworks such as scikit-learn, Keras, TensorFlow, and PyTorch. We will look at how we can augment the power of word embeddings in fastText, using other deep neural architectures such as convolutional neural networks (CNN) or attention networks to solve various NLP problems.
The topics covered in this chapter are as follows:
- Scikit-learn and fastText
- Embeddings
- Keras
- Embeddings layer in Keras
- Convolutional neural network...