Giter Club home page Giter Club logo

lemmatag's People

Contributors

hyperparticle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lemmatag's Issues

Create script to automatically download Universal Dependencies datasets

A nice convenience would be to automatically download any UD dataset and preprocess it for training. It would be desirable to select a language and dataset_name and navigate to the GitHub repo where it can be downloaded with urllib. This may require some web scraping for finding the GitHub page, and a regex to match train, dev, and test data.

Clarification needed on RNN decoder

I very much enjoyed reading your paper and I am trying similar things for Icelandic PoS and lemmatization.

The performance of my model for lemmatization is not what I would expect. I tried implementing a simlar RNN decoder for lemmatization as you describe in the paper (in PyTorch) but putting the pieces together from the referenced papers (Bahdanau et al., 2014 and Luong et al. 2015) proved to be difficult. Therefore, I turned to the code. Thank you for releasing it!

I am not that used to TensorFlow but from what I understand is that the input to the RNN decoder is the word_rnn_outputs (O^w_i in paper), tag_feats (T_i), word_cle_states and attention over word_cle_outputs (e^c_{i...}). Along with the previous predicted character, which I assume TF handles for you as it is not clear from the code.

There are a few things not clear to me, even from reading the code.

  1. What does word_cle_states stand for? According to the paper it should be e^w_i (summed last state of character RNN to a word embedding) as it is part of the input to the RNN decoder, but from the code it seems that it is simply the last state of the character RNN. Is this correct?
  2. The inital hidden state of the RNN decoder is said to be O^w_i in the paper, but it seems to be also this mysterious word_cle_states. Am I correct in understanding that the inital hidden state of the RNN decoder is last state of the character RNN, which can also make sense.
  3. Is the previous hidden state of the RNN decoder used to calculate the multiplicate attention (called "dot" in Luong et al.) or is the attention done after calculating the next hidden state, and then fed to the to decoder_layer?
  4. Is the output of the RNN decoder simply mapped linearly to a dimension of the correct size to predict characters (decoder_layer)?

I would be very grateful for any answer you have!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.