glennrory commited on
Commit
da4f61a
·
verified ·
1 Parent(s): 752e41b

Update data.py

Browse files
Files changed (1) hide show
  1. data.py +3 -2
data.py CHANGED
@@ -1,2 +1,3 @@
1
- ds = load_dataset("codeparrot/github-code", streaming=True, split="train")
2
- print(next(iter(ds)))
 
 
1
+ def get_data():
2
+ ds = load_dataset("codeparrot/github-code", streaming=True, split="train")
3
+ print(next(iter(ds)))