Datasets:

ArXiv:
Maurice Weber commited on
Commit
b05567a
·
1 Parent(s): 4a52697

add snapshot ids

Browse files
Files changed (1) hide show
  1. RedPajama-Data-V2.py +87 -3
RedPajama-Data-V2.py CHANGED
@@ -28,15 +28,99 @@ _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
 
35
  _LISTINGS_PATTERN = "listings/{language}-{snapshot}-{partition}.txt"
36
 
37
+ _CC_SNAPSHOT_IDS = (
38
+ "2014-15",
39
+ "2014-23",
40
+ "2014-35",
41
+ "2014-41",
42
+ "2014-42",
43
+ "2014-49",
44
+ "2014-52",
45
+ "2015-14",
46
+ "2015-22",
47
+ "2015-27",
48
+ "2015-32",
49
+ "2015-35",
50
+ "2015-40",
51
+ "2015-48",
52
+ "2016-07",
53
+ "2016-18",
54
+ "2016-22",
55
+ "2016-26",
56
+ "2016-30",
57
+ "2016-36",
58
+ "2016-40",
59
+ "2016-44",
60
+ "2016-50",
61
+ "2017-04",
62
+ "2017-09",
63
+ "2017-17",
64
+ "2017-22",
65
+ "2017-26",
66
+ "2017-30",
67
+ "2017-34",
68
+ "2017-39",
69
+ "2017-43",
70
+ "2017-47",
71
+ "2017-51",
72
+ "2018-05",
73
+ "2018-09",
74
+ "2018-13",
75
+ "2018-17",
76
+ "2018-22",
77
+ "2018-26",
78
+ "2018-30",
79
+ "2018-34",
80
+ "2018-39",
81
+ "2018-43",
82
+ "2018-47",
83
+ "2018-51",
84
+ "2019-04",
85
+ "2019-09",
86
+ "2019-13",
87
+ "2019-18",
88
+ "2019-22",
89
+ "2019-26",
90
+ "2019-30",
91
+ "2019-35",
92
+ "2019-39",
93
+ "2019-43",
94
+ "2019-47",
95
+ "2019-51",
96
+ "2020-05",
97
+ "2020-10",
98
+ "2020-16",
99
+ "2020-24",
100
+ "2020-29",
101
+ "2020-34",
102
+ "2020-40",
103
+ "2020-45",
104
+ "2020-50",
105
+ "2021-04",
106
+ "2021-10",
107
+ "2021-17",
108
+ "2021-21",
109
+ "2021-25",
110
+ "2021-31",
111
+ "2021-39",
112
+ "2021-43",
113
+ "2021-49",
114
+ "2022-05",
115
+ "2022-21",
116
+ "2022-27",
117
+ "2022-33",
118
+ "2022-40",
119
+ "2022-49",
120
+ "2023-06",
121
+ "2023-14"
122
+ )
123
+
124
 
125
  class RedPajamaDataV2Config(datasets.BuilderConfig):
126
  """BuilderConfig for RedPajama."""