mariosasko
commited on
Commit
·
b68c5ca
1
Parent(s):
5403654
Make RedCaps streamable (again) (#3737)
Browse filesCommit from https://github.com/huggingface/datasets/commit/5f52561f6c35d4e3ccad87ff949a729b34d2d0d2
- the_pile.py +12 -11
the_pile.py
CHANGED
@@ -50,21 +50,22 @@ _LICENSES = {
|
|
50 |
"uspto": "Unknown",
|
51 |
}
|
52 |
|
|
|
53 |
_DATA_URLS = {
|
54 |
"all": {
|
55 |
-
"train": [f"
|
56 |
-
"validation": ["
|
57 |
-
"test": ["
|
58 |
},
|
59 |
"enron_emails": "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst",
|
60 |
-
"europarl": "
|
61 |
-
"free_law": "
|
62 |
-
"hacker_news": "
|
63 |
-
"nih_exporter": "
|
64 |
-
"pubmed": "
|
65 |
-
"pubmed_central": "
|
66 |
-
"ubuntu_irc": "
|
67 |
-
"uspto": "
|
68 |
}
|
69 |
|
70 |
_FEATURES = {
|
|
|
50 |
"uspto": "Unknown",
|
51 |
}
|
52 |
|
53 |
+
_HOST_URL = "https://mystic.the-eye.eu" # Before: "https://the-eye.eu"
|
54 |
_DATA_URLS = {
|
55 |
"all": {
|
56 |
+
"train": [f"{_HOST_URL}/public/AI/pile/train/{i:0>2}.jsonl.zst" for i in range(30)],
|
57 |
+
"validation": [f"{_HOST_URL}/public/AI/pile/val.jsonl.zst"],
|
58 |
+
"test": [f"{_HOST_URL}/public/AI/pile/test.jsonl.zst"],
|
59 |
},
|
60 |
"enron_emails": "http://eaidata.bmk.sh/data/enron_emails.jsonl.zst",
|
61 |
+
"europarl": f"{_HOST_URL}/public/AI/pile_preliminary_components/EuroParliamentProceedings_1996_2011.jsonl.zst",
|
62 |
+
"free_law": f"{_HOST_URL}/public/AI/pile_preliminary_components/FreeLaw_Opinions.jsonl.zst",
|
63 |
+
"hacker_news": f"{_HOST_URL}/public/AI/pile_preliminary_components/hn.tar.gz",
|
64 |
+
"nih_exporter": f"{_HOST_URL}/public/AI/pile_preliminary_components/NIH_ExPORTER_awarded_grant_text.jsonl.zst",
|
65 |
+
"pubmed": f"{_HOST_URL}/public/AI/pile_preliminary_components/PUBMED_title_abstracts_2019_baseline.jsonl.zst",
|
66 |
+
"pubmed_central": f"{_HOST_URL}/public/AI/pile_preliminary_components/PMC_extracts.tar.gz",
|
67 |
+
"ubuntu_irc": f"{_HOST_URL}/public/AI/pile_preliminary_components/ubuntu_irc_until_2020_9_1.jsonl.zst",
|
68 |
+
"uspto": f"{_HOST_URL}/public/AI/pile_preliminary_components/pile_uspto.tar",
|
69 |
}
|
70 |
|
71 |
_FEATURES = {
|