Commit ·
e2e4945
1
Parent(s): 5b0a5d6
Update get_commits.py
Browse files60 unmodified lines61626364656660 unmodified linesif __name__ == "__main__":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")60 unmodified lines61626364656660 unmodified linesif __name__ == "__main__":ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()diff_ds = ds["train"].map(get_diff, num_proc=128)# diff_ds.push_to_hub("bigcode/commits", use_auth_token=True) # Not workingdiff_ds.to_json("diffs.jsonl")
get_commits.py+2-2