Muennighoff commited on
Commit
6f246a1
·
1 Parent(s): 7b98d94

Update get_commits.py

Browse files
Files changed (1) hide show
  1. get_commits.py +1 -0
get_commits.py CHANGED
@@ -68,4 +68,5 @@ if __name__ == "__main__":
68
  ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()
69
 
70
  diff_ds = ds["train"].map(get_diff, num_proc=64)
 
71
  diff_ds.to_json("diffs.jsonl")
 
68
  ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()
69
 
70
  diff_ds = ds["train"].map(get_diff, num_proc=64)
71
+ diff_ds.push_to_hub("bigcode/commits", use_auth_token=True)
72
  diff_ds.to_json("diffs.jsonl")