Add metadata script
Browse files
README.md
CHANGED
@@ -9,6 +9,7 @@ Data was taken from [dalle-mini/wit](https://huggingface.co/datasets/dalle-mini/
|
|
9 |
|
10 |
## Data Structure
|
11 |
The data is stored as tars, containing 10,000 samples per tar.
|
|
|
12 |
Each tar contains a `.jpg`, `.txt`, and `.json`.
|
13 |
The image is stored in `.jpg`, the caption in `.txt.` and the metadata in `.json`
|
14 |
The preferred method to read the data is [WebDataset](https://github.com/webdataset/webdataset)
|
|
|
9 |
|
10 |
## Data Structure
|
11 |
The data is stored as tars, containing 10,000 samples per tar.
|
12 |
+
The parquets contain the metadata of each tar, which was crated using [this script](https://huggingface.co/datasets/laion/filtered-wit/blob/main/wit_create_meta.py)
|
13 |
Each tar contains a `.jpg`, `.txt`, and `.json`.
|
14 |
The image is stored in `.jpg`, the caption in `.txt.` and the metadata in `.json`
|
15 |
The preferred method to read the data is [WebDataset](https://github.com/webdataset/webdataset)
|