org 100k chunked
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- chunk-dataset.py +2 -2
- data/{0074c110-5dd9-4af1-29a7-cecd2ae1b86c.png β chunk_0/0074c110-5dd9-4af1-29a7-cecd2ae1b86c.png} +0 -0
- data/{00847945-08c8-465d-822f-b080f7fab497.png β chunk_0/00847945-08c8-465d-822f-b080f7fab497.png} +0 -0
- data/{00b9bc26-9282-4c50-2f20-8d850d2d9afd.png β chunk_0/00b9bc26-9282-4c50-2f20-8d850d2d9afd.png} +0 -0
- data/{0134b901-abdd-6977-12e5-da07066357af.png β chunk_0/0134b901-abdd-6977-12e5-da07066357af.png} +0 -0
- data/{01595539-a54a-4042-a5d1-98132866bd0c.png β chunk_0/01595539-a54a-4042-a5d1-98132866bd0c.png} +0 -0
- data/{01cc120d-c281-48c3-8d02-0e14c1aa10fe.png β chunk_0/01cc120d-c281-48c3-8d02-0e14c1aa10fe.png} +0 -0
- data/{022417b5-4980-6c54-0f3c-6736bbbb1a5e.png β chunk_0/022417b5-4980-6c54-0f3c-6736bbbb1a5e.png} +0 -0
- data/{02dcb728-1ed6-402d-9990-4824b6b488ac.png β chunk_0/02dcb728-1ed6-402d-9990-4824b6b488ac.png} +0 -0
- data/{02f533d7-ec44-2259-efb5-39bb17f8045b.png β chunk_0/02f533d7-ec44-2259-efb5-39bb17f8045b.png} +0 -0
- data/{030dccf1-cc61-d5f4-5aab-4a161a609e07.png β chunk_0/030dccf1-cc61-d5f4-5aab-4a161a609e07.png} +0 -0
- data/{03857052-9b8d-4e11-d969-d0178e34c277.png β chunk_0/03857052-9b8d-4e11-d969-d0178e34c277.png} +0 -0
- data/{039dcb21-89b9-66eb-363c-6efa303373f8.png β chunk_0/039dcb21-89b9-66eb-363c-6efa303373f8.png} +0 -0
- data/{03b0ea6f-6da0-00c1-8c17-1ad52c7b630d.png β chunk_0/03b0ea6f-6da0-00c1-8c17-1ad52c7b630d.png} +0 -0
- data/{043a4d96-700c-4994-77e4-5fcddd8a0603.png β chunk_0/043a4d96-700c-4994-77e4-5fcddd8a0603.png} +0 -0
- data/{044a1f3e-dfec-49fe-ef46-5c3426634eb3.png β chunk_0/044a1f3e-dfec-49fe-ef46-5c3426634eb3.png} +0 -0
- data/{044d7516-e70a-f9be-5387-a51aec861d87.png β chunk_0/044d7516-e70a-f9be-5387-a51aec861d87.png} +0 -0
- data/{0466df1f-577c-89d2-55ef-c514a45b8956.png β chunk_0/0466df1f-577c-89d2-55ef-c514a45b8956.png} +0 -0
- data/{058610e3-7e78-42c8-9c26-e441802b21c4.png β chunk_0/058610e3-7e78-42c8-9c26-e441802b21c4.png} +0 -0
- data/{05d37991-ec7d-c936-2694-630fda083232.png β chunk_0/05d37991-ec7d-c936-2694-630fda083232.png} +0 -0
- data/{0659accb-c672-23c6-4ebc-57a53d2869ce.png β chunk_0/0659accb-c672-23c6-4ebc-57a53d2869ce.png} +0 -0
- data/{065e8649-3788-ec5b-e753-0797038255ae.png β chunk_0/065e8649-3788-ec5b-e753-0797038255ae.png} +0 -0
- data/{06913207-db0b-5fad-3ba2-8333aefc6c0a.png β chunk_0/06913207-db0b-5fad-3ba2-8333aefc6c0a.png} +0 -0
- data/{06ad3dea-6e56-460c-bcc5-98e3971c3f71.png β chunk_0/06ad3dea-6e56-460c-bcc5-98e3971c3f71.png} +0 -0
- data/{06eb75d0-4bb5-5554-0310-470f10d38ce9.png β chunk_0/06eb75d0-4bb5-5554-0310-470f10d38ce9.png} +0 -0
- data/{07506580-29bb-4550-9dff-51b9184d7954.png β chunk_0/07506580-29bb-4550-9dff-51b9184d7954.png} +0 -0
- data/{076574a6-3dbf-40d4-96f4-b25f87837f70.png β chunk_0/076574a6-3dbf-40d4-96f4-b25f87837f70.png} +0 -0
- data/{0773f5a3-4ae4-ca77-4316-5314e33c33ea.png β chunk_0/0773f5a3-4ae4-ca77-4316-5314e33c33ea.png} +0 -0
- data/{0774a0c0-6363-9100-57e8-089134bf3f8b.png β chunk_0/0774a0c0-6363-9100-57e8-089134bf3f8b.png} +0 -0
- data/{07d5a992-c718-466a-8a50-d08f1c661512.png β chunk_0/07d5a992-c718-466a-8a50-d08f1c661512.png} +0 -0
- data/{07d8974c-4035-1aba-c632-5d9ed450351a.png β chunk_0/07d8974c-4035-1aba-c632-5d9ed450351a.png} +0 -0
- data/{080459f0-52e3-4a57-ddde-0e90494a2b83.png β chunk_0/080459f0-52e3-4a57-ddde-0e90494a2b83.png} +0 -0
- data/{082c5040-b53c-4380-98e8-ddcd35d62cf3.png β chunk_0/082c5040-b53c-4380-98e8-ddcd35d62cf3.png} +0 -0
- data/{08410510-d31d-4dd6-8dc1-cc764e79dcfd.png β chunk_0/08410510-d31d-4dd6-8dc1-cc764e79dcfd.png} +0 -0
- data/{0847f8a3-9270-4a95-a591-c20fc5fb0c63.png β chunk_0/0847f8a3-9270-4a95-a591-c20fc5fb0c63.png} +0 -0
- data/{086623ad-4a75-240e-eccd-f4ca30828f00.png β chunk_0/086623ad-4a75-240e-eccd-f4ca30828f00.png} +0 -0
- data/{086fbab2-976c-c815-44ac-73ab40c80996.png β chunk_0/086fbab2-976c-c815-44ac-73ab40c80996.png} +0 -0
- data/{08c35c1f-c845-4d3e-ba42-67bffe0fef65.png β chunk_0/08c35c1f-c845-4d3e-ba42-67bffe0fef65.png} +0 -0
- data/{0901ccd2-feff-4af7-9b69-6c00b458e426.png β chunk_0/0901ccd2-feff-4af7-9b69-6c00b458e426.png} +0 -0
- data/{091e9d0a-0017-4f13-60ac-34edd5685e4e.png β chunk_0/091e9d0a-0017-4f13-60ac-34edd5685e4e.png} +0 -0
- data/{093a62ed-3746-16d2-0ba3-0215d60c7ac1.png β chunk_0/093a62ed-3746-16d2-0ba3-0215d60c7ac1.png} +0 -0
- data/{09925a67-4502-304b-7934-ae7adbbbd5ec.png β chunk_0/09925a67-4502-304b-7934-ae7adbbbd5ec.png} +0 -0
- data/{09fe3ece-4698-82cb-fb4b-5dea32b825e7.png β chunk_0/09fe3ece-4698-82cb-fb4b-5dea32b825e7.png} +0 -0
- data/{09ff81fd-7272-49ea-93d5-afead24b344b.png β chunk_0/09ff81fd-7272-49ea-93d5-afead24b344b.png} +0 -0
- data/{0a41e03e-6aff-6bed-b3f4-4c4fcc9f7634.png β chunk_0/0a41e03e-6aff-6bed-b3f4-4c4fcc9f7634.png} +0 -0
- data/{0a4bfd0a-d863-ddd5-3699-ebbe1e0a9405.png β chunk_0/0a4bfd0a-d863-ddd5-3699-ebbe1e0a9405.png} +0 -0
- data/{0aac6022-54d1-47e8-9b79-060b2bb35010.png β chunk_0/0aac6022-54d1-47e8-9b79-060b2bb35010.png} +0 -0
- data/{0ad1e5d8-64e0-c926-df61-dd7f9af965bb.png β chunk_0/0ad1e5d8-64e0-c926-df61-dd7f9af965bb.png} +0 -0
- data/{0af9627f-abe2-d21f-8832-7022de2fa311.png β chunk_0/0af9627f-abe2-d21f-8832-7022de2fa311.png} +0 -0
- data/{0b786bb2-d40c-47cf-93c4-5a41925b94d4.png β chunk_0/0b786bb2-d40c-47cf-93c4-5a41925b94d4.png} +0 -0
chunk-dataset.py
CHANGED
@@ -28,7 +28,7 @@ if __name__ == "__main__":
|
|
28 |
# update file name in JSONL recor
|
29 |
d["file_name"] = f"./chunk_{chunk_nb}/" + d.get("file_name")
|
30 |
count += 1
|
31 |
-
if count >=
|
32 |
chunk_nb += 1
|
33 |
count = 0
|
34 |
os.mkdir("./data/" + f"chunk_{chunk_nb}/")
|
@@ -37,4 +37,4 @@ if __name__ == "__main__":
|
|
37 |
f.write(json.dumps(d) + "\n")
|
38 |
# print(d.get("file_name"))
|
39 |
print(len(data))
|
40 |
-
print(count)
|
|
|
28 |
# update file name in JSONL recor
|
29 |
d["file_name"] = f"./chunk_{chunk_nb}/" + d.get("file_name")
|
30 |
count += 1
|
31 |
+
if count >= 1000:
|
32 |
chunk_nb += 1
|
33 |
count = 0
|
34 |
os.mkdir("./data/" + f"chunk_{chunk_nb}/")
|
|
|
37 |
f.write(json.dumps(d) + "\n")
|
38 |
# print(d.get("file_name"))
|
39 |
print(len(data))
|
40 |
+
print(count)
|
data/{0074c110-5dd9-4af1-29a7-cecd2ae1b86c.png β chunk_0/0074c110-5dd9-4af1-29a7-cecd2ae1b86c.png}
RENAMED
File without changes
|
data/{00847945-08c8-465d-822f-b080f7fab497.png β chunk_0/00847945-08c8-465d-822f-b080f7fab497.png}
RENAMED
File without changes
|
data/{00b9bc26-9282-4c50-2f20-8d850d2d9afd.png β chunk_0/00b9bc26-9282-4c50-2f20-8d850d2d9afd.png}
RENAMED
File without changes
|
data/{0134b901-abdd-6977-12e5-da07066357af.png β chunk_0/0134b901-abdd-6977-12e5-da07066357af.png}
RENAMED
File without changes
|
data/{01595539-a54a-4042-a5d1-98132866bd0c.png β chunk_0/01595539-a54a-4042-a5d1-98132866bd0c.png}
RENAMED
File without changes
|
data/{01cc120d-c281-48c3-8d02-0e14c1aa10fe.png β chunk_0/01cc120d-c281-48c3-8d02-0e14c1aa10fe.png}
RENAMED
File without changes
|
data/{022417b5-4980-6c54-0f3c-6736bbbb1a5e.png β chunk_0/022417b5-4980-6c54-0f3c-6736bbbb1a5e.png}
RENAMED
File without changes
|
data/{02dcb728-1ed6-402d-9990-4824b6b488ac.png β chunk_0/02dcb728-1ed6-402d-9990-4824b6b488ac.png}
RENAMED
File without changes
|
data/{02f533d7-ec44-2259-efb5-39bb17f8045b.png β chunk_0/02f533d7-ec44-2259-efb5-39bb17f8045b.png}
RENAMED
File without changes
|
data/{030dccf1-cc61-d5f4-5aab-4a161a609e07.png β chunk_0/030dccf1-cc61-d5f4-5aab-4a161a609e07.png}
RENAMED
File without changes
|
data/{03857052-9b8d-4e11-d969-d0178e34c277.png β chunk_0/03857052-9b8d-4e11-d969-d0178e34c277.png}
RENAMED
File without changes
|
data/{039dcb21-89b9-66eb-363c-6efa303373f8.png β chunk_0/039dcb21-89b9-66eb-363c-6efa303373f8.png}
RENAMED
File without changes
|
data/{03b0ea6f-6da0-00c1-8c17-1ad52c7b630d.png β chunk_0/03b0ea6f-6da0-00c1-8c17-1ad52c7b630d.png}
RENAMED
File without changes
|
data/{043a4d96-700c-4994-77e4-5fcddd8a0603.png β chunk_0/043a4d96-700c-4994-77e4-5fcddd8a0603.png}
RENAMED
File without changes
|
data/{044a1f3e-dfec-49fe-ef46-5c3426634eb3.png β chunk_0/044a1f3e-dfec-49fe-ef46-5c3426634eb3.png}
RENAMED
File without changes
|
data/{044d7516-e70a-f9be-5387-a51aec861d87.png β chunk_0/044d7516-e70a-f9be-5387-a51aec861d87.png}
RENAMED
File without changes
|
data/{0466df1f-577c-89d2-55ef-c514a45b8956.png β chunk_0/0466df1f-577c-89d2-55ef-c514a45b8956.png}
RENAMED
File without changes
|
data/{058610e3-7e78-42c8-9c26-e441802b21c4.png β chunk_0/058610e3-7e78-42c8-9c26-e441802b21c4.png}
RENAMED
File without changes
|
data/{05d37991-ec7d-c936-2694-630fda083232.png β chunk_0/05d37991-ec7d-c936-2694-630fda083232.png}
RENAMED
File without changes
|
data/{0659accb-c672-23c6-4ebc-57a53d2869ce.png β chunk_0/0659accb-c672-23c6-4ebc-57a53d2869ce.png}
RENAMED
File without changes
|
data/{065e8649-3788-ec5b-e753-0797038255ae.png β chunk_0/065e8649-3788-ec5b-e753-0797038255ae.png}
RENAMED
File without changes
|
data/{06913207-db0b-5fad-3ba2-8333aefc6c0a.png β chunk_0/06913207-db0b-5fad-3ba2-8333aefc6c0a.png}
RENAMED
File without changes
|
data/{06ad3dea-6e56-460c-bcc5-98e3971c3f71.png β chunk_0/06ad3dea-6e56-460c-bcc5-98e3971c3f71.png}
RENAMED
File without changes
|
data/{06eb75d0-4bb5-5554-0310-470f10d38ce9.png β chunk_0/06eb75d0-4bb5-5554-0310-470f10d38ce9.png}
RENAMED
File without changes
|
data/{07506580-29bb-4550-9dff-51b9184d7954.png β chunk_0/07506580-29bb-4550-9dff-51b9184d7954.png}
RENAMED
File without changes
|
data/{076574a6-3dbf-40d4-96f4-b25f87837f70.png β chunk_0/076574a6-3dbf-40d4-96f4-b25f87837f70.png}
RENAMED
File without changes
|
data/{0773f5a3-4ae4-ca77-4316-5314e33c33ea.png β chunk_0/0773f5a3-4ae4-ca77-4316-5314e33c33ea.png}
RENAMED
File without changes
|
data/{0774a0c0-6363-9100-57e8-089134bf3f8b.png β chunk_0/0774a0c0-6363-9100-57e8-089134bf3f8b.png}
RENAMED
File without changes
|
data/{07d5a992-c718-466a-8a50-d08f1c661512.png β chunk_0/07d5a992-c718-466a-8a50-d08f1c661512.png}
RENAMED
File without changes
|
data/{07d8974c-4035-1aba-c632-5d9ed450351a.png β chunk_0/07d8974c-4035-1aba-c632-5d9ed450351a.png}
RENAMED
File without changes
|
data/{080459f0-52e3-4a57-ddde-0e90494a2b83.png β chunk_0/080459f0-52e3-4a57-ddde-0e90494a2b83.png}
RENAMED
File without changes
|
data/{082c5040-b53c-4380-98e8-ddcd35d62cf3.png β chunk_0/082c5040-b53c-4380-98e8-ddcd35d62cf3.png}
RENAMED
File without changes
|
data/{08410510-d31d-4dd6-8dc1-cc764e79dcfd.png β chunk_0/08410510-d31d-4dd6-8dc1-cc764e79dcfd.png}
RENAMED
File without changes
|
data/{0847f8a3-9270-4a95-a591-c20fc5fb0c63.png β chunk_0/0847f8a3-9270-4a95-a591-c20fc5fb0c63.png}
RENAMED
File without changes
|
data/{086623ad-4a75-240e-eccd-f4ca30828f00.png β chunk_0/086623ad-4a75-240e-eccd-f4ca30828f00.png}
RENAMED
File without changes
|
data/{086fbab2-976c-c815-44ac-73ab40c80996.png β chunk_0/086fbab2-976c-c815-44ac-73ab40c80996.png}
RENAMED
File without changes
|
data/{08c35c1f-c845-4d3e-ba42-67bffe0fef65.png β chunk_0/08c35c1f-c845-4d3e-ba42-67bffe0fef65.png}
RENAMED
File without changes
|
data/{0901ccd2-feff-4af7-9b69-6c00b458e426.png β chunk_0/0901ccd2-feff-4af7-9b69-6c00b458e426.png}
RENAMED
File without changes
|
data/{091e9d0a-0017-4f13-60ac-34edd5685e4e.png β chunk_0/091e9d0a-0017-4f13-60ac-34edd5685e4e.png}
RENAMED
File without changes
|
data/{093a62ed-3746-16d2-0ba3-0215d60c7ac1.png β chunk_0/093a62ed-3746-16d2-0ba3-0215d60c7ac1.png}
RENAMED
File without changes
|
data/{09925a67-4502-304b-7934-ae7adbbbd5ec.png β chunk_0/09925a67-4502-304b-7934-ae7adbbbd5ec.png}
RENAMED
File without changes
|
data/{09fe3ece-4698-82cb-fb4b-5dea32b825e7.png β chunk_0/09fe3ece-4698-82cb-fb4b-5dea32b825e7.png}
RENAMED
File without changes
|
data/{09ff81fd-7272-49ea-93d5-afead24b344b.png β chunk_0/09ff81fd-7272-49ea-93d5-afead24b344b.png}
RENAMED
File without changes
|
data/{0a41e03e-6aff-6bed-b3f4-4c4fcc9f7634.png β chunk_0/0a41e03e-6aff-6bed-b3f4-4c4fcc9f7634.png}
RENAMED
File without changes
|
data/{0a4bfd0a-d863-ddd5-3699-ebbe1e0a9405.png β chunk_0/0a4bfd0a-d863-ddd5-3699-ebbe1e0a9405.png}
RENAMED
File without changes
|
data/{0aac6022-54d1-47e8-9b79-060b2bb35010.png β chunk_0/0aac6022-54d1-47e8-9b79-060b2bb35010.png}
RENAMED
File without changes
|
data/{0ad1e5d8-64e0-c926-df61-dd7f9af965bb.png β chunk_0/0ad1e5d8-64e0-c926-df61-dd7f9af965bb.png}
RENAMED
File without changes
|
data/{0af9627f-abe2-d21f-8832-7022de2fa311.png β chunk_0/0af9627f-abe2-d21f-8832-7022de2fa311.png}
RENAMED
File without changes
|
data/{0b786bb2-d40c-47cf-93c4-5a41925b94d4.png β chunk_0/0b786bb2-d40c-47cf-93c4-5a41925b94d4.png}
RENAMED
File without changes
|