Skip to content

🍭 Sequence Tagging Models for Information Extraction such as NER

Notifications You must be signed in to change notification settings

ricky9123/sequence-tagging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequence-Tagging

Dataset

The introduction to dataset: README.md.

Pre-trained Word Embedding & Language Model

  • Convert your BERT from tensorflow to pytorch: scripts/bert_convert.sh.
  • Train your GloVe using stanfordnlp/GloVe: scripts/glove_train.sh.

Run

Train:

allennlp train configs/bilstm_crf.jsonnet -s outputs/bilstm_crf -f --include-package hanzo

Predict:

allennlp predict outputs/bilstm_crf/model.tar.gz resources/datagrand/test.txt \
                 --include-package hanzo \
                 --predictor data_grand \
                 --use-dataset-reader \
                 --silent \
                 --output-file result.txt

About

🍭 Sequence Tagging Models for Information Extraction such as NER

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published