Datasets:
Update dolma.py
Browse files
dolma.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# Copyright
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
@@ -35,6 +35,7 @@ _URL_LISTS = {
|
|
35 |
"v1_5-sample": "urls/v1_5-sample.txt",
|
36 |
"v1_6": "urls/v1_6.txt",
|
37 |
"v1_6-sample": "urls/v1_6-sample.txt",
|
|
|
38 |
}
|
39 |
_VERSIONS = {
|
40 |
"v1": "1.0.0",
|
@@ -42,6 +43,7 @@ _VERSIONS = {
|
|
42 |
"v1_5-sample": "1.5.0",
|
43 |
"v1_6": "1.6.0",
|
44 |
"v1_6-sample": "1.6.0",
|
|
|
45 |
}
|
46 |
_DATES = {
|
47 |
"v1": "(Aug 2023)",
|
@@ -49,6 +51,7 @@ _DATES = {
|
|
49 |
"v1_5-sample": "(Oct 2023)",
|
50 |
"v1_6": "(Jan 2024)",
|
51 |
"v1_6-sample": "(Jan 2024)",
|
|
|
52 |
}
|
53 |
_BASE_URL = "https://olmo-data.org"
|
54 |
|
@@ -84,7 +87,7 @@ class Dolma(datasets.GeneratorBasedBuilder):
|
|
84 |
for name in _URL_LISTS.keys()
|
85 |
]
|
86 |
|
87 |
-
DEFAULT_CONFIG_NAME = "
|
88 |
|
89 |
def _info(self):
|
90 |
return datasets.DatasetInfo(
|
|
|
1 |
+
# Copyright 2024 Allen Institute for AI
|
2 |
#
|
3 |
# Licensed under the Apache License, Version 2.0 (the "License");
|
4 |
# you may not use this file except in compliance with the License.
|
|
|
35 |
"v1_5-sample": "urls/v1_5-sample.txt",
|
36 |
"v1_6": "urls/v1_6.txt",
|
37 |
"v1_6-sample": "urls/v1_6-sample.txt",
|
38 |
+
"v1_7": "urls/v1_7.txt",
|
39 |
}
|
40 |
_VERSIONS = {
|
41 |
"v1": "1.0.0",
|
|
|
43 |
"v1_5-sample": "1.5.0",
|
44 |
"v1_6": "1.6.0",
|
45 |
"v1_6-sample": "1.6.0",
|
46 |
+
"v1_7": "1.7.0",
|
47 |
}
|
48 |
_DATES = {
|
49 |
"v1": "(Aug 2023)",
|
|
|
51 |
"v1_5-sample": "(Oct 2023)",
|
52 |
"v1_6": "(Jan 2024)",
|
53 |
"v1_6-sample": "(Jan 2024)",
|
54 |
+
"v1_7": "(Apr 2024)",
|
55 |
}
|
56 |
_BASE_URL = "https://olmo-data.org"
|
57 |
|
|
|
87 |
for name in _URL_LISTS.keys()
|
88 |
]
|
89 |
|
90 |
+
DEFAULT_CONFIG_NAME = "v1_7"
|
91 |
|
92 |
def _info(self):
|
93 |
return datasets.DatasetInfo(
|