Datasets:
Update parse.py
Browse files
parse.py
CHANGED
@@ -3,9 +3,7 @@ from datasets import load_dataset, Dataset
|
|
3 |
import json
|
4 |
from tqdm import tqdm
|
5 |
|
6 |
-
|
7 |
-
ds = load_dataset("../datasets/the-stack-smol", data_dir='data/typescript')
|
8 |
-
print('loaded')
|
9 |
|
10 |
def split_ts_into_chunks(ts_code):
|
11 |
result = subprocess.run(
|
|
|
3 |
import json
|
4 |
from tqdm import tqdm
|
5 |
|
6 |
+
ds = load_dataset("bigcode/the-stack-smol", data_dir='data/typescript')
|
|
|
|
|
7 |
|
8 |
def split_ts_into_chunks(ts_code):
|
9 |
result = subprocess.run(
|