Dan Fu
commited on
Commit
•
dc62863
1
Parent(s):
f04c92d
Include red_pajama_subset
Browse files- RedPajama-Data-1T.py +2 -0
RedPajama-Data-1T.py
CHANGED
@@ -141,11 +141,13 @@ class RedPajama1T(datasets.GeneratorBasedBuilder):
|
|
141 |
yield key, {
|
142 |
"text": text,
|
143 |
"meta": json.dumps(data),
|
|
|
144 |
}
|
145 |
else:
|
146 |
yield key, {
|
147 |
"text": data["text"],
|
148 |
"meta": data["meta"],
|
|
|
149 |
}
|
150 |
key += 1
|
151 |
except Exception as e:
|
|
|
141 |
yield key, {
|
142 |
"text": text,
|
143 |
"meta": json.dumps(data),
|
144 |
+
"red_pajama_subset": subset,
|
145 |
}
|
146 |
else:
|
147 |
yield key, {
|
148 |
"text": data["text"],
|
149 |
"meta": data["meta"],
|
150 |
+
"red_pajama_subset": subset,
|
151 |
}
|
152 |
key += 1
|
153 |
except Exception as e:
|