All Projects → yanwii → Chinsesner Pytorch

yanwii / Chinsesner Pytorch

基于BI-LSTM+CRF的中文命名实体识别 Pytorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Chinsesner Pytorch

Mt Dnn
Multi-Task Deep Neural Networks for Natural Language Understanding
Stars: ✭ 1,871 (+975.29%)
Mutual labels:  named-entity-recognition
Ner Corpora
Named Entity Recognition data for Europeana Newspapers
Stars: ✭ 151 (-13.22%)
Mutual labels:  named-entity-recognition
Solrtexttagger
A text tagger based on Lucene / Solr, using FST technology
Stars: ✭ 162 (-6.9%)
Mutual labels:  named-entity-recognition
Ncrfpp
NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.
Stars: ✭ 1,767 (+915.52%)
Mutual labels:  named-entity-recognition
Ld Net
Efficient Contextualized Representation: Language Model Pruning for Sequence Labeling
Stars: ✭ 148 (-14.94%)
Mutual labels:  named-entity-recognition
Deeplearning nlp
基于深度学习的自然语言处理库
Stars: ✭ 154 (-11.49%)
Mutual labels:  named-entity-recognition
Ner Evaluation
An implementation of a full named-entity evaluation metrics based on SemEval'13 Task 9 - not at tag/token level but considering all the tokens that are part of the named-entity
Stars: ✭ 126 (-27.59%)
Mutual labels:  named-entity-recognition
Vntk
Vietnamese NLP Toolkit for Node
Stars: ✭ 170 (-2.3%)
Mutual labels:  named-entity-recognition
Spacy Course
👩‍🏫 Advanced NLP with spaCy: A free online course
Stars: ✭ 1,920 (+1003.45%)
Mutual labels:  named-entity-recognition
Bert Ner Tf
Named Entity Recognition with BERT using TensorFlow 2.0
Stars: ✭ 155 (-10.92%)
Mutual labels:  named-entity-recognition
Triggerner
TriggerNER: Learning with Entity Triggers as Explanations for Named Entity Recognition (ACL 2020)
Stars: ✭ 141 (-18.97%)
Mutual labels:  named-entity-recognition
Information Extraction Chinese
Chinese Named Entity Recognition with IDCNN/biLSTM+CRF, and Relation Extraction with biGRU+2ATT 中文实体识别与关系提取
Stars: ✭ 1,888 (+985.06%)
Mutual labels:  named-entity-recognition
Sequence tagging
Named Entity Recognition (LSTM + CRF) - Tensorflow
Stars: ✭ 1,889 (+985.63%)
Mutual labels:  named-entity-recognition
Chinesener
基于Bi-GRU + CRF 的中文机构名、人名识别, 支持google bert模型
Stars: ✭ 136 (-21.84%)
Mutual labels:  named-entity-recognition
Open Semantic Etl
Python based Open Source ETL tools for file crawling, document processing (text extraction, OCR), content analysis (Entity Extraction & Named Entity Recognition) & data enrichment (annotation) pipelines & ingestor to Solr or Elastic search index & linked data graph database
Stars: ✭ 165 (-5.17%)
Mutual labels:  named-entity-recognition
Bnlp
BNLP is a natural language processing toolkit for Bengali Language.
Stars: ✭ 127 (-27.01%)
Mutual labels:  named-entity-recognition
Crf Layer On The Top Of Bilstm
The CRF Layer was implemented by using Chainer 2.0. Please see more details here: https://createmomo.github.io/2017/09/12/CRF_Layer_on_the_Top_of_BiLSTM_1/
Stars: ✭ 148 (-14.94%)
Mutual labels:  named-entity-recognition
Spark Nlp
State of the Art Natural Language Processing
Stars: ✭ 2,518 (+1347.13%)
Mutual labels:  named-entity-recognition
Zh Ner Tf
A very simple BiLSTM-CRF model for Chinese Named Entity Recognition 中文命名实体识别 (TensorFlow)
Stars: ✭ 2,063 (+1085.63%)
Mutual labels:  named-entity-recognition
Fox
Federated Knowledge Extraction Framework
Stars: ✭ 155 (-10.92%)
Mutual labels:  named-entity-recognition

ChinsesNER-pytorch

train

setp 1: edit models/config.yml

embedding_size: 100
hidden_size: 128
model_path: models/
batch_size: 20
dropout: 0.5
tags:
  - ORG
  - PER

step 2: train

python3 main.py train
or
cn = ChineseNER("train")
cn.train()

...
epoch [4] |██████                   | 154/591
        loss 0.46
        evaluation
        ORG     recall 1.00     precision 1.00  f1 1.00
--------------------------------------------------
epoch [4] |██████                   | 155/591
        loss 1.47
        evaluation
        ORG     recall 0.92     precision 0.92  f1 0.92
--------------------------------------------------
epoch [4] |██████                   | 156/591
        loss 0.46
        evaluation
        ORG     recall 0.94     precision 1.00  f1 0.97

predict

python3 main.py predict
or 
cn = ChineseNER("predict")
cn.predict()

请输入文本: 海利装饰材料有限公司
[{'start': 0, 'stop': 10, 'word': '海利装饰材料有限公司', 'type': 'ORG'}]

REFERENCES

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].