Giter Club home page Giter Club logo

dependency_parsing_tf's Introduction

dependency_parsing_tf

Tensorflow implementation of "A Fast and Accurate Dependency Parser using Neural Networks" https://cs.stanford.edu/~danqi/papers/emnlp2014.pdf

Tensorboard

tensorboard --logdir=path of model variables' folder

example: tensorboard --logdir=/dependency_parsing_tf/data/params_2017-09-18

Recent changes

  1. transition to tf 1.2
  2. added cube activation function (ref: paper)
  3. trainable word embeddings - initialized with 50d word2vec
  4. l2 loss for regularization (ref: paper)
  5. tensorboard visualization
  6. Dev UAS: 90.03 Test UAS: 90.42
  7. No functionality for LAS currently. it can be done with few changes in feature_extraction.py. I will try to add it.

training (exisiting dataset)

python parser_model.py

For new dataset

  1. Build new vocabulary & embedding matrices -> set "load_existing_dump=False" in parser_model.py. This will overwrite existing "data/dump" directory content
  2. python parser_model.py

training dataset

CONLL format

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.