Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -84,7 +84,7 @@ languages = ["css", "prolog", "c", "fortran", "solidity", "kotlin", "literate-ag
|
|
84 |
def dset_gen():
|
85 |
for language in languages:
|
86 |
dset = load_dataset("bigcode/the-stack-dedup", data_dir=f"data/{language}", streaming=True, split="train")
|
87 |
-
sample = dset.take(
|
88 |
for row in sample:
|
89 |
yield row
|
90 |
|
|
|
84 |
def dset_gen():
|
85 |
for language in languages:
|
86 |
dset = load_dataset("bigcode/the-stack-dedup", data_dir=f"data/{language}", streaming=True, split="train")
|
87 |
+
sample = dset.take(250_000)
|
88 |
for row in sample:
|
89 |
yield row
|
90 |
|