fchaubard commited on
Commit
e822a68
·
verified ·
1 Parent(s): 675226e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +125 -82
README.md CHANGED
@@ -1,84 +1,127 @@
1
  ---
2
- dataset_info:
3
- - config_name: dpo
4
- features:
5
- - name: prompt
6
- list:
7
- - name: content
8
- dtype: string
9
- - name: role
10
- dtype: string
11
- - name: chosen
12
- list:
13
- - name: content
14
- dtype: string
15
- - name: role
16
- dtype: string
17
- - name: rejected
18
- list:
19
- - name: content
20
- dtype: string
21
- - name: role
22
- dtype: string
23
- - name: chosen_engagement
24
- dtype: float64
25
- - name: rejected_engagement
26
- dtype: float64
27
- - name: chosen_video_id
28
- dtype: string
29
- - name: rejected_video_id
30
- dtype: string
31
- splits:
32
- - name: train
33
- num_bytes: 27078607
34
- num_examples: 11607
35
- - name: test
36
- num_bytes: 1443587
37
- num_examples: 611
38
- download_size: 28397635
39
- dataset_size: 28522194
40
- - config_name: sft
41
- features:
42
- - name: messages
43
- list:
44
- - name: content
45
- dtype: string
46
- - name: role
47
- dtype: string
48
- - name: tier
49
- dtype: string
50
- - name: engagement_rate
51
- dtype: float64
52
- - name: like_count
53
- dtype: int64
54
- - name: play_count
55
- dtype: int64
56
- - name: duration_seconds
57
- dtype: float64
58
- - name: video_id
59
- dtype: string
60
- - name: author
61
- dtype: string
62
- splits:
63
- - name: train
64
- num_bytes: 32379287
65
- num_examples: 23216
66
- - name: test
67
- num_bytes: 1712781
68
- num_examples: 1222
69
- download_size: 33177364
70
- dataset_size: 34092068
71
- configs:
72
- - config_name: dpo
73
- data_files:
74
- - split: train
75
- path: dpo/train-*
76
- - split: test
77
- path: dpo/test-*
78
- - config_name: sft
79
- data_files:
80
- - split: train
81
- path: sft/train-*
82
- - split: test
83
- path: sft/test-*
84
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - en
7
+ tags:
8
+ - comedy
9
+ - stand-up
10
+ - humor
11
+ - dpo
12
+ - sft
13
+ - funny
14
+ size_categories:
15
+ - 10K<n<100K
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ # FunnyBench: Stand-Up Comedy Dataset for LLM Training
19
+
20
+ A curated dataset of **24,438 stand-up comedy transcripts** with engagement metrics, designed for teaching LLMs to generate funny content.
21
+
22
+ ## Dataset Splits
23
+
24
+ ### SFT (Supervised Fine-Tuning)
25
+ - **23,216 train** / **1,222 test** examples
26
+ - Chat format with quality-tier conditioning
27
+ - Fields: `messages`, `tier`, `engagement_rate`, `like_count`, `play_count`, `duration_seconds`, `video_id`, `author`
28
+
29
+ ```python
30
+ from datasets import load_dataset
31
+ ds = load_dataset("fchaubard/funny_bench", "sft")
32
+ ```
33
+
34
+ ### DPO (Direct Preference Optimization)
35
+ - **11,607 train** / **611 test** preference pairs
36
+ - Pairs matched by duration bucket
37
+ - "Chosen" = higher engagement rate, "Rejected" = lower engagement rate
38
+ - Fields: `prompt`, `chosen`, `rejected`, `chosen_engagement`, `rejected_engagement`
39
+
40
+ ```python
41
+ from datasets import load_dataset
42
+ ds = load_dataset("fchaubard/funny_bench", "dpo")
43
+ ```
44
+
45
+ ## Source Data
46
+
47
+ - **29,729 TikTok stand-up comedy clips** (pre-filtered: 10,000+ likes, English, standup hashtags)
48
+ - Transcribed using NVIDIA Canary-Qwen 2.5B
49
+ - Speaker diarization via NVIDIA NeMo MSDD
50
+ - Labels: `[COMEDIAN]`, `[AUDIENCE]`, `[LAUGHTER]`
51
+
52
+ ## Cleaning Pipeline
53
+
54
+ | Filter | Threshold | Dropped |
55
+ |--------|-----------|---------|
56
+ | Transcript length | 80-12,000 chars | 1,163 |
57
+ | Duration | 15-300 seconds | 2,098 |
58
+ | Word repetition score | <= 0.55 | 1,954 |
59
+ | Unique word count | >= 15 | 54 |
60
+ | ASR garbage detection | trigram loops | 22 |
61
+ | **Total removed** | | **5,291 (17.8%)** |
62
+ | **Clean dataset** | | **24,438 (82.2%)** |
63
+
64
+ ## Quality Tiers (SFT)
65
+
66
+ Each SFT example has a quality tier based on engagement rate (likes/views):
67
+
68
+ | Tier | Percentile | Engagement Rate | Count |
69
+ |------|-----------|----------------|-------|
70
+ | `[LEGENDARY]` | Top 5% | > 21.8% | 1,222 |
71
+ | `[KILLER]` | 75-95th | 14.7-21.8% | 4,888 |
72
+ | `[SOLID]` | 50-75th | 10.8-14.7% | 6,109 |
73
+ | `[WARMING_UP]` | Bottom 50% | < 10.8% | 12,219 |
74
+
75
+ At inference, prompt with `[LEGENDARY]` to generate top-tier comedy.
76
+
77
+ ## Why Engagement Rate?
78
+
79
+ Raw like counts are dominated by virality and follower counts. The engagement rate (likes/views) better captures per-viewer funniness. A clip with 1M views and 200K likes (20%) is funnier per-viewer than one with 100M views and 5M likes (5%).
80
+
81
+ ## SFT Format
82
+
83
+ ```json
84
+ {
85
+ "messages": [
86
+ {"role": "system", "content": "You are a stand-up comedian performing a live set..."},
87
+ {"role": "user", "content": "[LEGENDARY] Perform a stand-up comedy bit."},
88
+ {"role": "assistant", "content": "[COMEDIAN]: So where are you from?\n[AUDIENCE]: Texas!\n[COMEDIAN]: Texas? Oh man...\n[LAUGHTER]"}
89
+ ],
90
+ "tier": "LEGENDARY",
91
+ "engagement_rate": 0.22,
92
+ "like_count": 500000,
93
+ "play_count": 2200000
94
+ }
95
+ ```
96
+
97
+ ## DPO Format
98
+
99
+ ```json
100
+ {
101
+ "prompt": [
102
+ {"role": "system", "content": "You are a stand-up comedian..."},
103
+ {"role": "user", "content": "Perform a stand-up comedy bit."}
104
+ ],
105
+ "chosen": [{"role": "assistant", "content": "...funnier transcript..."}],
106
+ "rejected": [{"role": "assistant", "content": "...less funny transcript..."}],
107
+ "chosen_engagement": 0.18,
108
+ "rejected_engagement": 0.05
109
+ }
110
+ ```
111
+
112
+ ## Limitations
113
+
114
+ - ASR artifacts from NVIDIA Canary-Qwen 2.5B transcription
115
+ - Comedy depends heavily on delivery and timing that text can't capture
116
+ - TikTok bias toward short-form, punchy comedy
117
+ - Engagement != funny (controversy and relatability also drive engagement)
118
+
119
+ ## Citation
120
+
121
+ If you use this dataset, please cite:
122
+ ```
123
+ @misc{funnybench2026,
124
+ title={FunnyBench: Teaching LLMs Stand-Up Comedy with Engagement-Based Preference Learning},
125
+ year={2026}
126
+ }
127
+ ```