Reputation: 399
Is there any example on how can TensorFlow be used for text classification using neural networks?
Upvotes: 8
Views: 13222
Reputation: 1835
I've started putting together a set of examples for text classification on DBPedia dataset (predicting class of object from its description) as part of examples for Scikit Flow: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/learn/text_classification.py
Going to expand this example and write a blog post when will have enough different models showcased. Feel free to suggest other datasets and models you would be interested to see.
Upvotes: 4
Reputation: 1633
Denny Britz has some great tutorials for Deep learning on his blog at here
and has an example on github here
Some of his examples don't use tensor flow but the one I linked to github uses CNN for text classification using tensor flow
Upvotes: 3