oreva commited on
Commit
eb62627
1 Parent(s): 2ec39ee

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -56,3 +56,34 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
60
+ train/00.jsonl filter=lfs diff=lfs merge=lfs -text
61
+ train/01.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ train/02.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ train/03.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ train/04.jsonl filter=lfs diff=lfs merge=lfs -text
65
+ train/05.jsonl filter=lfs diff=lfs merge=lfs -text
66
+ train/06.jsonl filter=lfs diff=lfs merge=lfs -text
67
+ train/07.jsonl filter=lfs diff=lfs merge=lfs -text
68
+ train/08.jsonl filter=lfs diff=lfs merge=lfs -text
69
+ train/09.jsonl filter=lfs diff=lfs merge=lfs -text
70
+ train/10.jsonl filter=lfs diff=lfs merge=lfs -text
71
+ train/11.jsonl filter=lfs diff=lfs merge=lfs -text
72
+ train/12.jsonl filter=lfs diff=lfs merge=lfs -text
73
+ train/13.jsonl filter=lfs diff=lfs merge=lfs -text
74
+ train/14.jsonl filter=lfs diff=lfs merge=lfs -text
75
+ train/15.jsonl filter=lfs diff=lfs merge=lfs -text
76
+ train/16.jsonl filter=lfs diff=lfs merge=lfs -text
77
+ train/17.jsonl filter=lfs diff=lfs merge=lfs -text
78
+ train/18.jsonl filter=lfs diff=lfs merge=lfs -text
79
+ train/19.jsonl filter=lfs diff=lfs merge=lfs -text
80
+ train/20.jsonl filter=lfs diff=lfs merge=lfs -text
81
+ train/22.jsonl filter=lfs diff=lfs merge=lfs -text
82
+ train/23.jsonl filter=lfs diff=lfs merge=lfs -text
83
+ train/24.jsonl filter=lfs diff=lfs merge=lfs -text
84
+ train/25.jsonl filter=lfs diff=lfs merge=lfs -text
85
+ train/26.jsonl filter=lfs diff=lfs merge=lfs -text
86
+ train/27.jsonl filter=lfs diff=lfs merge=lfs -text
87
+ train/28.jsonl filter=lfs diff=lfs merge=lfs -text
88
+ train/29.jsonl filter=lfs diff=lfs merge=lfs -text
89
+ val.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The Pile Replication Code
2
+
3
+ ## The official website for the the Pile is [here](http://pile.eleuther.ai/).
4
+
5
+ The Pile is a large, diverse, open source language modelling data set that consists of many smaller datasets combined together. The objective is to obtain text from as many modalities as possible to ensure that models trained using The Pile will have much broader generalization abilities.
6
+
7
+
8
+ **This repository is for replicating or making variants of the Pile. IF YOU ARE HERE TO USE THE PILE DATASET, THIS REPO IS PROBABLY NOT WHAT YOU ARE LOOKING FOR. A copy of the Pile can be downloaded [here](https://the-eye.eu/public/AI/pile/).**
9
+
10
+ | Component | Raw Size |Weight|Epochs|Effective Size|Mean Document Size|
11
+ |-----------------|----------|------|-----:|--------------|------------------|
12
+ |[Pile-CC](https://github.com/leogao2/commoncrawl_downloader) |227.12 GiB|18.11%| 1.0|227.12 GiB |4.33 KiB |
13
+ |[PubMed Central](https://github.com/EleutherAI/pile-pubmedcentral) |90.27 GiB |14.40%| 2.0|180.55 GiB |30.55 KiB |
14
+ |[Books3](https://twitter.com/theshawwn/status/1320282149329784833) |100.96 GiB|12.07%| 1.5|151.44 GiB |538.36 KiB |
15
+ |[OpenWebText2](https://github.com/EleutherAI/openwebtext2) |62.77 GiB |10.01%| 2.0|125.54 GiB |3.85 KiB |
16
+ |[ArXiv](https://gist.github.com/leogao2/e09b64eae3b987925ccf3b86401624c6) |56.21 GiB |8.96% | 2.0|112.42 GiB |46.61 KiB |
17
+ |[Github](https://github.com/EleutherAI/github-downloader) |95.16 GiB |7.59% | 1.0|95.16 GiB |5.25 KiB |
18
+ |[FreeLaw](https://github.com/thoppe/The-Pile-FreeLaw) |51.15 GiB |6.12% | 1.5|76.73 GiB |15.06 KiB |
19
+ |[StackExchange](https://github.com/EleutherAI/stackexchange-dataset) |32.20 GiB |5.13% | 2.0|64.39 GiB |2.16 KiB |
20
+ |[USPTO Backgrounds](https://github.com/EleutherAI/pile-uspto) |22.90 GiB |3.65% | 2.0|45.81 GiB |4.08 KiB |
21
+ |[PubMed Abstracts](https://github.com/thoppe/The-Pile-PubMed) |19.26 GiB |3.07% | 2.0|38.53 GiB |1.30 KiB |
22
+ |[Gutenberg (PG-19)](https://github.com/deepmind/pg19)|10.88 GiB |2.17% | 2.5|27.19 GiB |398.73 KiB |
23
+ |[OpenSubtitles](https://github.com/sdtblck/Opensubtitles_dataset) |12.98 GiB |1.55% | 1.5|19.47 GiB |30.48 KiB |
24
+ |[Wikipedia (en)](https://github.com/noanabeshima/wikipedia-downloader) |6.38 GiB |1.53% | 3.0|19.13 GiB |1.11 KiB |
25
+ |[DM Mathematics](https://github.com/deepmind/mathematics_dataset) |7.75 GiB |1.24% | 2.0|15.49 GiB |8.00 KiB |
26
+ |[Ubuntu IRC](https://github.com/EleutherAI/pile-ubuntu-irc) |5.52 GiB |0.88% | 2.0|11.03 GiB |545.48 KiB |
27
+ |[BookCorpus2](https://github.com/shawwn/scrap/blob/master/epub2txt-all) |6.30 GiB |0.75% | 1.5|9.45 GiB |369.87 KiB |
28
+ |[EuroParl](https://github.com/thoppe/The-Pile-EuroParl) |4.59 GiB |0.73% | 2.0|9.17 GiB |68.87 KiB |
29
+ |[HackerNews](https://github.com/EleutherAI/hn-scraper) |3.90 GiB |0.62% | 2.0|7.80 GiB |4.92 KiB |
30
+ |[YoutubeSubtitles](https://github.com/sdtblck/youtube_subtitle_dataset) |3.73 GiB |0.60% | 2.0|7.47 GiB |22.55 KiB |
31
+ |[PhilPapers](https://github.com/thoppe/The-Pile-PhilPapers) |2.38 GiB |0.38% | 2.0|4.76 GiB |73.37 KiB |
32
+ |[NIH ExPorter](https://github.com/thoppe/The-Pile-NIH-ExPORTER) |1.89 GiB |0.30% | 2.0|3.79 GiB |2.11 KiB |
33
+ |[Enron Emails](https://github.com/EleutherAI/pile-enron-emails) |0.88 GiB |0.14% | 2.0|1.76 GiB |1.78 KiB |
34
+ |**Total** | | | |1254.20 GiB |5.91 KiB |
35
+
36
+
37
+ (Epochs refers to the number of epochs elapsed after 1.2TB)
38
+
39
+
40
+ ## Usage
41
+
42
+
43
+ Install:
44
+
45
+ ```
46
+ pip install -e .
47
+ ```
48
+
49
+ ### To replicate pile
50
+
51
+ ```
52
+ python the_pile/pile.py --interleave_output 30 --using pile_reprod
53
+ ```
54
+
55
+ Use the pass 2 script [here](https://github.com/EleutherAI/The-Pile/tree/master/processing_scripts) to complete shuffling.
56
+
57
+
58
+ ### Other
59
+
60
+ To force download all data:
61
+ ```
62
+ python the_pile/pile.py --force_download
63
+ ```
64
+
65
+ To generate fasttext training data for CC filtering (OWT2 only):
66
+ ```
67
+ sudo apt install build-essential
68
+ python the_pile/pile.py --using owt2 --make_fasttext
69
+ ```
70
+
71
+ ## Manual Download Components
72
+
73
+ The following components need manual downloading. Either download them or comment out from `pile.py`.
74
+
75
+ - **Bibliotik**: `books3.tar.gz` needs to be in the current directory. Download temporarily unavailable.
76
+
77
+ ## Workflow
78
+
79
+ To propose a new dataset be added to the Pile, [open an issue](https://github.com/EleutherAI/The-Pile/issues/new). Your issue should include a description of the dataset, its size, what language(s) it is in, a link to the data, and any other relevant information. If a project manger approves your proposal, they will change its label to [![Datasets](https://img.shields.io/github/labels/EleutherAI/The-Pile/Dataset)](https://github.com/EleutherAI/The-Pile/labels/Dataset) and add it to [![Project: Datasets](https://img.shields.io/badge/Project-Datasets-lightgrey)](https://github.com/EleutherAI/The-Pile/projects/2). Datasets that we elect to not include in the current version of the Pile will receive a [![Deferred](https://img.shields.io/github/labels/EleutherAI/The-Pile/Deferred%20to%20v2)](https://github.com/EleutherAI/The-Pile/labels/Deferred%20to%20v2) or [![Declined](https://img.shields.io/github/labels/EleutherAI/The-Pile/Declined)](https://github.com/EleutherAI/The-Pile/labels/Declined) label. While we welcome multilingual datasets and plan on including non-English datasets in the future, the initial release of the Pile will be English-only and all submissions of non-English datasets will be deferred.
80
+
81
+ To claim responsibility for implementing an unclaimed dataset, leave a comment on one of our unassigned issues. Once an dataset has been assigned to you, make the necessary changes to `datsets.py` and `pile.py` in a fork and submit a pull request. If you require, you can also submit a script for processing the data as shown [here](https://github.com/EleutherAI/pile_enron_emails).
82
+
83
+ To raise an issue that is not proposing a new dataset, open an issue with the tag [![Feature Request](https://img.shields.io/github/labels/EleutherAI/The-Pile/Feature%20Request)](https://github.com/EleutherAI/The-Pile/labels/Feature%20Request) or [![Bug](https://img.shields.io/github/labels/EleutherAI/The-Pile/Bug)](https://github.com/EleutherAI/The-Pile/labels/Bug) as appropriate.
84
+
85
+ Data ready for final implementation should meet the following criteria:
86
+
87
+ - The data must be in [lm_dataformat](https://github.com/leogao2/lm_dataformat/) format.
88
+ - The data must be shuffled.
89
+
90
+ **In preparation for the initial release, we are no longer accepting additions to the *master* branch. If you would like to contribute a dataset, please submit the pull request to the *Version2* branch.**
docs/2201.07311 ADDED
Binary file (102 kB). View file
 
docs/2201.07311.pdf ADDED
Binary file (300 kB). View file
 
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f87cb69612a54c672cb5afb0f3221ec15c05fae1f34798ae8973561a4b6074da
3
+ size 1372688804
train/00.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aea7a0193f9dbe54dbb2a0feca21bb843f9e97025ecf4ad15fb67a63396c5761
3
+ size 45654792897
train/01.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e619180044a412fe077dc774efb93797f5b1120c1ce7c5975c3acca6ba0057e1
3
+ size 45560800367
train/02.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:307a15de185ae3b3b4818a7dfdf43c43ae040ba0de033f7e5da9f1c3702661b2
3
+ size 45526339902
train/03.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:25d39ce4b0cbdd25970aa8fc23287c225ea420355d88cf563b56898450d4b7fc
3
+ size 45505776667
train/04.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a7e1c51ec64e4da44e258ea3212235bd6e6a5788570640ccec8287384930aa9
3
+ size 45456264385
train/05.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f72ed885027b389bceb98ae59fd3bfaf1649e900742401bf8a537d889cfef84f
3
+ size 45557240752
train/06.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99c14bc43d9f2f14d381e4919e53fd0bf7ec5900aeab86c867488ff7b759fa71
3
+ size 45668974725
train/07.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed8378f1ffad64d3531fc3fc82ca0287442365f2764f18c65d8caa778286d5e6
3
+ size 45842838649
train/08.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80aa36f2fdbd817a776704685fa874276ef772c134bca02f5b5963e81331a540
3
+ size 45591347173
train/09.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a057c3456f7942f59f5ee80db67fb2414fc7aa85af7794da7b5009621b0bb10
3
+ size 45567111804
train/10.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd7cf66eb96d193969e938d54659f8f1ef05ef51310af1d9fe148999beccd0a9
3
+ size 45606130451
train/11.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4a304ec1978de5b8efaddafa4e4395b2923132a1f887c74c13cfedf9cb2072
3
+ size 45572521454
train/12.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34ea48802fc36ab82a5fa613a1da771093e433d9be92a341f5fe60edb10960cc
3
+ size 45714666016
train/13.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:654873431556347ab29acae4df0a26edbf22f38fbc43337ed929f6a69bd9a6c8
3
+ size 45518757090
train/14.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02be4728c84c3ec4fa202de1c04bc3b1c01a65cf1f4dc0bd850b0bbc59402f3a
3
+ size 45561481772
train/15.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45ab9bec913e95686fa8de38e3f5bb573800509796314875f412b66c48394e74
3
+ size 45732459094
train/16.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dbb3a9c6674782fccb843c2ec2578cc2934f6a0d6d55bc204c689f9f5627e76
3
+ size 45772246727
train/17.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:317b8db8f742762839a39f6a7fae6ac700dc7057605523d3fcde5590120bef5d
3
+ size 45834962668
train/18.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62bc25d9a03d4184d8a66532441c0a4fd9a987e26f1051a4abba77128653b53e
3
+ size 45816187857
train/19.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e16a259317009c38b463e278fa14510d2098b0b5927ced2c9691f91e3878c3
3
+ size 45766809841
train/20.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b531ebe9a5b97880c47437045490b7b9dfe18e7de8156a6e4f0d320ef9a156c0
3
+ size 45521510270
train/22.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8526c4b2e7419c7d8307b03c64b994310e812feb5b66757c7c76a390ce3f747
3
+ size 45865113332
train/23.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07292b97fa062070de156fb6f78ebb02fa3d4cf77792ea917424f1da87974266
3
+ size 45798688752
train/24.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c5aded3f6a7d8213638aff861623b163193408deff0c18c94e3a4327d65b42a
3
+ size 45480828360
train/25.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f4168ab15bcbfe96a749b04534742bf5ff21c1fc7aa3b853ecb068b660cc3df
3
+ size 45493053312
train/26.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30fd03b6fabebe7d69694ffbd3c44d03347acdeb11459854ec8979f23dac2aeb
3
+ size 45516542975
train/27.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b99416ca2f59492c8453a1483395e4967964dea13c8d6877bfa10fe7ed080ab6
3
+ size 45562638554
train/28.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc03334760f96cc8998429614142982e805c86c15d0b6b7e4ad6666dacd4b45a
3
+ size 45561463891
train/29.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e693def3d9ef52351ebc5a4b8868900145115e3ac2a43d16d586969e1580ccf
3
+ size 45555948029
val.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbbc4c90f3390e429047a10f02c85516027cf46a95f40aeecff4acf2bc721450
3
+ size 1409057992