Skip to content

Akshay2Agarwal/TextClassification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Classification

This repository allows usage of text classification models as a service(using flask and celery).

Trained on IMDB data

Deep learn model is derived from:

Internally here, sentiment classification model uses Keras deep learn library which is based on tensorflow.

To use the same:

# prerequisites
Rabbitmq
Python 3.5
Flask

# clone the repository
git clone {repo address}

# install Dependent library
cd TextClassification

python3 -m pip install --user virtualenv
python3 -m virtualenv env
source env/bin/activate

pip install -r requirements.txt

# update constants for model
nano deeplearn/constants.py

./venv/bin/python ./deeplearn/att_sentiment_classifier.py

# Run Flask service
./venv/bin/python -m flask run

About

Text Classification models as service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages