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

Update get_commits.py

Browse files
Files changed (1) hide show
  1. get_commits.py +1 -1
get_commits.py CHANGED
@@ -67,5 +67,5 @@ def get_diff(ex):
67
  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=50)
71
  diff_ds.to_json("diffs.jsonl")
 
67
  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")