├── README.md ├── config.py ├── data ├── Boson │ ├── boson_dev.txt │ ├── boson_test.txt │ └── boson_train.txt ├── MASA │ ├── MASA_dev.txt │ ├── MASA_test.txt │ └── MASA_train.txt ├── People_daliy │ ├── People_Daily_dev.txt │ ├── People_Daily_test.txt │ └── People_Daily_train.txt ├── Weibo │ ├── weiboNER_dev.txt │ ├── weiboNER_test.txt │ └── weiboNER_train.txt ├── ernie-base-chinese │ ├── Ernie文件.png │ └── ernie_source.md └── tag │ ├── Boson_tag.txt │ ├── MASA_tag.txt │ ├── PeopleDaliy_tag.txt │ └── Weibo_tag.txt ├── main.py ├── model ├── __init__.py └── ernie_lstm_crf.py ├── predict.py └── utils.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/README.md -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/config.py -------------------------------------------------------------------------------- /data/Boson/boson_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Boson/boson_dev.txt -------------------------------------------------------------------------------- /data/Boson/boson_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Boson/boson_test.txt -------------------------------------------------------------------------------- /data/Boson/boson_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Boson/boson_train.txt -------------------------------------------------------------------------------- /data/MASA/MASA_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/MASA/MASA_dev.txt -------------------------------------------------------------------------------- /data/MASA/MASA_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/MASA/MASA_test.txt -------------------------------------------------------------------------------- /data/MASA/MASA_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/MASA/MASA_train.txt -------------------------------------------------------------------------------- /data/People_daliy/People_Daily_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/People_daliy/People_Daily_dev.txt -------------------------------------------------------------------------------- /data/People_daliy/People_Daily_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/People_daliy/People_Daily_test.txt -------------------------------------------------------------------------------- /data/People_daliy/People_Daily_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/People_daliy/People_Daily_train.txt -------------------------------------------------------------------------------- /data/Weibo/weiboNER_dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Weibo/weiboNER_dev.txt -------------------------------------------------------------------------------- /data/Weibo/weiboNER_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Weibo/weiboNER_test.txt -------------------------------------------------------------------------------- /data/Weibo/weiboNER_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/Weibo/weiboNER_train.txt -------------------------------------------------------------------------------- /data/ernie-base-chinese/Ernie文件.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/ernie-base-chinese/Ernie文件.png -------------------------------------------------------------------------------- /data/ernie-base-chinese/ernie_source.md: -------------------------------------------------------------------------------- 1 | ERNIE1.0 获取地址 2 | https://huggingface.co/nghuyong/ernie-1.0/tree/main 3 | -------------------------------------------------------------------------------- /data/tag/Boson_tag.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/tag/Boson_tag.txt -------------------------------------------------------------------------------- /data/tag/MASA_tag.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/tag/MASA_tag.txt -------------------------------------------------------------------------------- /data/tag/PeopleDaliy_tag.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/tag/PeopleDaliy_tag.txt -------------------------------------------------------------------------------- /data/tag/Weibo_tag.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/data/tag/Weibo_tag.txt -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/main.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | # coding=utf-8 2 | from model.ernie_lstm_crf import ERNIE_LSTM_CRF -------------------------------------------------------------------------------- /model/ernie_lstm_crf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/model/ernie_lstm_crf.py -------------------------------------------------------------------------------- /predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/predict.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/learnway299/ERNIE-BiLSTM-CRF-Pytorch-Chinese_NER/HEAD/utils.py --------------------------------------------------------------------------------