Skip to content

KiroSummer/Syntax-aware-Neural-SRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Syntax-aware Neural Semantic Role Labeling

This repository contains codes and configs for training models presented in : Syntax-aware Neural Semantic Role Labeling

We use the deep srl as our basic model. Deep Semantic Role Labeling. And, to use our code, you should install pytorch >= 0.4.0.

Train

To train our syntax-aware neural models, you should set the train.sh and config.json. Then, run

nohup ./train.sh 0 > log.txt 2>&1 &

where 0 is the GPU id. We also give an corresponding example in ./Syntax-aware-DeepSRL-w-ELMo/exp-Tree-GRU-w-ELMo/

Test

For test, you should run the predict.sh presentated in the exp-Tree-GRU-w-ELMo/ dir.

./predict.sh 0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published