Descriptions

Ref:

Google Colab

Load the libraries

Load the data

Train Validation split using ktrain

Train Validation split using sklearn

Official tutorial: https://nbviewer.jupyter.org/github/amaiya/ktrain/blob/master/tutorials/tutorial-A3-hugging_face_transformers.ipynb

Text Modelling: ktrain and bert

name is one of:

'fasttext' 'nbsvm' 'logreg'  'bigru'  'bert' 'distilbert'

Model Prediction on Test data using ktrain