Commit ·
6f246a1
1
Parent(s): 7b98d94
Update get_commits.py
Browse files67 unmodified lines686970717267 unmodified lines ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()
diff_ds = ds["train"].map(get_diff, num_proc=64) diff_ds.push_to_hub("bigcode/commits", use_auth_token=True) diff_ds.to_json("diffs.jsonl")get_commits.py+1