CoolFace
Datasetpublic

shuttie/reddit-dadjokes

Reddit /r/DadJokes dataset Dataset is based on a semi-public Pushshift Reddit dataset. Source data The actual extract of all top-level posts on /r/DadJokes can be found in the src/reddit_dadjokes.csv.gz file. The raw post contents are very noisy, so we did a couple of steps to clean things up: Used a Llama-8B-instruct to split each dad joke into the intro and a punchline parts. See src/parse.py script for details. Removed too short and too long posts. Also… See the full description on the dataset page: https://huggingface.co/datasets/shuttie/reddit-dadjokes.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes85downloads
Dataset Card

Reddit /r/DadJokes dataset

Dataset is based on a semi-public Pushshift Reddit dataset.

Source data

The actual extract of all top-level posts on /r/DadJokes can be found in the src/reddit_dadjokes.csv.gz file. The raw post contents are very noisy, so we did a couple of steps to clean things up:

  • —Used a Llama-8B-instruct to split each dad joke into the intro and a punchline parts. See src/parse.py script for details.
  • —Removed too short and too long posts. Also removed all punchlines being emojis or URLs.
  • —There are a lot of duplicate submissions present, so we used the intfloat/e5-base-v2 model for semantic deduplication.

Usage

Dataset has all the metadata to be used with the [HF Datasets] library:

python
from datasets import load_dataset

data = load_dataset('shuttie/reddit-dadjokes', split='train')

Stats

147753 jokes split to intro and punchline parts. Jokes are from 2014 till 2022.

Examples

To be Alpaca-format compatible we use the Continue a dad joke: instruction by default, but it's up to you for using something else.

json
{"input": "A grizzly kept talking to me", "output": "He was unbearable", "instruction": "Continue a dad joke:"}
{"input": "I rubbed mayonnaise on my eyes", "output": "Oh fuck oh shit it hurts please help this is no joke it pains fuck help me already", "instruction": "Continue a dad joke:"}
{"input": "What do you say to encourage an asteroid?", "output": "Go little rockstar.", "instruction": "Continue a dad joke:"}
{"input": "They always ask me why my mood is always negative", "output": "Just multiply by -1 \ud83d\ude09", "instruction": "Continue a dad joke:"}
{"input": "Recently I started working with horses", "output": "It's a stable job.", "instruction": "Continue a dad joke:"}
{"input": "My favorite word is \"drool\"", "output": "Just rolls off the tongue.", "instruction": "Continue a dad joke:"}
{"input": "Where\u2019s a dogs favorite place to eat", "output": "At Woofle House", "instruction": "Continue a dad joke:"}
{"input": "Why don't oysters share their pearls?", "output": "They're shellfish \ud83d\udc1a\ud83d\ude02!", "instruction": "Continue a dad joke:"}
{"input": "What do you call two guys hanging out above a window?", "output": "Kurt & Rod", "instruction": "Continue a dad joke:"}
{"input": "Me: I'm not saying a word without my lawyer present!", "output": "So where's my present?!", "instruction": "Continue a dad joke:"}

License

Apache 2.0