shibing624 / bertspan4ner-base-chinese

huggingface.co
Total runs: 17
24-hour runs: 0
7-day runs: -4
30-day runs: -6
Model's Last Updated: February 19 2024
token-classification

Introduction of bertspan4ner-base-chinese

Model Details of bertspan4ner-base-chinese

BertSpan for Chinese Named Entity Recognition(bertspan4ner) Model

中文实体识别模型

bertspan4ner-base-chinese evaluate PEOPLE(人民日报) test data:

The overall performance of BertSpan on people test :

Accuracy Recall F1
BertSpan 0.9610 0.9600 0.9605

在PEOPLE的测试集上达到SOTA水平。

Usage

本项目开源在实体识别项目: nerpy ,可支持bertspan模型,通过如下命令调用:

>>> from nerpy import NERModel
>>> model = NERModel("bertspan", "shibing624/bertspan4ner-base-chinese")
>>> predictions, raw_outputs, entities = model.predict(["常建良,男,1963年出生,工科学士,高级工程师"], split_on_space=False)
entities: [('常建良', 'PER'), ('1963年', 'TIME')]

模型文件组成:

bertspan4ner-base-chinese
    ├── config.json
    ├── model_args.json
    ├── pytorch_model.bin
    ├── special_tokens_map.json
    ├── tokenizer_config.json
    └── vocab.txt
训练数据集
中文实体识别数据集
数据集 语料 下载链接 文件大小
CNER中文实体识别数据集 CNER(12万字) CNER github 1.1MB
PEOPLE中文实体识别数据集 人民日报数据集(200万字) PEOPLE github 12.8MB

CNER中文实体识别数据集,数据格式:

美	B-LOC
国	I-LOC
的	O
华	B-PER
莱	I-PER
士	I-PER
我	O
跟	O
他	O

如果需要训练bertspan4ner,请参考 https://github.com/shibing624/nerpy/tree/main/examples

Citation
@software{nerpy,
  author = {Xu Ming},
  title = {nerpy: Named Entity Recognition toolkit},
  year = {2022},
  url = {https://github.com/shibing624/nerpy},
}

Runs of shibing624 bertspan4ner-base-chinese on huggingface.co

17
Total runs
0
24-hour runs
-7
3-day runs
-4
7-day runs
-6
30-day runs

More Information About bertspan4ner-base-chinese huggingface.co Model

More bertspan4ner-base-chinese license Visit here:

https://choosealicense.com/licenses/apache-2.0

bertspan4ner-base-chinese huggingface.co

bertspan4ner-base-chinese huggingface.co is an AI model on huggingface.co that provides bertspan4ner-base-chinese's model effect (), which can be used instantly with this shibing624 bertspan4ner-base-chinese model. huggingface.co supports a free trial of the bertspan4ner-base-chinese model, and also provides paid use of the bertspan4ner-base-chinese. Support call bertspan4ner-base-chinese model through api, including Node.js, Python, http.

bertspan4ner-base-chinese huggingface.co Url

https://huggingface.co/shibing624/bertspan4ner-base-chinese

shibing624 bertspan4ner-base-chinese online free

bertspan4ner-base-chinese huggingface.co is an online trial and call api platform, which integrates bertspan4ner-base-chinese's modeling effects, including api services, and provides a free online trial of bertspan4ner-base-chinese, you can try bertspan4ner-base-chinese online for free by clicking the link below.

shibing624 bertspan4ner-base-chinese online free url in huggingface.co:

https://huggingface.co/shibing624/bertspan4ner-base-chinese

bertspan4ner-base-chinese install

bertspan4ner-base-chinese is an open source model from GitHub that offers a free installation service, and any user can find bertspan4ner-base-chinese on GitHub to install. At the same time, huggingface.co provides the effect of bertspan4ner-base-chinese install, users can directly use bertspan4ner-base-chinese installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bertspan4ner-base-chinese install url in huggingface.co:

https://huggingface.co/shibing624/bertspan4ner-base-chinese

Url of bertspan4ner-base-chinese

bertspan4ner-base-chinese huggingface.co Url

Provider of bertspan4ner-base-chinese huggingface.co

shibing624
ORGANIZATIONS

Other API from shibing624