license: cc-by-4.0
task_categories:
- text-generation
language:
- en
size_categories:
- 1K<n<10K
Dataset Summary
The "humor-chain" dataset is a machine-filtered collection of the most upvoted Reddit submissions and their replies. Generally, a humor chain is when a short post triggers a chain of one or more replies that Redditors find entertaining. In other words, some entries might be NSFW, topical, or internal jokes.
For example (original thread):
Dataset Details
License
The dataset was created from Reddit's public user-generated content. Reddit's license states in section "2.4 User Content" that such content is ownership of individual reddit users and not Reddit itself. For privacy reasons, all usernames were removed and replaced by "human" (original submission) and "gpt" (all replies). That format is convenient for fine-tuning GPT models, e.g., in Axolotl that is "sharegpt" format type.
Dataset Creation
The dataset was created using the following procedure:
- Reddit's API was not used directly, as API license switched to a more restrictive license (see 2023 Reddit API controversy). Instead, I used older Reddit dump Subreddit comments/submissions 2005-06 to 2023-12. Inside big torrent file are zstandard compressed ndjson files, each representing a subreddit.
- I downloaded a portion of subreddits from List of funny subreddits.
- I filtered a .jsonl files inside .zst to include only the most upvoted thread for each submission.
- Filtered submissions satisfy ALL of the following:
- score >= min (10 upvotes),
- total len is shorter than max_text_len (256 characters),
- title is not "[deleted by user]",
- selftext is not "[removed]" or "[deleted]",
- links to itself (reddit link) and not an image, video or external link,
- doesn't start with a link,
- doesn't have a thumbnail.
- Filtered comments satisfy ALL of the following:
- score >= min (5 upvotes),
- total len is shorter than max_text_len (256 characters),
- Only only top upvoted reply at each reply level is included.
- All filtered threads were further filtered with local model for humor detection: Humor-Research/humor-detection-comb-23, which was slected because it performed the best on (lm233/humor_train)[https://huggingface.co/datasets/lm233/humor_train?row=9] dataset. Threads there were not detected as funny were removed.
Citation [optional]
ToDo