Datasets:

ArXiv:
Maurice Weber commited on
Commit
e1fc14b
1 Parent(s): 912e68f

add snapshot ids

Browse files
Files changed (1) hide show
  1. RedPajama-Data-V2.py +87 -4
RedPajama-Data-V2.py CHANGED
@@ -28,15 +28,98 @@ _DESCRIPTION = """\
28
  RedPajama V2 is a Data Foundation of Web Text Documents with Quality Annotations.
29
  """
30
 
31
- with open("_CC_SNAPSHOT_IDS", "r") as f:
32
- _CC_SNAPSHOT_IDS = [line.strip() for line in f]
33
-
34
  _URL_BASE = 'https://data.together.xyz/redpajama-data-v2/v1.0.0'
35
  _LANGUAGES = ("en", "de", "fr", "es", "it")
36
  _SAMPLE_SNAPSHOT_ID = "2023-06"
37
-
38
  _LISTINGS_PATTERN = "listings/{language}-{snapshot}-{partition}.txt"
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  class RedPajamaDataV2Config(datasets.BuilderConfig):
42
  """BuilderConfig for RedPajama."""
 
28
  RedPajama V2 is a Data Foundation of Web Text Documents with Quality Annotations.
29
  """
30
 
 
 
 
31
  _URL_BASE = 'https://data.together.xyz/redpajama-data-v2/v1.0.0'
32
  _LANGUAGES = ("en", "de", "fr", "es", "it")
33
  _SAMPLE_SNAPSHOT_ID = "2023-06"
 
34
  _LISTINGS_PATTERN = "listings/{language}-{snapshot}-{partition}.txt"
35
 
36
+ _CC_SNAPSHOT_IDS = (
37
+ "2014-15",
38
+ "2014-23",
39
+ "2014-35",
40
+ "2014-41",
41
+ "2014-42",
42
+ "2014-49",
43
+ "2014-52",
44
+ "2015-14",
45
+ "2015-22",
46
+ "2015-27",
47
+ "2015-32",
48
+ "2015-35",
49
+ "2015-40",
50
+ "2015-48",
51
+ "2016-07",
52
+ "2016-18",
53
+ "2016-22",
54
+ "2016-26",
55
+ "2016-30",
56
+ "2016-36",
57
+ "2016-40",
58
+ "2016-44",
59
+ "2016-50",
60
+ "2017-04",
61
+ "2017-09",
62
+ "2017-17",
63
+ "2017-22",
64
+ "2017-26",
65
+ "2017-30",
66
+ "2017-34",
67
+ "2017-39",
68
+ "2017-43",
69
+ "2017-47",
70
+ "2017-51",
71
+ "2018-05",
72
+ "2018-09",
73
+ "2018-13",
74
+ "2018-17",
75
+ "2018-22",
76
+ "2018-26",
77
+ "2018-30",
78
+ "2018-34",
79
+ "2018-39",
80
+ "2018-43",
81
+ "2018-47",
82
+ "2018-51",
83
+ "2019-04",
84
+ "2019-09",
85
+ "2019-13",
86
+ "2019-18",
87
+ "2019-22",
88
+ "2019-26",
89
+ "2019-30",
90
+ "2019-35",
91
+ "2019-39",
92
+ "2019-43",
93
+ "2019-47",
94
+ "2019-51",
95
+ "2020-05",
96
+ "2020-10",
97
+ "2020-16",
98
+ "2020-24",
99
+ "2020-29",
100
+ "2020-34",
101
+ "2020-40",
102
+ "2020-45",
103
+ "2020-50",
104
+ "2021-04",
105
+ "2021-10",
106
+ "2021-17",
107
+ "2021-21",
108
+ "2021-25",
109
+ "2021-31",
110
+ "2021-39",
111
+ "2021-43",
112
+ "2021-49",
113
+ "2022-05",
114
+ "2022-21",
115
+ "2022-27",
116
+ "2022-33",
117
+ "2022-40",
118
+ "2022-49",
119
+ "2023-06",
120
+ "2023-14"
121
+ )
122
+
123
 
124
  class RedPajamaDataV2Config(datasets.BuilderConfig):
125
  """BuilderConfig for RedPajama."""