Skip to content

Simons2017/Joint-Extraction-of-Entities-and-Relations-Based-on-a-Novel-Tagging-Scheme

 
 

Repository files navigation

Joint extraction of entities and relations-pytorch+CNNs+LSTM

This project is based on Deep Active Learning for Named Entity Recognition
and Joint Extraction of Entities and Relations Based on a Novel Tagging Scheme

Dataset

NYT-CoType

Requirements

1)python
2)pytorch
3)numpy
4)pickle

file

./data: data file + word2vec
./data.py:proces data file and save as binary file
./nodel.py: main model
./predict.py: not used in this project
./stats.py:statistics the data,not import in this project
./utils.py:define classes to keep wordvec
./model.pt:the model file
./record.tcv:the train record
./train.py: train file
./conv_net:CNN model

how to run:

python word2vec.py
python data
python train.py

others:

i upload data and model to google drive:https://drive.google.com/drive/folders/1WWKkvwtbg5fLmh3CnjPC2luxyHooyvmR?usp=sharing

About

Joint Extraction of Entities and Relations Based on cnn+rnn

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%