Binary LSTM model for text classification

Text Classification

The purpose of this repository is to create a neural network model of NLP with deep learning for binary classification of texts related to the Ministry of Emergency Situations.

Components of the model

The block contains the structure of the project, as well as a brief excerpt from the files, a more detailed description is located inside each module.

Description_LSTM

model_predict.py – The module is designed to predict the topic of the text, whether the text belongs to the structure of the Ministry of Emergency Situations or not.

model_train.py – The module is designed to connect all the modules of the package and start training the neural network. Contains 5 functions that access certain modules. The output is the coefficients (weights) of

 

 

 

To finish reading, please visit source site