qgyd2021 commited on
Commit
ad01a85
·
1 Parent(s): fa4d571

add examples

Browse files
Files changed (1) hide show
  1. examples.json +20 -0
examples.json CHANGED
@@ -19,8 +19,28 @@
19
  "I am trying to arrange a return and credit for my order for the last few days but the transaction will not process through my iphone or iPad.\nI have now reverted to laptop.\n\nintent recognization. \n\noptions:\n- order\n- refund\n- track order\n- greeting\n- thank\n- discount\n\noutput:",
20
  128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_intent", true
21
  ],
 
 
 
 
 
 
 
 
22
  [
23
  "提取 “型号”,“其它实体”,“商品” 实体。\n\n示例:\ntext:佳能原装18-55stm镜头f/3.5-5.6,is,stm,700d,100d,760d单反18-55\noutputs:\n型号:18-55stm;18-55;f/3.5-5.6,is,stm。\n商品:单反;镜头。\n其它实体:100d;760d;700d。\n\ntext:2017新款儿童轻薄羽绒服套装男女童宝宝童装羽绒裤外套两件套\noutputs:",
24
  128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
 
 
 
 
 
 
 
 
 
 
 
 
25
  ]
26
  ]
 
19
  "I am trying to arrange a return and credit for my order for the last few days but the transaction will not process through my iphone or iPad.\nI have now reverted to laptop.\n\nintent recognization. \n\noptions:\n- order\n- refund\n- track order\n- greeting\n- thank\n- discount\n\noutput:",
20
  128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_intent", true
21
  ],
22
+ [
23
+ "entity recognition.\n\nwhat entity type to extract ?\n\"LOC\", \"ORG\".\n\nexamples:\ntext: COMMACK , New York 1996-08-24\noutput: <LOC>COMMACK</LOC> , <LOC>New York</LOC> 1996-08-24\n\ntext: Arsenal 3 2 0 1 4 2 6\noutput: <ORG>Arsenal</ORG> 3 2 0 1 4 2 6\n\ntext: PHILADELPHIA 7 10 .412 6 1/2\noutput:",
24
+ 128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
25
+ ],
26
+ [
27
+ "few-shot named entity recognition.\n\nnote:\n- entity type to extract: \"Organization\", \"Name\".\n- output \"no entity find.\" when no entity.\n- output in JSON format with key: `entity_text`, `entity_type`.\n\nexamples:\n------\ntext: Mansfield 0 Stockport 3\noutputs: \n{\"entity_text\": \"Mansfield\", \"entity_type\": \"Organization\"}\n{\"entity_text\": \"Stockport\", \"entity_type\": \"Organization\"}\n------\ntext: Score : England 326 ( J. Crawley 106 , G. Thorpe 54 .\noutputs: \n{\"entity_text\": \"J. Crawley\", \"entity_type\": \"Name\"}\n{\"entity_text\": \"G. Thorpe\", \"entity_type\": \"Name\"}\n------\ntext: MIAMI 14 4 .778 -\noutputs:",
28
+ 128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
29
+ ],
30
  [
31
  "提取 “型号”,“其它实体”,“商品” 实体。\n\n示例:\ntext:佳能原装18-55stm镜头f/3.5-5.6,is,stm,700d,100d,760d单反18-55\noutputs:\n型号:18-55stm;18-55;f/3.5-5.6,is,stm。\n商品:单反;镜头。\n其它实体:100d;760d;700d。\n\ntext:2017新款儿童轻薄羽绒服套装男女童宝宝童装羽绒裤外套两件套\noutputs:",
32
  128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
33
+ ],
34
+ [
35
+ "实体识别。\n\n注意:\n- 实体:专业,地名,姓名,国籍,学历,职位,组织机构\n- 输出格式:```{\"text\": ${entity-text}, \"label\": ${entity-label}}```\n- 没有实体时,输出:“没有实体。”。\n\n文本:现任湖南嘉瑞新材料集团股份有限公司董事、总经理。\nJSON输出:",
36
+ 128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
37
+ ],
38
+ [
39
+ "实体识别。\n\n注意:\n- 请提取出 “职衔”,“地点”,“学历”,“民族”,“组织”,“专业”,“姓名” 实体。\n- 没有实体时输出:“找不到需要的实体。”。\n- 输出格式:实体类型:实体值...\n\n例子:\n---\ntext:曾任中国软件与技术服务股份有限公司党群工作部副主任、主任兼纪检监察部主任、监事,现任中国电子纪检监察部(审计部)一处处长,报告期内辞去中国软件与技术服务股份有限公司监事职务。\noutputs:\n组织:中国软件与技术服务股份有限公司;中国电子纪检监察部(审计部)一处。\n职衔:监事;主任;处长;党群工作部副主任;纪检监察部主任。\n\ntext:1954年11月生于天津,汉族,籍贯山西省。\noutputs:\n地点:籍贯山西省;天津。\n民族:汉族。\n\ntext:1970年2月出生,经济学学士、会计师。\noutputs:\n专业:经济学。\n学历:学士。\n职衔:会计师。\n\ntext:陈艳,女,\noutputs:\n姓名:陈艳。\n---\ntext:曾任北京双鹤药业经营有限责任公司财务总监、副总经理;\noutputs:",
40
+ 128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
41
+ ],
42
+ [
43
+ "银行金融类型的实体识别。\n\n实体类型:“bank”,“product”。\n\n示例:\n```\ntext:我显示汇总过高了,今天下了中信4万,准备把招商注销了\noutputs:\n{\"text\": \"中信\", \"name\": \"bank\"}\n{\"text\": \"招商\", \"name\": \"bank\"}\n```\ntext:这个短债只是用来提升信誉刷建行预审批的,又不是什么赚钱的基金。也只有建行有卖,我买过,不但不赚钱还会亏本的。...\noutputs:\n{\"text\": \"短债\", \"name\": \"product\"}\n{\"text\": \"建行\", \"name\": \"bank\"}\n{\"text\": \"基金\", \"name\": \"product\"}\n{\"text\": \"建行\", \"name\": \"bank\"}\n```\ntext:他行信用卡流水行吗?一个月要多少合适\noutputs:",
44
+ 128, 0.75, 0.35, 1.2, "qgyd2021/few_shot_ner", true
45
  ]
46
  ]