All Projects → sanjaymeena → semantic_role_labeling_deep_learning

sanjaymeena / semantic_role_labeling_deep_learning

Licence: MIT license
SRL deep learning model is based on DB-LSTM which is described in this paper : [End-to-end learning of semantic role labeling using recurrent neural networks](http://www.aclweb.org/anthology/P15-1109)

Programming Languages

python
139335 projects - #7 most used programming language
perl
6916 projects
shell
77523 projects

Projects that are alternatives of or similar to semantic role labeling deep learning

Dataset loaders
A collection of dataset loaders
Stars: ✭ 187 (+835%)
Mutual labels:  semantic
JMantic
Java library for connecting to sc-machine
Stars: ✭ 14 (-30%)
Mutual labels:  semantic
c-compiler-frontend
💻NUAA 2017 编译原理 - C(缩减)语言编译器前端 - Python
Stars: ✭ 44 (+120%)
Mutual labels:  semantic
Scoper
Fuzzy and semantic search for captioned YouTube videos.
Stars: ✭ 225 (+1025%)
Mutual labels:  semantic
Emotion-Cause-Analysis-Papers
Collection of papers on Emotion Cause Analysis
Stars: ✭ 63 (+215%)
Mutual labels:  semantic-role-labeling
pyhaystack
Pyhaystack is a module that allow python programs to connect to a haystack server project-haystack.org. Connection can be established with Niagara Platform running the nhaystack, Skyspark and Widesky. For this to work with Anaconda IPython Notebook in Windows, be sure to use "python setup.py install" using the Anaconda Command Prompt in Windows.…
Stars: ✭ 57 (+185%)
Mutual labels:  semantic
Recent slam research
Track Advancement of SLAM 跟踪SLAM前沿动态【2021 version】
Stars: ✭ 2,387 (+11835%)
Mutual labels:  semantic
react-semantic-render
Semantic helper components for rendering content with React.
Stars: ✭ 13 (-35%)
Mutual labels:  semantic
OLGA
an Ontology SDK
Stars: ✭ 36 (+80%)
Mutual labels:  semantic
react-semantic-redux-form
Semantic-ui-react components integration with Redux form
Stars: ✭ 57 (+185%)
Mutual labels:  semantic
Tagsistant
Semantic filesystem for Linux, with relation reasoner, autotagging plugins and a deduplication service
Stars: ✭ 244 (+1120%)
Mutual labels:  semantic
SRB
Code for "Improving Semantic Relevance for Sequence-to-Sequence Learning of Chinese Social Media Text Summarization"
Stars: ✭ 41 (+105%)
Mutual labels:  semantic
event-embedding-multitask
*SEM 2018: Learning Distributed Event Representations with a Multi-Task Approach
Stars: ✭ 22 (+10%)
Mutual labels:  semantic-role-labeling
Fomantic Ui
Fomantic-UI is a community fork of Semantic-UI
Stars: ✭ 2,755 (+13675%)
Mutual labels:  semantic
rgbd scribble benchmark
RGB-D Scribble-based Segmentation Benchmark
Stars: ✭ 24 (+20%)
Mutual labels:  semantic
Xdxf makedict
XDXF — a dictionary format, that stores word definitions that are free from representation
Stars: ✭ 177 (+785%)
Mutual labels:  semantic
opentrack-cg
Repository for OpenTrack Community Group
Stars: ✭ 21 (+5%)
Mutual labels:  semantic
sequence labeling tf
Sequence Labeling in Tensorflow
Stars: ✭ 18 (-10%)
Mutual labels:  semantic-role-labeling
embedding evaluation
Evaluate your word embeddings
Stars: ✭ 32 (+60%)
Mutual labels:  semantic
v-semantic
Semantic-ui2 + vue2
Stars: ✭ 23 (+15%)
Mutual labels:  semantic

Deep Semantic Role Labeling (SRL)

SRL deep learning model is based on DB-LSTM which is described in this paper : End-to-end learning of semantic role labeling using recurrent neural networks

The system consists of code related to two models for following tasks :

Predicate identification

Model trained using RNN network with CRF as final output layer

SRL model

SRL Trained on db-lstm network with CRF as final output layer.

Evaluation

We use evaluation/conlleval.pl for model evaluation for both the models . This script is taken from Conll2000 shared task. (http://www.cnts.ua.ac.be/conll2000/ ) Rest of the code files for data manipulation and feeding the data for neural networks.

Code Layout :

Data folder :

embeddings :

  • The word embeddings have been trained using fasttext by facebook . The word embedding are represented by two files : Vocab.txt : the vocabulary words in w2v

  • wordVectors.txt : the vector for words mentioned in vocab.txt. Please note that it is row-row mapping from word to vector.

  • The w2v model is trained with skipgram , 32 dimensions on QQ+SRL data

Predicate_identifier

Data for predicate identifier model in conll05 format. Please note that this format is generated by SemanticRoleLabeler Srl

Models folder :

  • Final - The final models for predicate identification and srl model
  • Parameters- This folder is for saving model parameters while training
  • PI - Folder to save predicate identifier model while training
  • Srl - Folder to save srl model parameters while training

Paddle Docker

THe deep learning code is built using Paddle framework by Baidu (https://github.com/PaddlePaddle/Paddle)

Paddle docker is required to run the code in Docker environment.

Working in the docker environment: Go to semantic-role-labeling-neural/ - Run following command + docker run -it -v $(pwd):/paddle paddlepaddle/paddle:0.10.0 /bin/bash

if the docker image is not already present on the system, it will be downloaded. Also please check for newer version of the docker image

Model related code :

Predicate Identifier Model

Training the model :

pi_train.py

Running inference code from trained model :

Pi_infer.py

SRL model

Training the model

Srl_train.py

Running inference code from trained model :

Srl_inference.py

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].