glennrory commited on
Commit
2f85126
·
verified ·
1 Parent(s): 0b5f1e8

Update data.py

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