A Neural Dependency Parser using TensorFlow based on A Fast and Accurate Dependency Parser using Neural Networks.
python3 model.py --optimizer=adam --lr=0.001 --activation=relu --hidden=4 --hidden_size=500 -l2_beta=10e-8
- 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 berelu
orcube
- optimizer
--optimizer
, can beadam
oradagrad
Original Result | Adam ReLU 4 layers | |
---|---|---|
LAS | 90.7 | 90.1 |
UAS | 92.0 | 91.3 |