Skip to content

Scalable-NYU/Text-Classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Classification on Tensorflow

Train:

  • Revise data_helpers.py
  • Revise train.py Data Loading params.
python train.py

Evaluataion:

Set input_data_file inside eval_server.py

Download the most recent trained model from:
https://drive.google.com/open?id=1RF9yPJF_6WyPM1uiFAQxswaUobONHXq3

python eval_server.py --checkpoint_dir="./runs/1525708583/checkpoints/" --input_data_file="./data/four_class/class_fou.test"

Class index and label:

3, World
2, Sports
1, Business
0, Sci/Tech

Reference:

Further Work:

About

Generic Text Classifier for Social Media Text

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages