https://github.com/bryanlimy/dnn-dependency-parser
TensorFlow implementation of A Fast and Accurate Dependency Parser using Neural Networks
https://github.com/bryanlimy/dnn-dependency-parser
dependency-parser mlp neural-network nlp tensorflow
Last synced: about 2 months ago
JSON representation
TensorFlow implementation of A Fast and Accurate Dependency Parser using Neural Networks
- Host: GitHub
- URL: https://github.com/bryanlimy/dnn-dependency-parser
- Owner: bryanlimy
- Created: 2018-04-14T18:38:26.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-21T14:39:58.000Z (over 5 years ago)
- Last Synced: 2025-03-31T01:51:18.631Z (3 months ago)
- Topics: dependency-parser, mlp, neural-network, nlp, tensorflow
- Language: Python
- Homepage:
- Size: 9.76 MB
- Stars: 16
- Watchers: 1
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Neural Dependency Parser
A Neural Dependency Parser using TensorFlow based on [A Fast and Accurate Dependency Parser using Neural Networks](https://nlp.stanford.edu/pubs/emnlp2014-depparser.pdf).#### How to run
```
python3 model.py --optimizer=adam --lr=0.001 --activation=relu --hidden=4 --hidden_size=500 -l2_beta=10e-8
```#### Hyper-parameters Options
- learning rate `--lr`
- number of hidden layers `--hidden`
- hidden layer size `--hidden_size`
- number of epochs `--epochs`
- l2 regularization beta `-l2_beta`
- activation `--activation` can be `relu` or `cube`
- optimizer `--optimizer`, can be `adam` or `adagrad`#### Result
|| Original Result | Adam ReLU 4 layers |
|---|---|---|
|LAS| 90.7 | 90.1 |
|UAS| 92.0 | 91.3 |