Is there any example on how can TensorFlow be used for text classification using neural networks?
TensorFlow - Text Classification using Neural Networks
Asked Answered
Sumit asked the question on the Tensorflow github page and was told to come here. github.com/tensorflow/tensorflow/issues/215 –
Eades
I'd like to see an example of this as well. –
Undesigning
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.
Thanks a lot @ilblackdragon. I am able to make use of your example. It will be great help if you can document the rnn_model function. –
Exanimate
@SumitChawla I've added a bunch of comments in the example: github.com/google/skflow/blob/master/examples/… and will try to write a blog post in close future about this types of the models. Let me know if you still have questions though. –
Gowan
How can we test the model. There is save and restore file but one sentence at a time. Any tutorial? Please help. –
Amytal
update to the URL: github.com/tensorflow/tensorflow/blob/master/tensorflow/… –
Orison
It's here now :- github.com/tensorflow/tensorflow/blob/master/tensorflow/… –
Tripper
© 2022 - 2024 — McMap. All rights reserved.