ZSvedic commited on
Commit
8436af1
·
verified ·
1 Parent(s): 59418bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -8
README.md CHANGED
@@ -25,17 +25,23 @@ That format is convenient for fine-tuning GPT models, e.g., in [Axolotl](https:/
25
 
26
  ## Dataset Creation
27
 
 
28
  1. Reddit's API was not used directly, as it switched to a quite restrictive license. Instead, I used older Reddit dump [Subreddit comments/submissions 2005-06 to 2023-12](https://academictorrents.com/details/56aa49f9653ba545f48df2e33679f014d2829c10). Inside big torrent file are zstandard compressed ndjson files, each representing a subreddit.
29
  2. I downloaded a portion of subreddits from [List of funny subreddits](https://www.reddit.com/r/redditlists/comments/128ayc/list_of_funny_subreddits/).
30
  3. I filtered a .jsonl files inside .zst to include only the most upvoted thread for each submission.
31
- 4. Each included submission satisfies the following:
32
- * Score >= min (10 upvotes),
33
- * total len is shorter than max_text_len, and
34
- - title is not "[deleted by user]", and
35
- - selftext is not "[removed]" or "[deleted]", and
36
- - links to itself (reddit link) and not an image, video or external link, and
37
- - doesn't start with a link, and
38
- - doesn't have a thumbnail.
 
 
 
 
 
39
 
40
  ## Citation [optional]
41
 
 
25
 
26
  ## Dataset Creation
27
 
28
+ The following procedure was used to create the dataset:
29
  1. Reddit's API was not used directly, as it switched to a quite restrictive license. Instead, I used older Reddit dump [Subreddit comments/submissions 2005-06 to 2023-12](https://academictorrents.com/details/56aa49f9653ba545f48df2e33679f014d2829c10). Inside big torrent file are zstandard compressed ndjson files, each representing a subreddit.
30
  2. I downloaded a portion of subreddits from [List of funny subreddits](https://www.reddit.com/r/redditlists/comments/128ayc/list_of_funny_subreddits/).
31
  3. I filtered a .jsonl files inside .zst to include only the most upvoted thread for each submission.
32
+ 4. Filtered submissions satisfy ALL of the following:
33
+ * score >= min (10 upvotes),
34
+ * total len is shorter than max_text_len (256 characters),
35
+ * title is not "[deleted by user]",
36
+ * selftext is not "[removed]" or "[deleted]",
37
+ * links to itself (reddit link) and not an image, video or external link,
38
+ * doesn't start with a link,
39
+ * doesn't have a thumbnail.
40
+ 5. Filtered comments satisfy ALL of the following:
41
+ * score >= min (5 upvotes),
42
+ * total len is shorter than max_text_len (256 characters),
43
+ * Only only top upvoted reply at each reply level is included.
44
+ 6. All filtered threads were further filtered with local model for humor detection: [Humor-Research/humor-detection-comb-23](https://huggingface.co/Humor-Research/humor-detection-comb-23/tree/main), 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.
45
 
46
  ## Citation [optional]
47