data!: Remove duplicate books and add new ones
Browse files+ Remove bad lines that were not very useful and added books index
- bad_lines.jsonl.gz +0 -3
- books.jsonl.gz +2 -2
- clean_text.jsonl.gz +2 -2
- index.csv +0 -0
- shu.py +2 -3
bad_lines.jsonl.gz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:16a0320c849abf6fad28867b71bdf592b7d812cecf2c54b20ed448c74c7acb80
|
3 |
-
size 1397033113
|
|
|
|
|
|
|
|
books.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62347c7de70fbfd554ff6095ba4538efef5be0b4e7363019fdb953e02f8ca097
|
3 |
+
size 2258266438
|
clean_text.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07321f0dceb823c20665e1bd6892f705a9d12e3c2d675129ac487e4ba70095b4
|
3 |
+
size 940752411
|
index.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
shu.py
CHANGED
@@ -15,8 +15,7 @@ _HOMEPAGE = "https://github.com/shjwudp/shu"
|
|
15 |
|
16 |
_DATA_URLS = {
|
17 |
"books": "books.jsonl.gz",
|
18 |
-
"
|
19 |
-
"clean-text": "clean_text.jsonl.gz",
|
20 |
}
|
21 |
|
22 |
|
@@ -39,7 +38,7 @@ class ShuConfig(datasets.BuilderConfig):
|
|
39 |
class Shu(datasets.GeneratorBasedBuilder):
|
40 |
"""A chinese book dataset."""
|
41 |
|
42 |
-
VERSION = datasets.Version("0.
|
43 |
|
44 |
BUILDER_CONFIG_CLASS = ShuConfig
|
45 |
BUILDER_CONFIGS = [ShuConfig(subsets=[subset]) for subset in _DATA_URLS]
|
|
|
15 |
|
16 |
_DATA_URLS = {
|
17 |
"books": "books.jsonl.gz",
|
18 |
+
"clean text": "clean_text.jsonl.gz",
|
|
|
19 |
}
|
20 |
|
21 |
|
|
|
38 |
class Shu(datasets.GeneratorBasedBuilder):
|
39 |
"""A chinese book dataset."""
|
40 |
|
41 |
+
VERSION = datasets.Version("0.2.0")
|
42 |
|
43 |
BUILDER_CONFIG_CLASS = ShuConfig
|
44 |
BUILDER_CONFIGS = [ShuConfig(subsets=[subset]) for subset in _DATA_URLS]
|