Datasets:
Upload Recaptioned LAION v2 Parquet captions
Browse files- README.md +87 -0
- data/train-00000-of-00023.parquet +3 -0
- data/train-00001-of-00023.parquet +3 -0
- data/train-00002-of-00023.parquet +3 -0
- data/train-00003-of-00023.parquet +3 -0
- data/train-00004-of-00023.parquet +3 -0
- data/train-00005-of-00023.parquet +3 -0
- data/train-00006-of-00023.parquet +3 -0
- data/train-00007-of-00023.parquet +3 -0
- data/train-00008-of-00023.parquet +3 -0
- data/train-00009-of-00023.parquet +3 -0
- data/train-00010-of-00023.parquet +3 -0
- data/train-00011-of-00023.parquet +3 -0
- data/train-00012-of-00023.parquet +3 -0
- data/train-00013-of-00023.parquet +3 -0
- data/train-00014-of-00023.parquet +3 -0
- data/train-00015-of-00023.parquet +3 -0
- data/train-00016-of-00023.parquet +3 -0
- data/train-00017-of-00023.parquet +3 -0
- data/train-00018-of-00023.parquet +3 -0
- data/train-00019-of-00023.parquet +3 -0
- data/train-00020-of-00023.parquet +3 -0
- data/train-00021-of-00023.parquet +3 -0
- data/train-00022-of-00023.parquet +3 -0
README.md
CHANGED
|
@@ -1,3 +1,90 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
pretty_name: Recaptioned LAION v2
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
task_categories:
|
| 7 |
+
- image-to-text
|
| 8 |
+
size_categories:
|
| 9 |
+
- 1M<n<10M
|
| 10 |
+
tags:
|
| 11 |
+
- laion
|
| 12 |
+
- image-captioning
|
| 13 |
+
- synthetic-data
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: default
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: data/train-*.parquet
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# Recaptioned LAION v2
|
| 22 |
+
|
| 23 |
+
Recaptioned LAION v2 contains captions and source metadata for 5,523,137 web
|
| 24 |
+
images. [Gemma 4 31B IT](https://huggingface.co/google/gemma-4-31B-it) generated
|
| 25 |
+
the new descriptions. Each row includes the new and previous captions, source
|
| 26 |
+
metadata, and identifiers for joining to image shards. This release has one
|
| 27 |
+
`train` split.
|
| 28 |
+
|
| 29 |
+
## Load the dataset
|
| 30 |
+
|
| 31 |
+
```python
|
| 32 |
+
from datasets import load_dataset
|
| 33 |
+
|
| 34 |
+
dataset = load_dataset(
|
| 35 |
+
"PuzzleComm/Recaptioned-LAION-v2", split="train", streaming=True
|
| 36 |
+
)
|
| 37 |
+
example = next(iter(dataset))
|
| 38 |
+
image_key = example["key"]
|
| 39 |
+
source_url = example["url"]
|
| 40 |
+
caption = example["new_caption"]
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
The Parquet shards contain the two captions and their metadata. The `key`
|
| 44 |
+
column joins each caption to its JPEG, named `<key>.jpg` in a separate image
|
| 45 |
+
release. The `url` column records the original image location.
|
| 46 |
+
|
| 47 |
+
## Data fields
|
| 48 |
+
|
| 49 |
+
| Field | Description |
|
| 50 |
+
| --- | --- |
|
| 51 |
+
| `new_caption` | Generated description of the image. |
|
| 52 |
+
| `original_caption` | Caption from the upstream `caption` field. The export uses one name for this value across caption runs. |
|
| 53 |
+
| `key` | Original image identifier, stored as a string with leading zeros. |
|
| 54 |
+
| `url` | Source image URL used for the metadata join. |
|
| 55 |
+
| `image_path` | Relative file path in the original download layout. |
|
| 56 |
+
| `new_reasoning` | Model reasoning text when recorded. |
|
| 57 |
+
| `model` | Model identifier reported by the captioning run. |
|
| 58 |
+
| `status` | Caption-generation status. |
|
| 59 |
+
| `comments` | Caption-generation comments, when recorded. |
|
| 60 |
+
| `response_time_seconds` | Measured response time when recorded. Earlier rows can have a null value. |
|
| 61 |
+
| `generation_params` | Generation settings for the row, including token budget, sampling settings, thinking mode, and seed. |
|
| 62 |
+
| `source_meta` | All fields from the matching upstream Parquet row, stored as a struct. |
|
| 63 |
+
|
| 64 |
+
## Sources and processing
|
| 65 |
+
|
| 66 |
+
The input was `laion-coco_v3_filter.parquet` from
|
| 67 |
+
[guangyil/laion-coco-aesthetic](https://huggingface.co/datasets/guangyil/laion-coco-aesthetic),
|
| 68 |
+
derived from [LAION-COCO](https://laion.ai/blog/laion-coco/). Candidate records
|
| 69 |
+
were deduplicated by URL and SHA-256. Images that could be downloaded and
|
| 70 |
+
decoded were saved as JPEGs and submitted to the captioning model. The prompt
|
| 71 |
+
asked for an accurate description of 30–50 words. Four empty responses were
|
| 72 |
+
regenerated with thinking mode disabled, as recorded in `generation_params`.
|
| 73 |
+
|
| 74 |
+
The source join uses exact URL equality. For repeated source URLs, the export
|
| 75 |
+
uses the first matching source row and verifies the image key. `source_meta`
|
| 76 |
+
contains `TEXT`, `all_captions`, `all_similarities`, `similarity`, `caption`,
|
| 77 |
+
`url`, `key`, `status`, `error_message`, `width`, `height`, `original_width`,
|
| 78 |
+
`original_height`, `exif`, `sha256`, `aesthetic_score`, `watermark`, and
|
| 79 |
+
`__index_level_0__`.
|
| 80 |
+
|
| 81 |
+
## Limitations and licensing
|
| 82 |
+
|
| 83 |
+
Gemma generated the new captions. They can misidentify details, omit context,
|
| 84 |
+
or reflect biases in the images and model. Upstream dimensions and EXIF refer
|
| 85 |
+
to the source records and can differ from the downloaded JPEGs.
|
| 86 |
+
|
| 87 |
+
The upstream metadata repository lists Apache-2.0. The JPEGs come from
|
| 88 |
+
third-party sources and their rights depend on the original material. The
|
| 89 |
+
`url` and `key` fields identify individual records for attribution or removal
|
| 90 |
+
requests. Please use this repository's Community tab to report a record.
|
data/train-00000-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e2b59450fe5736774ec553ab5f6513bd2e4702c8e3db9cec447c38ddc17a52f
|
| 3 |
+
size 309003133
|
data/train-00001-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b2c83665f1b4c8eebf3f1af97118fefa348a5a411fd3215455002e8cd136504
|
| 3 |
+
size 308933389
|
data/train-00002-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:568c76d534009aff270d0f0340c70ee3e4d275f7f8d01457b7d11cb070e6d54d
|
| 3 |
+
size 309205882
|
data/train-00003-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4708b7ae71e8cc87a695d9c441a066475c2e921c61e47e8cf161b46b19ef2b2
|
| 3 |
+
size 309095446
|
data/train-00004-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b124d0a67082777b328e41b4227617504515c84431454858e47f3f60cc97564
|
| 3 |
+
size 309238573
|
data/train-00005-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e03330e1462d454794851dcd4230b845122a63ddbec2ed639d0085dc36778c4e
|
| 3 |
+
size 309232233
|
data/train-00006-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d4b1b5a4dbf7d895632be0d9c8542820087670f4b33999d682171b7bc8843da
|
| 3 |
+
size 309751958
|
data/train-00007-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:eb73169b8241b8b7c76e7c8934efd3c3b50ddaec810f46c67057a620a8b739a8
|
| 3 |
+
size 310761874
|
data/train-00008-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fad2f36eb97869447ea05ef2e0179024f2ea6206ad4eaeade69d4dbbf67324c3
|
| 3 |
+
size 310710561
|
data/train-00009-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0808611494982ff4e1594293a417fe60064224921dcf910135c6a9bd941a720b
|
| 3 |
+
size 310789628
|
data/train-00010-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4fcfa2fb5c922fe02945f65f2d1d7d510224e5c4d27a071606f168fb72ec110a
|
| 3 |
+
size 310618843
|
data/train-00011-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2c6a7f4492016713e8f2212543b2cc8da1b5de8bcccd1bec4d97176f548a83d
|
| 3 |
+
size 310788205
|
data/train-00012-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd7c2ccd38d347a7d34629bbd2758e8e9af5c94fa1cafa280c8cf872be1a6365
|
| 3 |
+
size 310728069
|
data/train-00013-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:97aaf3f91452cc753309d7647ca77bfa1b0f61cf76079895f8feee1106695ae5
|
| 3 |
+
size 310726178
|
data/train-00014-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20821d4ba07e974bf438233f5ef3ee15d20be303a0d1484a98c3c347da72a197
|
| 3 |
+
size 310712163
|
data/train-00015-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74248037e84c9d908fd8c0830ea7944a77484b49c45e2ad66c44d9499c151257
|
| 3 |
+
size 311225369
|
data/train-00016-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea87bb23df057b838b7d4cd730cd2ec71e353d004d374d0337615826ed258d00
|
| 3 |
+
size 310967102
|
data/train-00017-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb84054ccd8808ea77cdca9b114146a47c4eef0f92f2eceab7781864c08a00b1
|
| 3 |
+
size 310806368
|
data/train-00018-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c5f9d8c0f68764eafcbc769ea0405cf376aac6ffd16c83db6f24c59c299c447
|
| 3 |
+
size 310846310
|
data/train-00019-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba8ed85655f0a097e7de9e1dd6e2d9e9377c33939ceca0d9cfe3bea087726d35
|
| 3 |
+
size 310780603
|
data/train-00020-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47b9755cc7c4639930e189f94d0b3b7dfa6c223809947a1d6552a6b18a3f1f4a
|
| 3 |
+
size 310811980
|
data/train-00021-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1359f1caac3d2335316504841c454a3dafd3711fb0ec371104479f25a6fc6171
|
| 3 |
+
size 310737140
|
data/train-00022-of-00023.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29442c92d924c0d1784f295da1f385291e5002ba08db9ec6e9fc7e497078a9f3
|
| 3 |
+
size 28813706
|