File size: 1,179 Bytes
1aeee21
 
 
 
 
 
245b466
 
 
 
 
 
053228c
fc4cb82
af4f512
 
 
 
 
 
 
 
7d2ab0a
 
 
 
 
 
5ef426b
1aeee21
 
 
245b466
1aeee21
245b466
1aeee21
245b466
1aeee21
245b466
1aeee21
245b466
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
tags:
- generated_from_trainer
model-index:
- name: few_shot_ner
  results: []
license: apache-2.0
datasets:
- qgyd2021/few_shot_ner_sft
language:
- zh
- en
pipeline_tag: text2text-generation
widget:
- text: |-
    实体识别。

    注意:
    - 请提取出 “姓名” 实体。

    text:田兴,曾任北京双鹤药业经营有限责任公司财务总监、副总经理;
    outputs:[SEP]
inference:
  parameters:
    max_new_tokens: 128
    top_p: 0.75
    temperature: 0.35
    repetition_penalty: 1.2
    eos_token_id: [SEP]
---
# few_shot_ner

此模型是基于 [uer/gpt2-chinese-cluecorpussmall](https://huggingface.co/uer/gpt2-chinese-cluecorpussmall) 在数据集 [qgyd2021/few_shot_ner_sft](https://huggingface.co/datasets/qgyd2021/few_shot_ner_sft) 上训练的.

可以在此处 [qgyd2021/gpt2_chat](https://huggingface.co/spaces/qgyd2021/gpt2_chat) 体验. 

基于此模型或数据集, 你可以: 

(1)小样本或零样本的实体识别. 

(2)用于实体识别数据集的辅助构建. 即当你在自己的数据集上进行了部分数据标注后, 可以与此数据集混合并训练模型, 之后用于数据自动标注/辅助标注.