orz99 undeleted commited on
Commit
bc05acf
0 Parent(s):

Duplicate from RyokoAI/Syosetu711K

Browse files

Co-authored-by: undeleted person <undeleted@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ # Audio files - uncompressed
37
+ *.pcm filter=lfs diff=lfs merge=lfs -text
38
+ *.sam filter=lfs diff=lfs merge=lfs -text
39
+ *.raw filter=lfs diff=lfs merge=lfs -text
40
+ # Audio files - compressed
41
+ *.aac filter=lfs diff=lfs merge=lfs -text
42
+ *.flac filter=lfs diff=lfs merge=lfs -text
43
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
44
+ *.ogg filter=lfs diff=lfs merge=lfs -text
45
+ *.wav filter=lfs diff=lfs merge=lfs -text
46
+ # Image files - uncompressed
47
+ *.bmp filter=lfs diff=lfs merge=lfs -text
48
+ *.gif filter=lfs diff=lfs merge=lfs -text
49
+ *.png filter=lfs diff=lfs merge=lfs -text
50
+ *.tiff filter=lfs diff=lfs merge=lfs -text
51
+ # Image files - compressed
52
+ *.jpg filter=lfs diff=lfs merge=lfs -text
53
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
54
+ *.webp filter=lfs diff=lfs merge=lfs -text
55
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - ja
5
+ tags:
6
+ - novel
7
+ - training
8
+ task_categories:
9
+ - text-classification
10
+ - text-generation
11
+ pretty_name: Syosetuka ni Narou 711K
12
+ size_categories:
13
+ - 100K<n<1M
14
+ duplicated_from: RyokoAI/Syosetu711K
15
+ ---
16
+
17
+ # Dataset Card for Syosetu711K
18
+
19
+ *The BigKnow2022 dataset and its subsets are not yet complete. Not all information here may be accurate or accessible.*
20
+
21
+ ## Dataset Description
22
+
23
+ - **Homepage:** (TODO)
24
+ - **Repository:** <https://github.com/RyokoAI/BigKnow2022>
25
+ - **Paper:** N/A
26
+ - **Leaderboard:** N/A
27
+ - **Point of Contact:** Ronsor/undeleted <ronsor@ronsor.com>
28
+
29
+ ### Dataset Summary
30
+
31
+ Syosetu711K is a dataset composed of approximately 711,700 novels scraped from the Japanese novel self-publishing
32
+ website Syosetuka ni Narou (JA: 小説家になろう, lit. "Let's Become a Novelist") between March 26 and March 27, 2023.
33
+ The dataset contains most if not all novels published on the site, regardless of length or quality; however, we
34
+ include metadata so users of this dataset can filter and evaluate its contents.
35
+
36
+ Syosetu711Kは、日本の小説投稿サイト「小説家になろう」から2023年3月26日から27日にかけてスクレイプされた約711,700冊の小説から
37
+ 構成されるデータセットです。このデータセットには、長さや品質に関係なく、サイトに掲載されているほとんどの小説が含まれています。ただし、
38
+ 各小説のIDも含まれているため、小説家になろうAPIを使ってその情報を検索することができます。
39
+
40
+ ### Supported Tasks and Leaderboards
41
+
42
+ This dataset is primarily intended for unsupervised training of text generation models; however, it may be useful for other purposes.
43
+
44
+ * text-classification
45
+ * text-generation
46
+
47
+ ### Languages
48
+
49
+ * Japanese
50
+
51
+ ## Dataset Structure
52
+
53
+ ### Data Instances
54
+
55
+ ```json
56
+ {
57
+ "text": "【小説タイトル】\n焼けて爛れる恋よりも、微睡む優しい愛が欲しい\n【Nコード】\nN5029ID\n【作者名】\n秋暁秋季\n【あらすじ】\n俺の彼女は物凄く気の多い人だった。\nお眼鏡に適う奴が居れば、瞳孔を蕩
58
+ けさせる人だった。\nその癖照れ屋で、すぐに目を逸らす。\nな...",
59
+ "meta": {
60
+ "subset": "syosetu",
61
+ "q": 0.6,
62
+ "id": "N5029ID",
63
+ "author": "秋暁秋季",
64
+ "userid": 719797,
65
+ "title": "焼けて爛れる恋よりも、微睡む優しい愛が欲しい",
66
+ "length": 871,
67
+ "points": 0,
68
+ "lang": "ja",
69
+ "chapters": 1,
70
+ "keywords": ["気が多い", "浮気性", "無愛想", "照れる", "嫉妬", "好みではない", "クソデカ感情", "空気のような安心感"],
71
+ "isr15": 0,
72
+ "genre": 102,
73
+ "biggenre": 1
74
+ }
75
+ }
76
+ {
77
+ "text": "【小説タイトル】\n【能力者】\n【Nコード】\nN9864IB\n【作者名】\n夢音いちご\n【あらすじ】\n私立アビリティ学園。\n小・中・高・大が一貫となった、大規模な名門校。\nそして、ここは規模の大きさだけ
78
+ でなく、ある特殊な制度を設けて\nいることでも有名だ。\nそれ...",
79
+ "meta": {
80
+ "subset": "syosetu",
81
+ "q": 0.6,
82
+ "id": "N9864IB",
83
+ "author": "夢音いちご",
84
+ "userid": 1912777,
85
+ "title": "【能力者】",
86
+ "length": 2334,
87
+ "points": 0,
88
+ "lang": "ja",
89
+ "chapters": 2,
90
+ "keywords": ["ガールズラブ", "身分差", "伝奇", "日常", "青春", "ラブコメ", "女主人公", "学園", "魔法", "超能力"],
91
+ "isr15": 0,
92
+ "genre": 202,
93
+ "biggenre": 2
94
+ }
95
+ }
96
+ ```
97
+
98
+ ### Data Fields
99
+
100
+ * `text`: the actual novel text, all chapters
101
+ * `meta`: novel metadata
102
+ * `subset`: dataset tag: `syosetu`
103
+ * `lang`: dataset language: `ja` (Japanese)
104
+ * `id`: novel ID/ncode
105
+ * `author`: author name
106
+ * `userid`: author user ID
107
+ * `title`: novel title
108
+ * `length`: novel length in words
109
+ * `points`: global points (corresponds to `global_point` from the Syosetu API)
110
+ * `q`: q-score (quality score) calculated based on `points`
111
+ * `chapters`: number of chapters (corresponds to `general_all_no` from the Syosetu API)
112
+ * `keywords`: array of novel keywords (corresponds to `keyword` from the Syosetu API, split on spaces)
113
+ * `isr15`: whether the novel is rated R15+
114
+ * `genre`: novel genre ID (optional, see Syosetu API documentation)
115
+ * `biggenre`: general novel genre ID (optional, see Syosetu API documentation)
116
+ * `isr18`: whether the novel is rated R18+
117
+ * `nocgenre`: novel genre ID (optional, only available if `isr18` is true, see Syosetu API documentation)
118
+
119
+ *For further reference, see the Syosetuka ni Narou API documentation: <https://dev.syosetu.com/man/api/> (JA).*
120
+
121
+ #### Q-Score Distribution
122
+
123
+ ```
124
+ 0.00: 0
125
+ 0.10: 0
126
+ 0.20: 0
127
+ 0.30: 0
128
+ 0.40: 0
129
+ 0.50: 213005
130
+ 0.60: 331393
131
+ 0.70: 101971
132
+ 0.80: 63877
133
+ 0.90: 1542
134
+ 1.00: 2
135
+ ```
136
+
137
+ ### Data Splits
138
+
139
+ No splitting of the data was performed.
140
+
141
+ ## Dataset Creation
142
+
143
+ ### Curation Rationale
144
+
145
+ Syosetuka ni Narou is the most popular website in Japan for authors wishing to self-publish their novels online. Many works on
146
+ the site been picked up by large commercial publishers. Because of this, we believe that this dataset provides a large corpus
147
+ of high-quality, creative content in the Japanese language.
148
+
149
+ ### Source Data
150
+
151
+ #### Initial Data Collection and Normalization
152
+
153
+ *More information about any referenced scripts, commands, or programs used may be found in the BigKnow2022 GitHub repository.*
154
+
155
+ First, metadata for all novels on the site was gathered into a JSON lines (JSONL) file. The Syosetuka ni Narou API was used to
156
+ obtain this information.
157
+
158
+ Second, this listing was used to create a secondary text file containing a list of only the novel "ncodes," or IDs. This
159
+ secondary file was distributed to downloader nodes.
160
+
161
+ Third, the sister site <https://pdfnovels.net> was queried with each novel ID, and the resulting PDF was saved for later processing.
162
+
163
+ Fourth, the `pdftotext` tool was used to convert the PDF files to text documents. A few other scripts were then used to clean up
164
+ the resulting text files.
165
+
166
+ Finally, the text files and other metadata were converted into the specified data field schema above, and the resulting JSON entries
167
+ were concatenated into the Syosetu711K dataset. The version uploaded to this repository, however, is split into multiple files,
168
+ numbered 00 through 20 inclusive.
169
+
170
+ #### Who are the source language producers?
171
+
172
+ The authors of each novel.
173
+
174
+ ### Annotations
175
+
176
+ #### Annotation process
177
+
178
+ Titles and general genre were collected alongside the novel text and IDs.
179
+
180
+ #### Who are the annotators?
181
+
182
+ There were no human annotators.
183
+
184
+ ### Personal and Sensitive Information
185
+
186
+ The dataset contains only works of fiction, and we do not believe it contains any PII.
187
+
188
+ ## Considerations for Using the Data
189
+
190
+ ### Social Impact of Dataset
191
+
192
+ This dataset is intended to be useful for anyone who wishes to train a model to generate "more entertaining" content in Japanese.
193
+ It may also be useful for other languages depending on your language model.
194
+
195
+ ### Discussion of Biases
196
+
197
+ This dataset is composed of fictional works by various authors. Because of this fact, the contents of this dataset will reflect
198
+ the biases of those authors. **Additionally, this dataset contains NSFW material and was not filtered. Beware of stereotypes.**
199
+
200
+ ### Other Known Limitations
201
+
202
+ N/A
203
+
204
+ ## Additional Information
205
+
206
+ ### Dataset Curators
207
+
208
+ Ronsor Labs
209
+
210
+ ### Licensing Information
211
+
212
+ Apache 2.0, for all parts of which Ronsor Labs or the Ryoko AI Production Committee may be considered authors. All other material is
213
+ distributed under fair use principles.
214
+
215
+ ### Citation Information
216
+
217
+ ```
218
+ @misc{ryokoai2023-bigknow2022,
219
+ title = {BigKnow2022: Bringing Language Models Up to Speed},
220
+ author = {Ronsor},
221
+ year = {2023},
222
+ howpublished = {\url{https://github.com/RyokoAI/BigKnow2022}},
223
+ }
224
+ ```
225
+
226
+ ### Contributions
227
+
228
+ Thanks to @ronsor (GH) for gathering this dataset.
syosetu711k-00.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de7cfd0229245d64b282954556f4e12ba153ddf9dcbcc8ff737af67056018ebd
3
+ size 3220586584
syosetu711k-01.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e0836875451d1b50ba18d1f532274204807fdefa979308eff7c5cb4b357c920
3
+ size 3221351441
syosetu711k-02.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d3f0d8672e69bced664d1a039cd285da264f1f2498507e4174a7b59798d844e
3
+ size 3221158448
syosetu711k-03.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4fb018c691cbce3bbe943de00ef88b6aa00421a00dbae9b58bcb7039170acb2
3
+ size 3220732727
syosetu711k-04.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84355ccf51c675afab2c545dbed770b90d75bd2d752e8e1a0cb6da0b40c11ea1
3
+ size 3221214501
syosetu711k-05.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2eea36ff26d65c9777179b7db47023e39b891b58f6ec882c74a49a6d332ae1fe
3
+ size 3221304575
syosetu711k-06.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:051da53b02ee793e771218d7ab0bcf82628837b85c02983db382aff1f7052563
3
+ size 3221505262
syosetu711k-07.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:918955379bd56f0a100a95ac6c1e76ad950bb08d88bd29abcc1ee697b052b6ef
3
+ size 3221702241
syosetu711k-08.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81ded606621dbd0369e675d7d63a1f688b7e8e886930706661f0dccd2d5f3482
3
+ size 3221565287
syosetu711k-09.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b591dc4ceb03abcfc7ed0e9a9d1143333bdad3f0606350859d00f81461340a51
3
+ size 3221456235
syosetu711k-10.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0a06bdf3987279a97efe15a06cb7cdd2fe2b4d0ea97d3e1bac1ed98ba2c5cd0
3
+ size 3220423064
syosetu711k-11.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:231b822cdb9c7ce4b9cff5a15ef0e7bca667cc016d9fea4a7cb8234bf27c0b51
3
+ size 3221415441
syosetu711k-12.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3a05ad577e5c3aa8c1e10f173c15dde39c9fe87975b30ad135fbd0ddeb2ec3d
3
+ size 3218374312
syosetu711k-13.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dbb30b4b2e8ecf7c2b6086dda15612a1dc52fe51b5af2231dbcb6f8cdffb6cc
3
+ size 3218206914
syosetu711k-14.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:021371453581fa42ea882d2f27f96202ce3ca1d453eb46f71aa79f4fa9dbb47c
3
+ size 3221653267
syosetu711k-15.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a73711d87a04ebe1dd54c304c4f2506efadb92e9407b0ba8819df1f8b02dc89b
3
+ size 3221365347
syosetu711k-16.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:302fa69b0708d5af9f54427b00cff49e378ba251c80773c211ef812016302690
3
+ size 3221588423
syosetu711k-17.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88303d0db6f8c1ff070c8e2c637dc2de0c5d20894775d7d0acba8c14fd477a38
3
+ size 3220935719
syosetu711k-18.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7a9d2f25fee367b9a04bcf5364ca745ca3334b86abed35017d9db08910191b2
3
+ size 3221513238
syosetu711k-19.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:661d8e6dc98a143cb67da6a9b3dcd970b1bf713fc7429ff74238b8c50bd4652a
3
+ size 3221682735
syosetu711k-20.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f542eebc1c1f8d588264d17001d2090f1248631b59ec8f1d07aeba311d62f30
3
+ size 844785050