Muennighoff
commited on
Commit
•
d4416e0
1
Parent(s):
b64272f
Update multi_threaded_processed.py
Browse files
multi_threaded_processed.py
CHANGED
@@ -177,7 +177,7 @@ if __name__ == "__main__":
|
|
177 |
"""
|
178 |
path = "github-commits-diff/data/diffs_50331648_58720256.jsonl"
|
179 |
ds = datasets.load_dataset("json", data_files=path)
|
180 |
-
sub_ds = ds.filter(lambda x: x['stderr'].startswith("fatal"))
|
181 |
skipped_ds = ds.filter(lambda x: not(x['stderr'].startswith("fatal")))
|
182 |
|
183 |
datasets.concatenate_datasets((
|
|
|
177 |
"""
|
178 |
path = "github-commits-diff/data/diffs_50331648_58720256.jsonl"
|
179 |
ds = datasets.load_dataset("json", data_files=path)
|
180 |
+
sub_ds = ds.filter(lambda x: x['stderr'].startswith("fatal: unable to acces"))
|
181 |
skipped_ds = ds.filter(lambda x: not(x['stderr'].startswith("fatal")))
|
182 |
|
183 |
datasets.concatenate_datasets((
|