Update README.md
Browse files
README.md
CHANGED
|
@@ -4,4 +4,87 @@ language:
|
|
| 4 |
size_categories:
|
| 5 |
- 100K<n<1M
|
| 6 |
---
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
size_categories:
|
| 5 |
- 100K<n<1M
|
| 6 |
---
|
| 7 |
+
# CFunSet: A Comprehensive Chinese Humor-Related Dataset
|
| 8 |
+
|
| 9 |
+
CFunSet is a comprehensive Chinese humor-related multi-task dataset designed to train and evaluate CFunModel: A "Funny" Language Model Capable of Chinese Humor Generation and Processing. This dataset aggregates multiple existing datasets and includes diverse tasks such as humor generation, joke completion, humor classification, crosstalk response selection, and humor explanation.
|
| 10 |
+
|
| 11 |
+
## 📚 Dataset Overview
|
| 12 |
+
|
| 13 |
+
CFunSet consists of over **160,000** high-quality humor-related samples collected and curated from multiple sources. Each task is designed to assess and enhance various aspects of humor understanding and generation in Chinese.
|
| 14 |
+
|
| 15 |
+
### 🔥 Key Features
|
| 16 |
+
- **Diverse Tasks:** Includes joke generation, humor recognition, crosstalk response selection, and more.
|
| 17 |
+
- **Multi-Source Aggregation:** Combines data from Tieba-JokeBar, CrossDial, Chumor, HumorWB, and other sources.
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## 📊 Data Structure
|
| 21 |
+
|
| 22 |
+
Each data sample follows the format:
|
| 23 |
+
\`\`\`json
|
| 24 |
+
{
|
| 25 |
+
"instruction": "Task-specific instruction describing the objective.",
|
| 26 |
+
"input": "Input text or prompt related to the task.",
|
| 27 |
+
"output": "Corresponding expected output or label."
|
| 28 |
+
}
|
| 29 |
+
\`\`\`
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## 🎯 Dataset Tasks and Examples
|
| 34 |
+
|
| 35 |
+
Here’s a summary of the included tasks and sample examples from CFunSet:
|
| 36 |
+
|
| 37 |
+
### 1. **Tieba-JokeBar: Joke Generation/Continuation**
|
| 38 |
+
- **Instruction:** Generate a complete joke based on the given first sentence.
|
| 39 |
+
- **Input:** 我对女儿说:再看10分钟的动画片就该睡觉了。
|
| 40 |
+
- **Output:** 她抗议说时间太短。“那就600秒,够长了吧?”我说。女儿说:“够了,够了。”
|
| 41 |
+
|
| 42 |
+
### 2. **CrossDial: Crosstalk Response Selection**
|
| 43 |
+
- **Instruction:** Given a crosstalk script, choose the most suitable Dougen reply from multiple options.
|
| 44 |
+
- **Input:** 已有台词:我是肖飞。|噢。|给大家说一段。|好。|吃五谷杂粮没有不得病的。……
|
| 45 |
+
- **Candidate Replies:**
|
| 46 |
+
- 早上天还没亮,三狗屁就来到了工程队。
|
| 47 |
+
- 反正很重,去买药,下台阶儿。
|
| 48 |
+
- 那天我脚气犯了,上药店买点儿药吧。
|
| 49 |
+
- 都快半夜了,上哪找药店去?
|
| 50 |
+
- **Output:** 那天我脚气犯了,上药店买点儿药吧。
|
| 51 |
+
|
| 52 |
+
### 3. **Chumor: Humor Explanation**
|
| 53 |
+
- **Instruction:** Analyze and explain the reason for the humor in the given text.
|
| 54 |
+
- **Input:** 比起段子,应该还是我的论文更加搞笑一点。
|
| 55 |
+
- **Output:** 这个笑话的幽默之处在于自嘲和反差。作者通过自嘲自己的论文质量不高,反而比段子更搞笑,制造了意想不到的反差效果。
|
| 56 |
+
|
| 57 |
+
### 4. **HumorWB: Humor Recognition**
|
| 58 |
+
- **Instruction:** Analyze whether the given text has humor. Only output "幽默" (humorous) or "不幽默" (not humorous).
|
| 59 |
+
- **Input:** 问一下已经步入社会的大人们,假如有机会带着现在的记忆回到高一那年,你最想做什么?
|
| 60 |
+
- **Output:** 不幽默
|
| 61 |
+
|
| 62 |
+
### 5. **Chinese-Humor-Sentiment and Crosstalk-Generation: Crosstalk Continuation**
|
| 63 |
+
- **Instruction:** Complete the given crosstalk script.
|
| 64 |
+
- **Input:** 0:“常言道,烟酒不分家。来,抽一根儿!”
|
| 65 |
+
- **Output:** 1:“你讨厌讨厌真讨厌,公共场合放毒烟;害人害己害环境,吞云吐雾造污染……”
|
| 66 |
+
|
| 67 |
+
### 6. **CCL-2019 Task 1: Joke Generation with Keywords**
|
| 68 |
+
- **Instruction:** Generate a joke with the keyword "bargaining."
|
| 69 |
+
- **Input:** -
|
| 70 |
+
- **Output:** 老板:一块五一斤。|我:太贵了,五块钱三斤吧。|老板:不行不行。
|
| 71 |
+
|
| 72 |
+
### 7. **CCL-2019 Task 2: Joke Generation with Themes**
|
| 73 |
+
- **Instruction:** Generate a joke with the theme "theft."
|
| 74 |
+
- **Input:** -
|
| 75 |
+
- **Output:** 小偷偷了只鸡,在河边拔毛……“这只鸡在游泳,我帮它看衣服。”
|
| 76 |
+
|
| 77 |
+
## 📊 Dataset Statistics
|
| 78 |
+
|
| 79 |
+
| Source | Samples Count |
|
| 80 |
+
|-----------------------------|---------------|
|
| 81 |
+
| Tieba-JokeBar | 18,41 |
|
| 82 |
+
| CrossDial-Dougen | 75,944 |
|
| 83 |
+
| CrossDial-Penggen | 43,372 |
|
| 84 |
+
| Chumor | 1,452 |
|
| 85 |
+
| HumorWB | 4,200 |
|
| 86 |
+
| Chinese-Humor-Sentiment | 4,860 |
|
| 87 |
+
| CCL-2019 Task 1 & Task 2 | 13,012 |
|
| 88 |
+
| **Total** | **164,200+** |
|
| 89 |
+
|
| 90 |
+
🎉 **Happy Experimenting with CFunSet!** 🎉
|