Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Example of language model #64

Closed
ilblackdragon opened this issue Jan 2, 2016 · 7 comments
Closed

Example of language model #64

ilblackdragon opened this issue Jan 2, 2016 · 7 comments
Assignees
Labels
Milestone

Comments

@ilblackdragon
Copy link
Contributor

Add an example of language model (RNN). For example character level on sheikspear book (similar to https://github.com/sherjilozair/char-rnn-tensorflow).

@ilblackdragon
Copy link
Contributor Author

Added a simple character language model in #74

ilblackdragon added a commit that referenced this issue Feb 10, 2016
Continue working on neural translation model #9. Added language model example #64
@ilblackdragon ilblackdragon modified the milestones: 0.2, 0.1 Feb 14, 2016
@evanmiltenburg
Copy link

Could you please add an RNN/LSTM example for labeling tasks as well? (E.g. sentiment analysis or NER)

@ilblackdragon
Copy link
Contributor Author

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
#64 (comment).

@evanmiltenburg
Copy link

Cool, thanks!

@unography
Copy link

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?

@ilblackdragon
Copy link
Contributor Author

@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.

@ilblackdragon
Copy link
Contributor Author

Closing this issue as language model is in repository in limited capacity.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants