Muennighoff commited on
Commit
e2e4945
1 Parent(s): 5b0a5d6

Update get_commits.py

Browse files
Files changed (1) hide show
  1. get_commits.py +2 -2
get_commits.py CHANGED
@@ -61,6 +61,6 @@ def get_diff(ex):
61
  if __name__ == "__main__":
62
  ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()
63
 
64
- diff_ds = ds["train"].map(get_diff, num_proc=64)
65
- diff_ds.push_to_hub("bigcode/commits", use_auth_token=True)
66
  diff_ds.to_json("diffs.jsonl")
 
61
  if __name__ == "__main__":
62
  ds = datasets.load_dataset("bigcode/github-commits", use_auth_token=True).shuffle()
63
 
64
+ diff_ds = ds["train"].map(get_diff, num_proc=128)
65
+ # diff_ds.push_to_hub("bigcode/commits", use_auth_token=True) # Not working
66
  diff_ds.to_json("diffs.jsonl")