Spaces:
Sleeping
Sleeping
[update]add examples
Browse files- examples.json +9 -1
examples.json
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
"max_tokens": 1024
|
33 |
},
|
34 |
{
|
35 |
-
"title": "小说中对话抽取
|
36 |
"description": "从小说等收集人物对话, 做人格一致性研究, 参考: \nhttps://huggingface.co/hhhwmws\nhttps://github.com/LC1332/Chat-Haruhi-Suzumiya/",
|
37 |
"prompt": "按顺序从小说中抽取对话, 忽略非对话部分. \n\n例如: \n------------\nInputs: \n村民中走出一个二十来岁的人汉,说道:“张先生,你可是从北方来吗”\n张十五见他身材魁梧,浓眉大眼,便道:“正是。”那大汉道:“小弟作东,请先生去饮上三杯如何” 张十五大喜,说道:“素不相识,怎敢叨扰”\n那大汉笑道:“喝上三怀,那便相识了。我姓郭,名叫郭啸天。”\n\nOutputs: \n郭啸天:张先生,你可是从北方来吗\n张十五:正是。\n郭啸天:小弟作东,请先生去饮上三杯如何\n张十五:素不相识,怎敢叨扰\n郭啸天:喝上三怀,那便相识了。我姓郭,名叫郭啸天。\n------------\n\nTips: \n1. 你可能需要根据上下文推测说话人的名字. \n2. 请仔细而不要遗漏太多的信息. \n\nInputs: \n张翠山沉吟道:“这梅花小镖用左手发射?少林派门下怎地出现了道人,莫非也是乔装的?”那少女微笑道:“道士扮和尚须剃光头,和尚扮道士却容易得多,戴顶道冠便成。”张翠山点了点头。那少女道:“我心知此事不妙,但那瘦子我尚自抵敌不过,那道人似乎更厉害得多,何况他们共有六人?这可没了计较。”张翠山张口欲言,但终于忍住了。那少女道:“我猜你是想问:‘干么不上武当山来跟我们说明?’是不是?我可不能上武当山啊,倘若我自己能出面,又何必委托都大锦走这趟镖呢?我徬徨无计,在道上闷走,恰好撞到你跟都大锦他们说话。后来见你去找寻俞三侠,我想武当七侠正主儿已接上了手,不用我再凑热闹,凭我这点微末本领,也帮不了甚么忙。那时我急于解毒,便即东还,不知俞三侠后来怎样了?”张翠山当下说了俞岱岩受人毒害的情状。那少女长叹一声,睫毛微微颤动,说道:“但愿俞三侠吉人天相,终能治愈,否则……否则……”张翠山听她语气诚恳,心下感激,说道:“多谢姑娘好心。”说着眼眶微湿。那少女摇了摇头,说道:“我回到江南,叫人一看这梅花镖,有人识得是少林派的独门暗器,说道除非是发暗器之人的本门解药,否则毒性难除。临安府除了龙门镖局,还有谁是少林派?于是我夜入镖局,要逼他们给解药,岂知他们不但不给,还埋伏下了人马,我一进门便对我猛下毒手。”张翠山“嗯”了一声,沉吟道:“你说故意安排,教他们认作是我?”那少女脸有腼腆之色,低下了头,轻轻的道:“我见你到衣铺去买了这套衣巾,觉得穿戴起来很是……很是好看,于是我跟着也头了一套。”张翠山道:“这便是了。只是你一出手便连杀数十人,未免过于狠辣,镖局中的人跟你又没怨仇。”那少女沉下脸来,冷笑道:“你要教训我么?我活了一十九岁,倒还没听人教训过呢。张五侠大仁大义,这就请罢。我这般心狠手辣之辈,原没盼望跟你结交。”\n\nOutputs: ",
|
38 |
"model_name": "text-davinci-003",
|
@@ -62,5 +62,13 @@
|
|
62 |
"model_name": "text-davinci-003",
|
63 |
"temperature": 0.85,
|
64 |
"max_tokens": 1024
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
}
|
66 |
]
|
|
|
32 |
"max_tokens": 1024
|
33 |
},
|
34 |
{
|
35 |
+
"title": "小说中对话抽取",
|
36 |
"description": "从小说等收集人物对话, 做人格一致性研究, 参考: \nhttps://huggingface.co/hhhwmws\nhttps://github.com/LC1332/Chat-Haruhi-Suzumiya/",
|
37 |
"prompt": "按顺序从小说中抽取对话, 忽略非对话部分. \n\n例如: \n------------\nInputs: \n村民中走出一个二十来岁的人汉,说道:“张先生,你可是从北方来吗”\n张十五见他身材魁梧,浓眉大眼,便道:“正是。”那大汉道:“小弟作东,请先生去饮上三杯如何” 张十五大喜,说道:“素不相识,怎敢叨扰”\n那大汉笑道:“喝上三怀,那便相识了。我姓郭,名叫郭啸天。”\n\nOutputs: \n郭啸天:张先生,你可是从北方来吗\n张十五:正是。\n郭啸天:小弟作东,请先生去饮上三杯如何\n张十五:素不相识,怎敢叨扰\n郭啸天:喝上三怀,那便相识了。我姓郭,名叫郭啸天。\n------------\n\nTips: \n1. 你可能需要根据上下文推测说话人的名字. \n2. 请仔细而不要遗漏太多的信息. \n\nInputs: \n张翠山沉吟道:“这梅花小镖用左手发射?少林派门下怎地出现了道人,莫非也是乔装的?”那少女微笑道:“道士扮和尚须剃光头,和尚扮道士却容易得多,戴顶道冠便成。”张翠山点了点头。那少女道:“我心知此事不妙,但那瘦子我尚自抵敌不过,那道人似乎更厉害得多,何况他们共有六人?这可没了计较。”张翠山张口欲言,但终于忍住了。那少女道:“我猜你是想问:‘干么不上武当山来跟我们说明?’是不是?我可不能上武当山啊,倘若我自己能出面,又何必委托都大锦走这趟镖呢?我徬徨无计,在道上闷走,恰好撞到你跟都大锦他们说话。后来见你去找寻俞三侠,我想武当七侠正主儿已接上了手,不用我再凑热闹,凭我这点微末本领,也帮不了甚么忙。那时我急于解毒,便即东还,不知俞三侠后来怎样了?”张翠山当下说了俞岱岩受人毒害的情状。那少女长叹一声,睫毛微微颤动,说道:“但愿俞三侠吉人天相,终能治愈,否则……否则……”张翠山听她语气诚恳,心下感激,说道:“多谢姑娘好心。”说着眼眶微湿。那少女摇了摇头,说道:“我回到江南,叫人一看这梅花镖,有人识得是少林派的独门暗器,说道除非是发暗器之人的本门解药,否则毒性难除。临安府除了龙门镖局,还有谁是少林派?于是我夜入镖局,要逼他们给解药,岂知他们不但不给,还埋伏下了人马,我一进门便对我猛下毒手。”张翠山“嗯”了一声,沉吟道:“你说故意安排,教他们认作是我?”那少女脸有腼腆之色,低下了头,轻轻的道:“我见你到衣铺去买了这套衣巾,觉得穿戴起来很是……很是好看,于是我跟着也头了一套。”张翠山道:“这便是了。只是你一出手便连杀数十人,未免过于狠辣,镖局中的人跟你又没怨仇。”那少女沉下脸来,冷笑道:“你要教训我么?我活了一十九岁,倒还没听人教训过呢。张五侠大仁大义,这就请罢。我这般心狠手辣之辈,原没盼望跟你结交。”\n\nOutputs: ",
|
38 |
"model_name": "text-davinci-003",
|
|
|
62 |
"model_name": "text-davinci-003",
|
63 |
"temperature": 0.85,
|
64 |
"max_tokens": 1024
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"title": "会话摘要",
|
68 |
+
"description": "从客服会话记录中提取问答对, 可作为知识库. ",
|
69 |
+
"prompt": "Please extract Customer's Question and Merchant's Answer pairs from the conversation content.\n\nExample: \nConversation: \n------------\nCustomer: \nThanks - goods arrived & received but the four-piece pajamas did not come with “Built-in chest pad” design as advertised\nMerchant: \nLN2308231035130XXIQ4\nCan you provide a picture of the part you are referring to?\nLora 631059\n------------\n\nQuestion: the four-piece pajamas did not come with “Built-in chest pad” design as advertised\nAnswer: Can you provide a picture of the part you are referring to?\n\nTips: \n1. Please extract from the conversation content rather than regenerating sentences.\n2. Output as many Question-Answer pairs as possible. \n3. Like `GP230902222119HEAMV5`, `MH230827010058M5F4A7` is customer's order id, don't include. \n4. Like `Honey 514785` is the name and job number of the customer service staff, don't include. \n\nConversation: \n------------\nCustomer: \nI'm not sure why it failed. I've shared the location with the delivery person. Please reschedule.\nMerchant: \nGP230903101457GWT6W6\nOK, Dear Sir/Madam, it is our pleasure to service for you. \nI have checked the latest status that your parcel has been arranged for delivery today. \n\nThe courier will contact you before delivery, please pay attention to your phone call/text. \nIf you have any other concerns, please feel free to let us know. We will try our best to help you.\nLora 631059\n------------\n\nQuestion: ",
|
70 |
+
"model_name": "text-davinci-003",
|
71 |
+
"temperature": 0.85,
|
72 |
+
"max_tokens": 1024
|
73 |
}
|
74 |
]
|