add to jsonl
Browse files- convert_and_upload.py +2 -0
convert_and_upload.py
CHANGED
|
@@ -48,3 +48,5 @@ sorted_ds = ds.sort(SORT_KEY)
|
|
| 48 |
processed_ds = sorted_ds.map(flatten_examples, num_proc=NUM_PROC).select_columns("text")
|
| 49 |
|
| 50 |
processed_ds.push_to_hub(repo_id=ds_name, token=hf_access_token)
|
|
|
|
|
|
|
|
|
| 48 |
processed_ds = sorted_ds.map(flatten_examples, num_proc=NUM_PROC).select_columns("text")
|
| 49 |
|
| 50 |
processed_ds.push_to_hub(repo_id=ds_name, token=hf_access_token)
|
| 51 |
+
|
| 52 |
+
# processed_ds.to_json("./woorimal.jsonl",num_proc=32,force_ascii=False,indent=1)
|