shjwudp commited on
Commit
9f80775
1 Parent(s): c8b2dae

data!: Remove duplicate books and add new ones

Browse files

+ Remove bad lines that were not very useful and added books index

Files changed (5) hide show
  1. bad_lines.jsonl.gz +0 -3
  2. books.jsonl.gz +2 -2
  3. clean_text.jsonl.gz +2 -2
  4. index.csv +0 -0
  5. 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:bc4b739971c7efc53cf3b9414a094aa4ec075443a81966ca4356267f64f66aba
3
- size 2302537322
 
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:fb2173bfa3c45577038525765c03cb647d303c41ae8f742212f69ecec016c63a
3
- size 898214366
 
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
- "bad-lines": "bad_lines.jsonl.gz",
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.1.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]