AnSungJae3489 commited on
Commit
3d7d016
·
verified ·
1 Parent(s): 076f3b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +132 -35
README.md CHANGED
@@ -1,35 +1,132 @@
1
- # 2ch.sc ()
2
-
3
- ## Processing
4
-
5
- ## Licence
6
-
7
- ...Hard to say. I think this is the first if ever 2ch.sc dataset on HF.co.
8
-
9
- The original license allows for the following (translated from Japanese)
10
-
11
-
12
- **"Print Out / Copy / Free Distribution" OK Mark**
13
- * A mark indicating permission for "printing out," "copying," and "free distribution" **only**.
14
- * This permission is limited to using the work **as is**. It does not include:
15
- * Changing, altering, processing, cutting, partial use, summarizing, translating, transforming, or adapting the work.
16
- * Use for commercial purposes is permitted as long as the distribution is free. (For example, you can copy it for distribution in a company pamphlet if the pamphlet is given away for free).
17
-
18
- **"Non-profit Use for People with Disabilities" OK Mark**
19
- * A mark indicating permission for all forms of non-profit use, such as copying, transmitting, and distributing, **only when the purpose is for use by people with disabilities**.
20
- * This permission **includes** activities such as changing, altering, processing, cutting, partial use, summarizing, translating, transforming, or adapting the work.
21
-
22
- **"Non-profit Use for School Education" OK Mark**
23
- * A mark indicating permission for all forms of non-profit use, such as copying, transmitting, and distributing, **only when the purpose is for use in various school activities**.
24
- * This permission **includes** activities such as changing, altering, processing, cutting, partial use, summarizing, translating, transforming, or adapting the work.
25
-
26
-
27
- ## お詫び (Apology)
28
-
29
- > *負荷が掛かるので、事前相談の無いクローリングも禁止です。*
30
- > *Crawling without prior consultation is also prohibited as it places a load on the system.*
31
-
32
- Although we have not consulted, we have applied the following crawling limits:
33
-
34
- 1. Concurrently, a maximum of 128 connections can be reading from the server.
35
- - While this might sound a lot, in practice the connection maxes out at 100Mbps
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ja
4
+ pretty_name: 2ch.sc
5
+ ---
6
+
7
+ # **2ch.sc Corpus**
8
+ ### A Large-Scale Japanese Anonymous Web Forum Dataset
9
+
10
+ This dataset is a large-scale corpus of user-generated text scraped from `2ch.sc`, a massive and influential anonymous Japanese textboard. As a major successor to the original 2channel (`2ch.net`), it represents a significant, unfiltered snapshot of Japanese internet culture, dialogue, and public opinion spanning decades. The data consists of billions of posts across thousands of topic-specific boards, offering an unparalleled resource for studying informal language, online subcultures, and social trends.
11
+
12
+ ## Dataset Structure
13
+
14
+ The corpus is organized into compressed JSON Lines files (`.jsonl.zst`), where each file represents a single forum board.
15
+
16
+ **File Naming Convention:**
17
+ The filenames follow the pattern `newdump-{region}_{board_name}.jsonl.zst`.
18
+ * **`region`**: Corresponds to the server or subdomain (e.g., `ikura`).
19
+ * **`board_name`**: The name of the specific board (e.g., `anime2`).
20
+
21
+ Each line within a file is a JSON object representing a single thread.
22
+
23
+ ### Data Fields
24
+
25
+ | Field | Type | Description |
26
+ | :--- | :--- | :--- |
27
+ | `id` | Integer | The unique identifier for the thread (timestamp-based). |
28
+ | `title` | String | The title of the thread. |
29
+ | `region` | String | The server/subdomain where the thread originated. |
30
+ | `city` | String | The name of the board. |
31
+ | `replies` | Integer | The total number of replies in the thread. |
32
+ | `messages` | Array[Object] | An array containing all posts within the thread. |
33
+
34
+ ### Message Object Structure
35
+
36
+ Each object in the `messages` array contains the following fields for an individual post:
37
+
38
+ | Field | Type | Description |
39
+ | :--- | :--- | :--- |
40
+ | `name` | String | The username of the poster, often including tripcodes or other identifiers. |
41
+ | `mail` | String | The content of the "mail" field, often used for names such as `sage`. |
42
+ | `dateid` | String | Timestamp and user ID string (e.g., `2016/05/19(木) 00:03:16.25 ID:uDE3xZkb0.net`). |
43
+ | `body` | String | The raw HTML content of the post. |
44
+ | `title` | String / Null | The title of the post, typically only present for the first post in a thread. |
45
+
46
+ <details>
47
+ <summary><strong>Click to view a sample JSON object for a single thread</strong></summary>
48
+
49
+ ```json
50
+ {
51
+ "id": 1463583796,
52
+ "title": "ガールズ&パンツァー GIRLS und PANZER 1591輌目",
53
+ "region": "ikura",
54
+ "city": "anime2",
55
+ "replies": 1005,
56
+ "messages": [
57
+ {
58
+ "name": "名無しさん@お腹いっぱい。@\(^o^)/</b>(ワッチョイ f8f1-xKv1)<b>",
59
+ "mail": "hageteon",
60
+ "dateid": "2016/05/19(木) 00:03:16.25 ID:uDE3xZkb0.net",
61
+ "body": " !extend:on:vvvvv:1000:512 <br> ↑冒頭にコレを二行重ねてスレ立てしておく <br> <br> 戦車道は大和撫子のたしなみ!戦車(パンツァー)のある学園生活、はじ��ました。 <br> ===========================重要=========================================== <br> ・【※実況厳禁】→アニメ特撮実況板:ttp://hayabusa.2ch.net/liveanime/ <br> ・公式以外の動画サイト、ファイル共有に関する話題・URL貼りは厳禁 <br> ・sage進行推奨/煽り、荒らしは徹底放置/2chブラウザの導入推奨 <br> ・次スレは<a href=\"../test/read.cgi/anime2/1463583796/900\" rel=\"noopener noreferrer\" target=\"_blank\">&gt;&gt;900</a>が宣言してから立てる事。無反応なら<a href=\"../test/read.cgi/anime2/1463583796/930\" rel=\"noopener noreferrer\" target=\"_blank\">&gt;&gt;930</a>以降でスレ立て宣言順に立てる事 <br> ・次スレはwikiからコピペして立てて下さい <br> ・巡礼報告はプライバシーに十分配慮し、投稿前に内容を再確認。ガルパンファンとしてマナーを守りましょう <br> ========================================================================== <br> ●放送/配信情報 平成24年10月8日より 12話放送済 <br> TVシリーズ配信 ttp://girls-und-panzer.jp/mv_distribution.html <br> ●前スレ <br> ガールズ&パンツァー GIRLS und PANZER 1590輌目 <br> ttp://hanabi.2ch.net/test/read.cgi/anime2/1463498901/ <hr>VIPQ2_EXTDAT: default:vvvvv:1000:512:----: EXT was configured ",
62
+ "title": "ガールズ&パンツァー GIRLS und PANZER 1591輌目"
63
+ },
64
+ {
65
+ "name": "名無しさん@お腹いっぱい。@\(^o^)/ </b>(ワンミングク MMd0-MTTD)<b>",
66
+ "mail": "sage",
67
+ "dateid": "2016/05/19(木) 00:10:40.89 ID:QtmQIsphM.net",
68
+ "body": " <a href=\"../test/read.cgi/anime2/1463583796/1\" rel=\"noopener noreferrer\" target=\"_blank\">&gt;&gt;1</a> <br> アリガタウ、アリガタウ ",
69
+ "title": null
70
+ }
71
+ ]
72
+ }
73
+ ```
74
+ </details>
75
+
76
+ ## Data Curation and Processing
77
+
78
+ This dataset is a direct conversion from the native 2ch/5ch `.dat` format to JSON Lines. The raw data was compressed with Zstandard due to its large size (approximately **1.8 TB** uncompressed).
79
+
80
+ The scraping code used for collection is provided in `KakoIndex.py`.
81
+
82
+ ## Language
83
+
84
+ * **Primary Language:** Japanese (ja-JP)
85
+ * **Characteristics:** The language is highly informal and specific to the platform's culture, containing extensive internet slang, neologisms, and non-standard linguistic phenomena.
86
+
87
+ ## Licensing Information
88
+
89
+ The licensing for this dataset is complex and not clearly defined for academic or research use. The terms of use from the original source material are translated below.
90
+
91
+ The author's interpretation is that the license is functionally similar to **CC-BY-NC-ND** (Attribution-NonCommercial-NoDerivatives).
92
+
93
+ * **1. "Print Out / Copy / Free Distribution" OK Mark**
94
+ * **Permitted:** Printing, copying, and free distribution of the work *as is*.
95
+ * **Commercial Use:** Permitted only if the distribution is free (e.g., in a free company pamphlet).
96
+ * **NOT Permitted:** Any modification, including changing, altering, processing, cutting, partial use, summarizing, translating, transforming, or adapting the work.
97
+
98
+ * **2. "Non-profit Use for People with Disabilities" OK Mark**
99
+ * **Permitted:** All forms of non-profit use (copying, transmitting, distributing) intended for people with disabilities. This includes modifications and adaptations.
100
+
101
+ * **3. "Non-profit Use for School Education" OK Mark**
102
+ * **Permitted:** All forms of non-profit use (copying, transmitting, distributing) for school activities. This includes modifications and adaptations.
103
+
104
+ > **Disclaimer:** Researchers should consult the original terms on 2ch.sc and use this data at their own risk, considering the legal and ethical implications.
105
+
106
+ ## Potential Use Cases
107
+
108
+ * **Large Language Model Training:** Training or fine-tuning models on informal, conversational Japanese.
109
+ * **Sociolinguistics:** Studying the evolution of slang, memes, and online discourse.
110
+ * **Sentiment Analysis:** Gauging public opinion on various topics (with awareness of significant demographic bias).
111
+ * **Toxicity and Hate Speech Detection:** Developing models to identify harmful content in Japanese.
112
+ * **Cultural Analytics:** Tracking and analyzing social trends and subcultural dynamics.
113
+
114
+ ## ⚠️ Ethical Considerations and Limitations
115
+
116
+ This dataset must be handled with extreme care due to its unfiltered and anonymous nature.
117
+
118
+ * **Hate Speech and Offensive Content:** The corpus contains a high volume of explicit, offensive, and discriminatory content.
119
+ * **Misinformation and Disinformation:** The platform is a significant source of rumors, conspiracy theories, and deliberate misinformation.
120
+ * **Toxicity and Pervasive Bias:** The data reflects strong biases (e.g., misogynistic, xenophobic, political). Models trained on this data will inherit and likely amplify these biases if not carefully mitigated.
121
+ * **Lack of Representativeness:** The user base is a self-selecting demographic and is **not representative** of the general Japanese population.
122
+ * **Privacy Risks:** Although pseudonymous, posts may contain personally identifiable information (PII) through doxxing or self-disclosure. Rigorous PII scrubbing is recommended.
123
+
124
+ ## A Note on the Crawling Process & お詫び (Apology)
125
+
126
+ The original site prohibits crawling without prior consultation. The following note is from the website:
127
+
128
+ > *負荷が掛かるので、事前相談の無いクローリングも禁止です。*
129
+ >
130
+ > *Crawling without prior consultation is also prohibited as it places a load on the system.*
131
+
132
+ Although prior consultation was not performed, the crawl was limited to a maximum of 128 concurrent connections, which in practice saturated the connection at approximately 100Mbps to minimize server load.