TheAnig / NER-LSTM-CNN-Pytorch

End-to-end-Sequence-Labeling-via-Bi-directional-LSTM-CNNs-CRF-Tutorial
45 stars 13 forks source link
cnn crf deep-learning lstm lstm-cnn lstm-crf-model lstm-neural-networks named-entity-recognition nlp pytorch pytorch-implmention pytorch-tutorial reproducibility reproducible-research tutorial

End-to-end-Sequence-Labeling-via-Bi-directional-LSTM-CNNs-CRF-Tutorial

This is a PyTorch tutorial for the ACL'16 paper End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRF

This repository includes

Authors

Anirudh Ganesh

Peddamail Jayavardhan Reddy

Installation

The best way to install pytorch is via the pytorch webpage

Setup

Creating new Conda environment

conda create -n pytorch python=3.5

Activate the condo environment

source activate pytorch

Setting up notebooks with specific python version (python 3.5)

conda install notebook ipykernel
ipython kernel install --user

PyTorch Installation command:

conda install pytorch torchvision -c pytorch

NumPy installation

conda install -c anaconda numpy

Download GloVe vectors and extract glove.6B.100d.txt into "./data/" folder

wget http://nlp.stanford.edu/data/glove.6B.zip

Data Files

You can download the data files from within this repo over here