Skip to content

Latest commit

 

History

History
62 lines (57 loc) · 3.29 KB

README.md

File metadata and controls

62 lines (57 loc) · 3.29 KB

TextClassifierModels

Repository containing the code to develop a Neural based text classifier.

Models

In the repository there are various models implemented for text classification. In order to access a ready-to-explore version one can have a look at the notebooks provided. Models are quite heavy and memory consuming, so it is really advised to use a GPU machine to run their training tasks.

Available models

Model Demo Details CLI Accuracy score on AG news dataset
CNN TextClassifier
Open In Colab Classify texts with labels from the AG news database making use of a convolutional neural network. python3 -m train -c config.yaml 90.71
webApp
source
BERT TextClassifier
Open In Colab Classify texts with labels from the AG news database making use of an attention model, based on BERT. python3 -m train -c config.yaml 93.95
webApp
source