├── .gitignore ├── LICENSE ├── README.md ├── data ├── dataset.pkl ├── lookup.pkl ├── padded_dataset.pkl └── raw │ ├── test.csv │ ├── train.csv │ └── val.csv ├── embed ├── char_embed.py ├── config.json ├── model.py ├── pos_embed.py └── word_embed.py ├── images ├── bigru_attn_crf.png ├── embedding.png ├── t_attn.png ├── t_embed.png └── t_model.png ├── ner ├── arguments.py ├── data_processing.py ├── gamma │ ├── __init__.py │ ├── attention.py │ ├── data.py │ ├── model.py │ ├── modules.py │ └── utils.py ├── test.py ├── train.py ├── train_attn_crf.py ├── train_gru.py ├── train_gru_attn.py ├── train_gru_attn_crf.py └── train_gru_crf.py └── result └── embed ├── char.npy ├── pos.npy ├── word.npy └── xavier.npy /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/README.md -------------------------------------------------------------------------------- /data/dataset.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/dataset.pkl -------------------------------------------------------------------------------- /data/lookup.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/lookup.pkl -------------------------------------------------------------------------------- /data/padded_dataset.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/padded_dataset.pkl -------------------------------------------------------------------------------- /data/raw/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/raw/test.csv -------------------------------------------------------------------------------- /data/raw/train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/raw/train.csv -------------------------------------------------------------------------------- /data/raw/val.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/data/raw/val.csv -------------------------------------------------------------------------------- /embed/char_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/embed/char_embed.py -------------------------------------------------------------------------------- /embed/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/embed/config.json -------------------------------------------------------------------------------- /embed/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/embed/model.py -------------------------------------------------------------------------------- /embed/pos_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/embed/pos_embed.py -------------------------------------------------------------------------------- /embed/word_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/embed/word_embed.py -------------------------------------------------------------------------------- /images/bigru_attn_crf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/images/bigru_attn_crf.png -------------------------------------------------------------------------------- /images/embedding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/images/embedding.png -------------------------------------------------------------------------------- /images/t_attn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/images/t_attn.png -------------------------------------------------------------------------------- /images/t_embed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/images/t_embed.png -------------------------------------------------------------------------------- /images/t_model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/images/t_model.png -------------------------------------------------------------------------------- /ner/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/arguments.py -------------------------------------------------------------------------------- /ner/data_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/data_processing.py -------------------------------------------------------------------------------- /ner/gamma/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/__init__.py -------------------------------------------------------------------------------- /ner/gamma/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/attention.py -------------------------------------------------------------------------------- /ner/gamma/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/data.py -------------------------------------------------------------------------------- /ner/gamma/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/model.py -------------------------------------------------------------------------------- /ner/gamma/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/modules.py -------------------------------------------------------------------------------- /ner/gamma/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/gamma/utils.py -------------------------------------------------------------------------------- /ner/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/test.py -------------------------------------------------------------------------------- /ner/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train.py -------------------------------------------------------------------------------- /ner/train_attn_crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train_attn_crf.py -------------------------------------------------------------------------------- /ner/train_gru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train_gru.py -------------------------------------------------------------------------------- /ner/train_gru_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train_gru_attn.py -------------------------------------------------------------------------------- /ner/train_gru_attn_crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train_gru_attn_crf.py -------------------------------------------------------------------------------- /ner/train_gru_crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/ner/train_gru_crf.py -------------------------------------------------------------------------------- /result/embed/char.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/result/embed/char.npy -------------------------------------------------------------------------------- /result/embed/pos.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/result/embed/pos.npy -------------------------------------------------------------------------------- /result/embed/word.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/result/embed/word.npy -------------------------------------------------------------------------------- /result/embed/xavier.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ROBINADC/BiGRU-CRF-with-Attention-for-NER/HEAD/result/embed/xavier.npy --------------------------------------------------------------------------------