File size: 5,129 Bytes
86e4307
35c018d
 
 
86e4307
0d5788d
 
 
 
 
 
 
 
 
 
 
 
7e543b1
 
0d5788d
7e543b1
 
0d5788d
7e543b1
 
 
 
0d5788d
86e4307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12f2dc1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86e4307
 
 
 
 
 
 
 
 
0d5788d
 
 
 
 
 
 
 
12f2dc1
 
 
 
 
 
 
 
86e4307
65c488d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
f1756a9
65c488d
 
f1756a9
65c488d
 
f1756a9
65c488d
f1756a9
 
65c488d
46547ed
 
018f2af
 
 
 
 
 
 
46547ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c320b44
1a16da7
c320b44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
---
license: odc-by
task_categories:
- text-generation
dataset_info:
- config_name: default
  features:
  - name: text
    dtype: string
  - name: score
    dtype: float64
  - name: sha256
    dtype: string
  - name: word_count
    dtype: int64
  splits:
  - name: train
    num_bytes: 3368495537.116657
    num_examples: 9930
  - name: validation
    num_bytes: 194379156.4860627
    num_examples: 571
  - name: test
    num_bytes: 188763796.8902655
    num_examples: 563
  download_size: 2241829581
  dataset_size: 3751638490.492985
- config_name: raw
  features:
  - name: text
    dtype: string
  - name: label
    dtype: string
  - name: score
    dtype: float64
  - name: sha256
    dtype: string
  - name: word_count
    dtype: int64
  splits:
  - name: train
    num_bytes: 3444846235
    num_examples: 9978
  - name: validation
    num_bytes: 198350533
    num_examples: 574
  - name: test
    num_bytes: 193610734
    num_examples: 565
  download_size: 2332500435
  dataset_size: 3836807502
- config_name: v1.0
  features:
  - name: text
    dtype: string
  - name: label
    dtype: string
  - name: score
    dtype: float64
  - name: sha256
    dtype: string
  - name: word_count
    dtype: int64
  splits:
  - name: train
    num_bytes: 3384868097
    num_examples: 9978
  - name: validation
    num_bytes: 195405579
    num_examples: 574
  - name: test
    num_bytes: 189439446
    num_examples: 565
  download_size: 2317475462
  dataset_size: 3769713122
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
- config_name: raw
  data_files:
  - split: train
    path: raw/train-*
  - split: validation
    path: raw/validation-*
  - split: test
    path: raw/test-*
- config_name: v1.0
  data_files:
  - split: train
    path: v1.0/train-*
  - split: validation
    path: v1.0/validation-*
  - split: test
    path: v1.0/test-*
---

# gutenberg - clean


```yml
dataset_info:
- config_name: default
  features:
  - name: text
    dtype: string
  - name: label
    dtype: string
  - name: score
    dtype: float64
  - name: sha256
    dtype: string
  - name: word_count
    dtype: int64
  splits:
  - name: train
    num_bytes: 3384868097
    num_examples: 9978
  - name: validation
    num_bytes: 195405579
    num_examples: 574
  - name: test
    num_bytes: 189439446
    num_examples: 565
  download_size: 2317462261
  dataset_size: 3769713122
```
## default config

has (mostly) fixed newlines vs. `v1.0`

TODO: more words

## v1.0

the v1.0 config has cleaned up whitespace:


```
{'label': 'clean',
 'score': 0.8587704300880432,
 'sha256': '4f45d16cbf81871d0ae27f99bd9a15ff83dfc5bb0010868c3b16f52638b579c7',
 'word_count': 10116}


A GOOD-FOR-NOTHING

By Hjalmar Hjorth Boyesen

By permission of Charles Scribner's Sons.

Copyright, 1876, by James R. Osgood & Co

I

Ralph Grimm was born a gentleman, He had the misfortune of coming into
the world some ten years later than might reasonably have been expected.
Colonel Grim and his lady had celebrated twelve anniversaries of their
wedding-day, and had given up all hopes of ever having a son and heir,
when this late comer startled them by his unexpected appearance. The
only previous addition to the family had been a daughter, and she was
then ten summers old.

Ralph was a very feeble child, and could only with great difficulty be
persuaded to retain his hold of the slender thread which bound him to
existence. He was rubbed with whiskey, and wrapped in cotton, and given
mare's milk to drink, and God knows what not, and the Colonel swore a
round oath of paternal delight when at last the infant stopped gasping
in that distressing way and began to breathe like other human b
```

> in the above, you may notice that all lines are actually hard-wrapped (it is not just for display). this is now mostly fixed in the default

## 'raw' config


some examples will look like:


```
{'label': 'clean',
 'score': 0.6050848364830017,
 'sha256': '02da96e0ca0beae1a3bd8919f04a775849393d730a307b451a8a82a9c012e086',
 'word_count': 81683}
Hutchinson and PG Distributed Proofreaders











ATLANTIC MONTHLY.

A MAGAZINE OF LITERATURE, ART, AND POLITICS.



VOL. V.--JUNE, 1860. NO. XXXII.




THE FUTURE OF AMERICAN RAILWAYS.


The condition of our railways, and their financial prospects, should
interest all of us. It has become a common remark, that railways have
benefited everybody but their projectors. There is a strong doubt in the
minds of many intelligent persons, whether _any_ railways have actually
paid a return on the capital invested in them. It is believed that one of
two results inevitably takes place: in the one case, there is not business
enough to earn a dividend; in the other, although the apparent net earnings
are large enough to pay from six to eight per cent. on the cost, yet in a
few years it is discovered that the machine has been wearing itself out so
fast that the cost of renewal has absorbed more than the earnings, and the
deficiency has been made up by creating new capital or running in debt, to
```