Dan Fu commited on
Commit
42c1798
1 Parent(s): 4e62b3b

Fix bug with subset configs

Browse files
Files changed (1) hide show
  1. RedPajama-Data-1T.py +7 -7
RedPajama-Data-1T.py CHANGED
@@ -67,49 +67,49 @@ class RedPajama1T(datasets.GeneratorBasedBuilder):
67
 
68
  RedPajama1TConfig(
69
  name = 'arxiv',
70
- subsets = 'arxiv',
71
  version=datasets.Version("1.0.0", ""),
72
  description="RedPajama1T arxiv subset",
73
  ),
74
 
75
  RedPajama1TConfig(
76
  name = 'book',
77
- subsets = 'book',
78
  version=datasets.Version("1.0.0", ""),
79
  description="RedPajama1T book subset",
80
  ),
81
 
82
  RedPajama1TConfig(
83
  name = 'c4',
84
- subsets = 'c4',
85
  version=datasets.Version("1.0.0", ""),
86
  description="RedPajama1T c4 subset",
87
  ),
88
 
89
  RedPajama1TConfig(
90
  name = 'common_crawl',
91
- subsets = 'common_crawl',
92
  version=datasets.Version("1.0.0", ""),
93
  description="RedPajama1T common crawl subset",
94
  ),
95
 
96
  RedPajama1TConfig(
97
  name = 'github',
98
- subsets = 'github',
99
  version=datasets.Version("1.0.0", ""),
100
  description="RedPajama1T github subset",
101
  ),
102
 
103
  RedPajama1TConfig(
104
  name = 'stackexchange',
105
- subsets = 'stackexchange',
106
  version=datasets.Version("1.0.0", ""),
107
  description="RedPajama1T stackexchange subset",
108
  ),
109
 
110
  RedPajama1TConfig(
111
  name = 'wikipedia',
112
- subsets = 'wikipedia',
113
  version=datasets.Version("1.0.0", ""),
114
  description="RedPajama1T wikipedia subset",
115
  ),
 
67
 
68
  RedPajama1TConfig(
69
  name = 'arxiv',
70
+ subsets = ['arxiv'],
71
  version=datasets.Version("1.0.0", ""),
72
  description="RedPajama1T arxiv subset",
73
  ),
74
 
75
  RedPajama1TConfig(
76
  name = 'book',
77
+ subsets = ['book'],
78
  version=datasets.Version("1.0.0", ""),
79
  description="RedPajama1T book subset",
80
  ),
81
 
82
  RedPajama1TConfig(
83
  name = 'c4',
84
+ subsets = ['c4'],
85
  version=datasets.Version("1.0.0", ""),
86
  description="RedPajama1T c4 subset",
87
  ),
88
 
89
  RedPajama1TConfig(
90
  name = 'common_crawl',
91
+ subsets = ['common_crawl'],
92
  version=datasets.Version("1.0.0", ""),
93
  description="RedPajama1T common crawl subset",
94
  ),
95
 
96
  RedPajama1TConfig(
97
  name = 'github',
98
+ subsets = ['github'],
99
  version=datasets.Version("1.0.0", ""),
100
  description="RedPajama1T github subset",
101
  ),
102
 
103
  RedPajama1TConfig(
104
  name = 'stackexchange',
105
+ subsets = ['stackexchange'],
106
  version=datasets.Version("1.0.0", ""),
107
  description="RedPajama1T stackexchange subset",
108
  ),
109
 
110
  RedPajama1TConfig(
111
  name = 'wikipedia',
112
+ subsets = ['wikipedia'],
113
  version=datasets.Version("1.0.0", ""),
114
  description="RedPajama1T wikipedia subset",
115
  ),