sunling120 / sequence-tagging-1

:lollipop: Sequence Tagging Models for Information Extraction such as NER

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

:lollipop: Sequence Tagging Models for Information Extraction such as NER


Languages

Language:Jsonnet 51.2%Language:Python 31.8%Language:Shell 17.0%