Coder Social home page Coder Social logo

context-free-grammar's Introduction

Evaluating the Ability of LSTMs to Learn Context-Free Grammars

We are trying to reproduce the results of the paper 'Evaluating the Ability of LSTMs to Learn Context-Free Grammars' presented at ACL 2018.

Future plan

1. Construct a corpus with the same statistics with that used in the paper.
2. Train a vanilla sequence-to-sequence model to reproduce the behaviour observed in the paper.
3. Extend the result by trying out different models for machine translation.

To-do

  • Modify the distance function
  • Compare performances of various sequence-to-sequence vanilla seq2seq models
  • Compare performances of various sequence-to-sequence attentional models
  • Generate random strings with non-bracket characters such as a,b, and c.
  • Generate random strings with unmatching brackets (e.g. '[[}]', '{]')

Memo

  1. Please check the "Plus_Model/train_units_to_error_rate_and_accuracy.ipynb" file. (written by Hyeontae - 19/01/15)
  2. Unmatching data is not optimized. (written by Hyeontae - 19/02/28)

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.