Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'visitor_id', 'joke_id', 'no_punchline'}) and 1 missing columns ({'text'}).

This happened while the csv dataset builder was generating data using

hf://datasets/Timxjl/short-jokes-punchline/label.csv (at revision 9dc930f2ef1695a6233d1722f013669a40b3fe42)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1870, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2292, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: int64
              joke_id: int64
              visitor_id: string
              no_punchline: int64
              created_at: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 833
              to
              {'id': Value(dtype='int64', id=None), 'text': Value(dtype='string', id=None), 'created_at': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1417, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1049, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1741, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'visitor_id', 'joke_id', 'no_punchline'}) and 1 missing columns ({'text'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/Timxjl/short-jokes-punchline/label.csv (at revision 9dc930f2ef1695a6233d1722f013669a40b3fe42)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
int64
text
string
created_at
string
1
Which Harry Potter character is best suited for an apple product. Sirius black
2024-11-25 16:11:26.344393
2
People used to laugh at me when I would say "I want to be an actor" Now I'm the only one laughing
2024-11-25 16:11:26.344452
3
How much money do terrible movies make? Ridley Scott. Thank you.
2024-11-25 16:11:26.344454
4
What do you call a bunch of woman in a tree A country
2024-11-25 16:11:26.344455
5
How many graphic designers does it take to change a light bulb? Does it have to be a light bulb? 'Cause I had this other idea...
2024-11-25 16:11:26.344455
6
So this morning I bought a pair of shoes from a drug dealer. I don't know what he laced them with, but I've been tripping all day.
2024-11-25 16:11:26.344456
7
black turf what do you call a black guy buried from the neck up Afro turf
2024-11-25 16:11:26.344457
8
"Sir, the good news is that your colon looks great. Maybe even the best I've ever seen. The bad news is that I'm just a hobo with a hobby."
2024-11-25 16:11:26.344458
9
How do you know your girlfriend is getting fat? She can fit into your wife's clothes.
2024-11-25 16:11:26.344458
10
What did John and Yoko say when their son wouldn't eat his vegetables? "All we are saying is give peas a chance."
2024-11-25 16:11:26.344459
11
What do you call a bulimic tree? Sycamore!
2024-11-25 16:11:26.344460
12
How can you tell ignorance from indifference? I don't know and I don't care.
2024-11-25 16:11:26.344461
13
What did Keanu Reeves say to slow down his horse? Whoa.
2024-11-25 16:11:26.344461
14
Always wear high heels, it makes it easier to look down on him.
2024-11-25 16:11:26.344462
15
I got my first period during Shrek 2 live in theaters which means I entered Shrek 2 a child & left a woman
2024-11-25 16:11:26.344463
16
What's the cheapest kind of meat? Deer testicals they're under a buck.
2024-11-25 16:11:26.344464
17
What does a catholic eat at the movies? Pope-Corn
2024-11-25 16:11:26.344464
18
Remember when AOL was the shit? Then it sucked. Myspace was the shit. Then sucked. Facebook was the shit. Then sucked. Twitter is the shit!
2024-11-25 16:11:26.344465
19
19 and 20 got in a fight... 21
2024-11-25 16:11:26.344466
20
So I saw a truck called 'The Morse Deliverers' reversing yesterday, For some reason it just kept on saying 'S'
2024-11-25 16:11:26.344467
21
I celebrate International Women's Day by visiting my local CVS and torching all their 'JUST FOR MEN' products while screaming: "NOT TODAY!"
2024-11-25 16:11:26.344467
22
What did the pickle say to the cucumber? Come on in the water's brine!
2024-11-25 16:11:26.344468
23
Why do you really not want to get pulled over in Ireland? Because the cops are Dublin the fines! (It took me a three hour car ride to come up with this... I am not a clever person)
2024-11-25 16:11:26.344469
24
I'm sorry you lost the weightlifting competition. Would you like a pick me up?
2024-11-25 16:11:26.344470
25
What did one black guy say to another black guy? We're both black guys.
2024-11-25 16:11:26.344470
26
Hey people who cold call my cell phone: I've got a better way for you to make money with your mouth.
2024-11-25 16:11:26.344471
27
Last night I had an Ant on me... Okay, I guess she was more of a Cougar.
2024-11-25 16:11:26.344472
28
We'd like to sincerely apologize for booking the Karate Convention on the same day as the Rare Wooden Boards Fair
2024-11-25 16:11:26.344473
29
'90s movie spoiler alert: it's Kevin Spacey.
2024-11-25 16:11:26.344474
30
I want to make a series about the murder of an airline crew but I still have to shoot the pilot.
2024-11-25 16:11:26.344474
31
(Can we bring back the good old Chuck Norris short jokes people?-I'll start first) Chuck Norris is the first guy to have made a knot out of a diamond.
2024-11-25 16:11:26.344475
32
Can somebody explain to me the uproar over the CEO editing posts? I mean... what part of Chief Editing Officer don't these people understand?
2024-11-25 16:11:26.344476
33
Do you know why I hate drinking with blind people? They can't handle their booze and always black-out.
2024-11-25 16:11:26.344476
34
This party is boring. Let's make like a baby and head out.
2024-11-25 16:11:26.344477
35
whats the most useless thing on a woman a drunken irishman
2024-11-25 16:11:26.344478
36
One I heard at a restaurant "Am I the first girl you ever kissed?" She whispered softly to her date. "It's possible" he admitted, "Were you at Lake Geneva in 2004?"
2024-11-25 16:11:26.344479
37
I never drop names but I frequently drop babies.
2024-11-25 16:11:26.344479
38
Two guys are walking down the street and see a dog licking his balls... One of them says, "man, I wish I could do that!" The other says, "well, maybe you should pet him first."
2024-11-25 16:11:26.344480
39
Just got out of a 13 month coma Just in time to see my child born!
2024-11-25 16:11:26.344481
40
GOD: hey can I have one of your ribs Adam: what for GOD: uhh science project Adam: you hate science GOD: look do u wanna get laid or not
2024-11-25 16:11:26.344482
41
I like my women like I like my coffee ground up and in the freezer.
2024-11-25 16:11:26.344482
42
Lost both my arms in an accident. The whole incident left me utterly humerless.
2024-11-25 16:11:26.344483
43
If u want to sound smart just make up coding languages. Like "yeah I know DeltaCube, 17v and Amorph," literally nobody will know theyre fake
2024-11-25 16:11:26.344484
44
Why did the calculator pay $100 for a pack of cigarettes? There was a sin tax error. [8.5]
2024-11-25 16:11:26.344484
45
I think my virginity has grown back.
2024-11-25 16:11:26.344485
46
I saw a really nasty wreck on the way to work this morning... ...wish I had had time to pick her up.
2024-11-25 16:11:26.344486
47
I love you so much, I'll just sit at home and stare at my phone to make you notice.
2024-11-25 16:11:26.344487
48
I heard Cobras dance to music. I played some Justin Bieber for my pet Cobra and he bit himself and died.
2024-11-25 16:11:26.344487
49
I have feelings for you. Please take them and leave.
2024-11-25 16:11:26.344488
50
How did Jesus get so ripped? By doing Crossfit
2024-11-25 16:11:26.344489
51
What's harder than nailing a dead baby to a tree? My cock while I'm doing it.
2024-11-25 16:11:26.344490
52
Abusing a word, done correctly I have eye opening experiences every day, quite literally.
2024-11-25 16:11:26.344490
53
Why do pirates like TIG welding so much? Because they have a good supply of ARRgon.
2024-11-25 16:11:26.344491
54
What do my wife and a chest freezer have in common? The exterior is hot, but its cold as ice inside.
2024-11-25 16:11:26.344492
55
My 6 year old nephew is legitimately pissed off that there is no actual monkey in the monkey bread.
2024-11-25 16:11:26.344493
56
sorry I broke up with you in the middle of a corn maze
2024-11-25 16:11:26.344493
57
My friends definitely cannot handle their alcohol. Last night they dropped me 3 times carrying me out of the bar
2024-11-25 16:11:26.344494
58
I was more nervous than a whore in church to tell you this But your about as useless as tits on a nun
2024-11-25 16:11:26.344495
59
Why was the actor detained by airport security? He said he was in town to shoot a pilot.
2024-11-25 16:11:26.344495
60
What did Cinderella say when she got to the ball? Q: What did Cinderella say when she got to the ball? A: [Sound effect - - gagging noises]
2024-11-25 16:11:26.344496
61
Why does Saturday stink? Because it has a turd in it.
2024-11-25 16:11:26.344497
62
LunchablesTM? huge waste of money! I have my kids mill their own wheat then hunt, kill & field strip a wild bologna
2024-11-25 16:11:26.344498
63
"OMG I'm so wet right now" - Me after washing a spoon
2024-11-25 16:11:26.344498
64
Why did the chicken... ...cross the Mobius strip?
2024-11-25 16:11:26.344499
65
My greatest fear is that I'll be reported as a missing person and my family guesstimates my weight way higher than what I actually weigh
2024-11-25 16:11:26.344500
66
What is the cheapest kind of meat? Deer balls they are under a buck!
2024-11-25 16:11:26.344500
67
What's a Norwegian's favourite car? A Fjord Fjesta
2024-11-25 16:11:26.344501
68
[creepy mansion] ME: That portrait is watching us MAN: No way ME: [goes right up to portrait] I'm vegan PORTRAIT: [rolls eyes] ME: I knew it
2024-11-25 16:11:26.344502
69
I hate it when my wife asks if I've been drinking and I accidentally respond with a 9-minute air guitar solo.
2024-11-25 16:11:26.344503
70
Barista asks a customer if they would like their coffee black Customer replies "what other colors do you have?"
2024-11-25 16:11:26.344503
71
My HP printer died today It was like a Brother to me.
2024-11-25 16:11:26.344504
72
"I don't need any love from any man. I only need to love and be loved by ONE man. He is the Son of God, JESUS!".......just say u have been dumped.
2024-11-25 16:11:26.344505
73
Teacher: What came after the stone age and the bronze age? Pupil: The sausage!
2024-11-25 16:11:26.344506
74
Pixar has made me feel affection towards rats, bugs, fish, robots, monsters and even cars. The real test would be a movie about coworkers.
2024-11-25 16:11:26.344506
75
If you're literally asking me to choose between our relationship and my obsession with pointing out doors to people, well, there's the door.
2024-11-25 16:11:26.344507
76
Neat, your girlfriend is made out of the same stuff as your air guitar!
2024-11-25 16:11:26.344508
77
To me, "drink responsibly" means don't spill it.
2024-11-25 16:11:26.344509
78
I carry two crickets around in a small box so when I say something that isn't funny I can supply my own sound effects. They get real tired.
2024-11-25 16:11:26.344509
79
Two Goldfish Are Sitting In A Tank One turns to the other and says "I'll man the guns, you drive"
2024-11-25 16:11:26.344510
80
How do you kill Donald Trump? You gotta guess for this one hint: it's in the name? It's a TRUMPet
2024-11-25 16:11:26.344511
81
HEY CALEB- YOUR COW IS INFERTILE AND YOUR SISTER LIKES DANCING. -Amish trash talk
2024-11-25 16:11:26.344511
82
After legalizing gay marriages the US became 50 states of gay
2024-11-25 16:11:26.344512
83
It's weird that gasoline smells good but tastes amazing
2024-11-25 16:11:26.344513
84
When I was single, my most frequently used approach with women was to play hard to get rid of.
2024-11-25 16:11:26.344514
85
A woman was on trial for murdering her husband with his guitar. The judge asked, "First offender?" She replied, "No. First it was the Gibson, then the Fender."
2024-11-25 16:11:26.344514
86
Why did the thoroughbred break up with the wild horse? Because she was looking for a stable relationship.
2024-11-25 16:11:26.344515
87
Classic rock is like listening to drugs.
2024-11-25 16:11:26.344516
88
Whats better then getting a gold medal in the Paralympics? Walking.
2024-11-25 16:11:26.344516
89
2016 strikes again. The inventor of the inappropriate innuendo has died. His family are taking it really hard.
2024-11-25 16:11:26.344517
90
What do you call a wolf that's aware of its surroundings? Awarewolf
2024-11-25 16:11:26.344518
91
I don't like thinking about gravity. It brings me down.
2024-11-25 16:11:26.344519
92
Knock Knock Who's there ! Anita ! Anita who ? Anita you like I need a hole in the head !
2024-11-25 16:11:26.344519
93
OH MY GOD EDDIE MURPHY IS GOING TO DO STAND UP I'VE BEEN WAITING FOR THIS MOMENT oh never mind they're going to commercial. #SNL40
2024-11-25 16:11:26.344520
94
All the roles in Gravity were played by Martin Lawrence.
2024-11-25 16:11:26.344521
95
What do you call a lesbian with big hands Well hung...
2024-11-25 16:11:26.344522
96
You can tune a guitar... but you can't tuna fish!
2024-11-25 16:11:26.344522
97
You stop bad music with a tuning fork. How do you stop bad singing? A pitchfork
2024-11-25 16:11:26.344523
98
So a neutron walks into a bar He asks the bartender "how much for drink?" The bartender replies, "For you, no charge."
2024-11-25 16:11:26.344524
99
What is a Mexican's most favourite sport? Cross-country
2024-11-25 16:11:26.344525
100
A dog with a cowboy hat, spurs and a cigar limps in through the swinging doors of a saloon... ...He says, "I'm looking for the man who shot my paw"
2024-11-25 16:11:26.344525
End of preview.

Short Jokes Punchline

This dataset contains information about jokes, visitors, labels, and label segments used in a joke labeling application. The data is stored in four CSV files: joke.csv, visitor.csv, label.csv, and label_segment.csv.


Files

joke.csv

This file contains 200 jokes randomly sampled from the Kaggle dataset "Short Jokes." Each row represents a joke with the following columns:

  • id: The unique identifier for the joke.
  • text: The text content of the joke.
  • created_at: The timestamp when the joke was created.

visitor.csv

This file contains information about the visitors who labeled the jokes. Each row represents a visitor with the following columns:

  • id: The unique identifier for the visitor, stored as a UUID.
  • created_at: The timestamp when the visitor was created.

label.csv

This file contains the labels assigned to jokes by visitors. Each row represents a label with the following columns:

  • id: The unique identifier for the label.
  • joke_id: The foreign key referencing the joke being labeled.
  • visitor_id: The foreign key referencing the visitor who labeled the joke.
  • no_punchline: Indicates whether the joke has no punchline (1 for true, 0 for false).
  • created_at: The timestamp when the label was created.

label_segment.csv

This file contains segments of text that have been labeled. Each row represents a label segment with the following columns:

  • id: The unique identifier for the label segment.
  • label_id: The foreign key referencing the label.
  • start_index: The starting index of the labeled segment.
  • end_index: The ending index of the labeled segment.

Usage

This dataset can be used for various purposes, including:

  • Analyzing the distribution of jokes and labels.
  • Studying the behavior of visitors in labeling jokes.
  • Developing and testing machine learning models for joke classification and labeling.

License

This dataset is provided under the GPL v2 License.


Attribution

The jokes in joke.csv are randomly sampled from the Kaggle dataset "Short Jokes" by Abhinav Moudgil. The original dataset is licensed under GPL v2.


Citation

If you use this dataset in your research, please cite it as follows:

@dataset{short-jokes-punchline,
  author = {Jinglong Xiong},
  title = {Short Jokes Punchline},
  year = {year},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/Timxjl/short-jokes-punchline}
}

Citation

For more information about the dataset and related tools, please visit the GitHub repository.

Downloads last month
4