fox3000foxy commited on
Commit
fd7bbbf
·
verified ·
1 Parent(s): bb5faf7

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +63 -23
README.md CHANGED
@@ -1,25 +1,65 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: text
5
- dtype: string
6
- - name: tokens
7
- dtype: int64
8
- - name: turns
9
- dtype: int64
10
- - name: characters
11
- dtype: int64
12
- - name: words
13
- dtype: int64
14
- splits:
15
- - name: train
16
- num_bytes: 1470841717
17
- num_examples: 7300839
18
- download_size: 544891621
19
- dataset_size: 1470841717
20
- configs:
21
- - config_name: default
22
- data_files:
23
- - split: train
24
- path: data/train-*
25
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - discord
7
+ - chatml
8
+ - conversation
9
+ - dialogue
10
+ - multi-turn
11
+ - single-turn
12
+ - luna-protocol
13
+ size_categories:
14
+ - 100M<n<1B
15
+ pretty_name: Luna Protocol Dataset
 
 
 
 
 
 
 
 
 
16
  ---
17
+
18
+ > **Discord-Dialogues-Preprocessed-Luna-Protocol** is a preprocessed fork of [mookiezi/Discord-Dialogues](https://huggingface.co/datasets/mookiezi/Discord-Dialogues), adapted for fine-tuning Qwen2.5-family models as part of the **Luna Protocol** project.
19
+
20
+ This dataset contains anonymized Discord conversations for training and evaluating realistic conversational AI models in a ChatML-friendly format. It is derived directly from `mookiezi/Discord-Dialogues` with two targeted preprocessing steps applied (see below) — the underlying conversations, filtering pipeline (PII removal, ToS-risk filtering, dedup), and licensing are unchanged from the original.
21
+
22
+ ## What was changed from the original dataset
23
+
24
+ The original `mookiezi/Discord-Dialogues` ships each example as a ChatML string terminated with the literal token `<|end_of_text|>`. That token is **not** a recognized special token in the Qwen2.5 tokenizer (it originates from Llama 3 / GPT-oss style tokenizers), which meant it would get split into several ordinary sub-tokens during fine-tuning instead of being treated as a single end-of-sequence marker — actively harmful for teaching a model where to stop generating.
25
+
26
+ Two preprocessing steps were applied on top of the original `text` column:
27
+
28
+ 1. **EOS token fix** — every occurrence of `<|end_of_text|>` was replaced with the actual EOS token of the target tokenizer (`<|im_end|>` for Qwen2.5). Any example that didn't already end with an EOS marker had one appended.
29
+ 2. **Length filtering** — examples were filtered using the dataset's own `tokens` column, keeping only exchanges with **8 to 512 tokens**. This removes degenerate very-short exchanges and caps sequence length for training efficiency. Only 127 out of 7,300,966 examples fell outside this range and were dropped.
30
+
31
+ No other changes were made: no re-cleaning, no re-deduplication, no additional filtering of content. The `tokens`, `turns`, `characters`, and `words` metadata columns from the original dataset are preserved as-is (note: `tokens` reflects the original tokenizer's count, not a recount after the EOS substitution).
32
+
33
+ ## Columns
34
+
35
+ | Column | Type | Description |
36
+ | ------------ | ------ | ----------------------------------------------------------------------------- |
37
+ | `text` | string | ChatML-formatted conversation, EOS-corrected for Qwen2.5 (`<|im_start|>`/`<|im_end|>`) |
38
+ | `tokens` | int64 | Token count from the original dataset (used for the 8–512 filter) |
39
+ | `turns` | int64 | Number of conversational turns |
40
+ | `characters` | int64 | Character count |
41
+ | `words` | int64 | Word count |
42
+
43
+ ## Intended use
44
+
45
+ Fine-tuning small-to-mid-size causal language models (tested with Qwen2.5-1.5B-Instruct via QLoRA/Unsloth) to emulate informal, human Discord conversation style, as part of the **Luna Protocol** model family (e.g. `Luna-Protocol-1.5B-Discord-Dialogues`).
46
+
47
+ If you're targeting a different base model whose EOS token differs from Qwen2.5's `<|im_end|>`, you'll want to re-run the EOS substitution step against the original dataset rather than reusing this fork as-is.
48
+
49
+ ## Source dataset
50
+
51
+ - **Original dataset**: [mookiezi/Discord-Dialogues](https://huggingface.co/datasets/mookiezi/Discord-Dialogues) (7.3M exchanges, 16M turns, 139M+ words, anonymized, English, late spring–early fall 2025)
52
+ - **License**: Apache License 2.0 (inherited from the original dataset)
53
+
54
+ ## Citation
55
+
56
+ If you use this dataset, please cite the original:
57
+
58
+ ```
59
+ @misc{discord-dialogues-2025,
60
+ title = {Discord-Dialogues},
61
+ author = {mookiezi},
62
+ year = {2025},
63
+ url = {https://huggingface.co/datasets/mookiezi/Discord-Dialogues}
64
+ }
65
+ ```