Datasets:
Cleanup
Browse files- the_pile_github.py +1 -4
the_pile_github.py
CHANGED
|
@@ -14,12 +14,9 @@
|
|
| 14 |
"""GitHub subset of The Pile."""
|
| 15 |
|
| 16 |
|
| 17 |
-
import os
|
| 18 |
-
import re
|
| 19 |
import pandas as pd
|
| 20 |
import datasets
|
| 21 |
import json
|
| 22 |
-
from sklearn.utils import shuffle
|
| 23 |
|
| 24 |
|
| 25 |
_CITATION = """\
|
|
@@ -184,7 +181,7 @@ class SmartContracts(datasets.GeneratorBasedBuilder):
|
|
| 184 |
key = 0
|
| 185 |
for path in files:
|
| 186 |
df = pd.read_parquet(path)
|
| 187 |
-
|
| 188 |
for row in df.itertuples():
|
| 189 |
|
| 190 |
if split_key == "train":
|
|
|
|
| 14 |
"""GitHub subset of The Pile."""
|
| 15 |
|
| 16 |
|
|
|
|
|
|
|
| 17 |
import pandas as pd
|
| 18 |
import datasets
|
| 19 |
import json
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
_CITATION = """\
|
|
|
|
| 181 |
key = 0
|
| 182 |
for path in files:
|
| 183 |
df = pd.read_parquet(path)
|
| 184 |
+
|
| 185 |
for row in df.itertuples():
|
| 186 |
|
| 187 |
if split_key == "train":
|