Closed ilblackdragon closed 8 years ago
Added a simple character language model in #74
Could you please add an RNN/LSTM example for labeling tasks as well? (E.g. sentiment analysis or NER)
Hi Emiel, the sentiment analysis can be done from text_classification examples (sentiment is just a two or five class document classification). NER is more like language model structure. We should add some concrete examples though with datasets though over time. On Feb 14, 2016 7:36 AM, "Emiel van Miltenburg" notifications@github.com wrote:
Any chance of an RNN/LSTM example for labeling tasks as well? (E.g. sentiment analysis http://www.cs.cornell.edu/%7Eoirsoy/files/emnlp14drnt.pdf or NER http://www.aclweb.org/anthology/W03-0426)
— Reply to this email directly or view it on GitHub https://github.com/tensorflow/skflow/issues/64#issuecomment-183906297.
Cool, thanks!
Hi, not a related comment, but how do I go about doing multi label image classification using skflow? Do I do something similar to the multioutput code?
@eldor4do For multi label classification - you can just pass a number of active classes to the model - e.g. y to be a matrix [examples, n_classes]. You just need to decide on your loss in the function, regular Estimators may not work very well as this point.
Closing this issue as language model is in repository in limited capacity.
Add an example of language model (RNN). For example character level on sheikspear book (similar to https://github.com/sherjilozair/char-rnn-tensorflow).