├── README.md ├── bert ├── LICENSE ├── __init__.py ├── create_pretraining_data.py ├── modeling.py ├── optimization.py ├── run_pretraining.py └── tokenization.py ├── data ├── config │ └── config.json ├── raw │ ├── Z.npy │ ├── corpus.txt │ ├── id2index.json │ ├── ner │ │ ├── 0.txt │ │ ├── 1.txt │ │ ├── 2.txt │ │ ├── 3.txt │ │ └── 4.txt │ ├── test.txt │ ├── vocab.txt │ └── w2i.json ├── rt │ └── 20190911201419_result.txt └── train │ ├── corpus.record │ └── ner │ ├── 20190911194226 │ ├── 0.json │ ├── 0.record │ ├── 1.json │ ├── 1.record │ ├── 2.json │ ├── 2.record │ ├── 3.json │ ├── 3.record │ ├── 4.json │ ├── 4.record │ ├── id2index.json │ └── log.txt │ └── 20190911194226_nag │ ├── 0.json │ ├── 0.record │ ├── 1.json │ ├── 1.record │ ├── 2.json │ ├── 2.record │ ├── 3.json │ ├── 3.record │ ├── 4.json │ ├── 4.record │ ├── id2index.json │ └── log.txt └── ner ├── __init__.py ├── attention.py ├── bert_ner_at.py ├── bert_ner_caps.py ├── bert_ner_dcnn.py ├── bert_ner_dense.py ├── create_record.py ├── get_rt.py ├── p_at.py ├── run_train_attention.py ├── run_train_dense.py └── tools.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/README.md -------------------------------------------------------------------------------- /bert/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/LICENSE -------------------------------------------------------------------------------- /bert/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bert/create_pretraining_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/create_pretraining_data.py -------------------------------------------------------------------------------- /bert/modeling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/modeling.py -------------------------------------------------------------------------------- /bert/optimization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/optimization.py -------------------------------------------------------------------------------- /bert/run_pretraining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/run_pretraining.py -------------------------------------------------------------------------------- /bert/tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/bert/tokenization.py -------------------------------------------------------------------------------- /data/config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/config/config.json -------------------------------------------------------------------------------- /data/raw/Z.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/Z.npy -------------------------------------------------------------------------------- /data/raw/corpus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/corpus.txt -------------------------------------------------------------------------------- /data/raw/id2index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/id2index.json -------------------------------------------------------------------------------- /data/raw/ner/0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/ner/0.txt -------------------------------------------------------------------------------- /data/raw/ner/1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/ner/1.txt -------------------------------------------------------------------------------- /data/raw/ner/2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/ner/2.txt -------------------------------------------------------------------------------- /data/raw/ner/3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/ner/3.txt -------------------------------------------------------------------------------- /data/raw/ner/4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/ner/4.txt -------------------------------------------------------------------------------- /data/raw/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/test.txt -------------------------------------------------------------------------------- /data/raw/vocab.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/vocab.txt -------------------------------------------------------------------------------- /data/raw/w2i.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/raw/w2i.json -------------------------------------------------------------------------------- /data/rt/20190911201419_result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/rt/20190911201419_result.txt -------------------------------------------------------------------------------- /data/train/corpus.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/corpus.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/0.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/0.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/0.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/1.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/1.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/1.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/2.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/2.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/2.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/3.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/3.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/3.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/4.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/4.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/4.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226/id2index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/id2index.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226/log.txt -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/0.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/0.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/0.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/1.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/1.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/1.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/2.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/2.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/2.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/3.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/3.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/3.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/4.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/4.record: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/4.record -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/id2index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/id2index.json -------------------------------------------------------------------------------- /data/train/ner/20190911194226_nag/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/data/train/ner/20190911194226_nag/log.txt -------------------------------------------------------------------------------- /ner/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ner/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/attention.py -------------------------------------------------------------------------------- /ner/bert_ner_at.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/bert_ner_at.py -------------------------------------------------------------------------------- /ner/bert_ner_caps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/bert_ner_caps.py -------------------------------------------------------------------------------- /ner/bert_ner_dcnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/bert_ner_dcnn.py -------------------------------------------------------------------------------- /ner/bert_ner_dense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/bert_ner_dense.py -------------------------------------------------------------------------------- /ner/create_record.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/create_record.py -------------------------------------------------------------------------------- /ner/get_rt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/get_rt.py -------------------------------------------------------------------------------- /ner/p_at.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/p_at.py -------------------------------------------------------------------------------- /ner/run_train_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/run_train_attention.py -------------------------------------------------------------------------------- /ner/run_train_dense.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/run_train_dense.py -------------------------------------------------------------------------------- /ner/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shifop/datagrand_bert/HEAD/ner/tools.py --------------------------------------------------------------------------------