daniilpyatko commited on
Commit
32d04fa
·
verified ·
1 Parent(s): 30e9cce

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -0
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ figure {
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center; /* center contents */
6
+ margin: 0; /* remove any figure margins */
7
+ padding: 0;
8
+ }
9
+
10
+ figure img {
11
+ display: block; /* remove inline-image whitespace below */
12
+ max-width: 100%;
13
+ height: auto;
14
+ }
15
+
16
+ figure figcaption {
17
+ margin-block-start: 0; /* no gap above caption */
18
+ margin-block-end: 0; /* no gap below caption */
19
+ padding-top: 0.1em; /* tiny, adjustable gap */
20
+ font-style: italic;
21
+ color: #555;
22
+ text-align: center;
23
+ }
24
+ </style>
25
+
26
+
27
+ # Rapidata Generated Joke Preference Dataset
28
+
29
+ <a href="https://www.rapidata.ai">
30
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/66f5624c42b853e73e0738eb/jfxR79bOztqaC6_yNNnGU.jpeg" width="400" alt="Dataset visualization">
31
+ </a>
32
+
33
+ We collected 1'000'000+ human opinions on the jokes generated by state-of-the-art LLMs. It took us ~125 hours to get all of the responses.
34
+ The jokes are evenly distributed across 5 languages: English, Arabic, Japanese, Vietnamese, Portuguese and across 4 model configurations.
35
+
36
+ ## Joke Generation Process
37
+
38
+ We prompt each model in a certain language to tell a joke on a given topic. Examples include bicycle, ghost, elephant.
39
+ We want to see which jokes a model can generate on each topic, so for each topic we try to generate 5 different jokes. If the model is unable to generate a different joke for 10 times, we stop the generation process.
40
+
41
+ So, if all of the combinations resulted in 5 unique jokes, we would have:
42
+ \\(5 (\mathrm{languages}) \times 4 (\mathrm{models}) \times 100 (\mathrm{topics}) \times 5 (\mathrm{samples}) = 10\textrm{'}000\\) jokes.
43
+
44
+ However, there are less, only \\(9\textrm{'}978\\) jokes in the dataset, because sometimes models failed to produce 5 different jokes on a given topic in English. For other languages, all of the jokes were generated.
45
+
46
+
47
+ ## Columns
48
+ - `model` — model that was used for joke generation, one of
49
+ - `gpt-4o`
50
+ - `claude-sonnet-4-20250514`
51
+ - `gemini-2.5-flash` (no thinking tokens)
52
+ - `gemini-2.5-flash-thinking` (default number of thinking tokens)
53
+ - `joke_english` — the `joke` translated into English using GPT-4o
54
+ - `yes_ratios` — fraction of "Yes" responses
55
+ - `yes_user_score_ratios` — fraction of user_scores of people (internal metric which indicates trust in a user) who responded "Yes"
56
+
57
+ <!-- Or, more formally,
58
+ `yes_user_score_ratios` = \\(\frac{\sum_{r \in R}{\mathbb{1}\{r_{\mathrm{ans}} = \text{"Yes"}\} \cdot r_{\mathrm{user\_score}}}}{\sum_{r \in R}{r_{\mathrm{user\_score}}}}\\) -->
59
+
60
+
61
+ ## Analysis Notebook
62
+ We prepared a [notebook]() with a simple data analysis of our results. Here are the key graphs from it.
63
+
64
+ <center>
65
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/67054b6963cd3c1d5da67fc5/iryJQZQKqnSEGR4iLqS_d.png" alt="drawing" width="450"/>
66
+ <figcaption>Model scores. The non-thinking version of Gemini has the lowest score while all other thinking model configurations perform similarly</figcaption>
67
+ </center>
68
+
69
+ <center>
70
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/67054b6963cd3c1d5da67fc5/uNIJO_CrH23YAHHkfTKNl.png" alt="drawing" width="450"/>
71
+ <figcaption>Language scores. We observe a significant difference in average scores for different languages. Quite unsurprisingly, the language with the highest quality jokes is English</figcaption>
72
+ </center>
73
+
74
+ To have a better feel for the types of jokes models tend to produce in different languages, we made an interactive plot of joke embeddings.
75
+ We project embeddings of `joke_english` on a 2D space and draw them on a canvas.
76
+
77
+ <figure>
78
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/67054b6963cd3c1d5da67fc5/cxmKoOZEyBMs0JuLc_6iG.png" alt="A Japanese joke">
79
+ <figcaption>Projected joke embeddings on an interactive canvas. Hovering on an example of a top 1% Japanese joke. The success of this joke shows the style of jokes preferred by the Japanese</figcaption>
80
+ </figure>
81
+
82
+ For all of the graphs, check out the [notebook]().
83
+
84
+ These are just the first steps in exploring the quality of generated humour and its reception by different cultures. We can't wait to see what you can do with this dataset!
85
+
86
+
87
+ ## About Rapidata
88
+ Rapidata's technology makes collecting human feedback at scale faster and more accessible than ever before. Visit [rapidata.ai](https://www.rapidata.ai/) to learn more about how we're revolutionizing human feedback collection for AI development.