Datasets:
Update characters documentation, taxonomy, measured progress and validation
Browse files- README.md +2 -2
- metadata/inference-records.jsonl +0 -0
- metadata/integrity-validation.json +23 -0
- metadata/performance.json +4 -4
- metadata/production-quality-passed.json +18 -0
- metadata/progress.json +11 -6
- metadata/quality-review.json +56 -0
- metadata/sample-index.json +702 -0
- metadata/shards.json +79 -1
- tools/character_production.py +19 -2
README.md
CHANGED
|
@@ -27,7 +27,7 @@ configs:
|
|
| 27 |
|
| 28 |
**500 fictional people ×10 natural facial expressions =5,000 portrait images**, each832×1,248 pixels. The selected aesthetic is the **ghibli-warm-painted** direction: restrained facial proportions, delicate drawn lines, warm painted shading and a solid chroma-green backdrop. Generation uses the **undistilled9B base**, the **rank64 character LoRA**, **50 steps**, real **CFG4**, and **BF16**, with no quantization or distilled checkpoint.
|
| 29 |
|
| 30 |
-
**Production snapshot:
|
| 31 |
|
| 32 |
The [base model](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B) and [character LoRA with examples and instructions](https://huggingface.co/laion/FLUX.2-klein-base-9B-vivarium-loras) are linked separately. The compatible [background dataset](https://huggingface.co/datasets/laion/Anim-E-Ghibli-Backgrounds-FLUX-9B) contains wide warm-painted environments for these foreground characters.
|
| 33 |
|
|
@@ -113,7 +113,7 @@ person-0253-neutral.json
|
|
| 113 |
person-0253-neutral.txt
|
| 114 |
```
|
| 115 |
|
| 116 |
-
Images are written directly into TARs. There are no individually uploaded PNGs. A production shard normally holds **two complete person groups,20 images**,
|
| 117 |
|
| 118 |
Install the lightweight reader dependencies and stream with Hugging Face Datasets:
|
| 119 |
|
|
|
|
| 27 |
|
| 28 |
**500 fictional people ×10 natural facial expressions =5,000 portrait images**, each832×1,248 pixels. The selected aesthetic is the **ghibli-warm-painted** direction: restrained facial proportions, delicate drawn lines, warm painted shading and a solid chroma-green backdrop. Generation uses the **undistilled9B base**, the **rank64 character LoRA**, **50 steps**, real **CFG4**, and **BF16**, with no quantization or distilled checkpoint.
|
| 29 |
|
| 30 |
+
**Production snapshot:7/500 complete people;0/5,000 images uploaded.** Pilot and production validation are recorded in the linked metadata. Counts describe the snapshot; incremental shard commits can be newer.
|
| 31 |
|
| 32 |
The [base model](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B) and [character LoRA with examples and instructions](https://huggingface.co/laion/FLUX.2-klein-base-9B-vivarium-loras) are linked separately. The compatible [background dataset](https://huggingface.co/datasets/laion/Anim-E-Ghibli-Backgrounds-FLUX-9B) contains wide warm-painted environments for these foreground characters.
|
| 33 |
|
|
|
|
| 113 |
person-0253-neutral.txt
|
| 114 |
```
|
| 115 |
|
| 116 |
+
Images are written directly into TARs. There are no individually uploaded PNGs. A production shard normally holds **two complete person groups,20 images**, with10-image first-worker/pilot shards and smaller last-worker shards. Keeping all expressions of a person together makes grouping convenient. [Shard SHA256/size/count manifest](metadata/shards.json), [inference records](metadata/inference-records.jsonl), [progress](metadata/progress.json), and [sample index](metadata/sample-index.json) describe the release snapshot. Use`personality_id` for splitting: random splitting by image can leak the same fictional identity across train and evaluation.
|
| 117 |
|
| 118 |
Install the lightweight reader dependencies and stream with Hugging Face Datasets:
|
| 119 |
|
metadata/inference-records.jsonl
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
metadata/integrity-validation.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "passed",
|
| 3 |
+
"scope": "closed-shard snapshot",
|
| 4 |
+
"utc": "2026-10-06T15:38:30.718003+00:00",
|
| 5 |
+
"images_verified": 70,
|
| 6 |
+
"persons_verified": 7,
|
| 7 |
+
"shards_verified": 7,
|
| 8 |
+
"bytes_verified": 78776320,
|
| 9 |
+
"checks": [
|
| 10 |
+
"TAR SHA256 and byte size",
|
| 11 |
+
"three adjacent unique members per sample",
|
| 12 |
+
"PNG CRC and full decode",
|
| 13 |
+
"832x1248 RGB",
|
| 14 |
+
"unique expected IDs",
|
| 15 |
+
"every person and expression field matches plan",
|
| 16 |
+
"prompt/seed consistency",
|
| 17 |
+
"PNG SHA256",
|
| 18 |
+
"exact neutral reference linkage and416x624 resize",
|
| 19 |
+
"all ten emotions per closed person group",
|
| 20 |
+
"50-step CFG4 BF16 pinned model/LoRA",
|
| 21 |
+
"no quantization or distillation"
|
| 22 |
+
]
|
| 23 |
+
}
|
metadata/performance.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
{
|
| 2 |
"hardware": "8 × NVIDIA A100-SXM4-80GB",
|
| 3 |
"batch_size_per_gpu": 1,
|
| 4 |
-
"steady_samples":
|
| 5 |
-
"mean_seconds":
|
| 6 |
-
"median_seconds":
|
| 7 |
"neutral_mean_seconds": null,
|
| 8 |
-
"reference_edit_mean_seconds":
|
| 9 |
"timings_include": "50 denoising steps with real CFG4, reference VAE encode when applicable, VAE decode; CUDA synchronized",
|
| 10 |
"timings_exclude": "Positive prompt preencoding, model loading, compile warmup, PNG/TAR writes and upload",
|
| 11 |
"pilot_excluded": "Pilot GPU7 was shared with background production and used CPU offload; it is not a dedicated-GPU benchmark"
|
|
|
|
| 1 |
{
|
| 2 |
"hardware": "8 × NVIDIA A100-SXM4-80GB",
|
| 3 |
"batch_size_per_gpu": 1,
|
| 4 |
+
"steady_samples": 56,
|
| 5 |
+
"mean_seconds": 39.93901441212178,
|
| 6 |
+
"median_seconds": 39.88110267953016,
|
| 7 |
"neutral_mean_seconds": null,
|
| 8 |
+
"reference_edit_mean_seconds": 39.93901441212178,
|
| 9 |
"timings_include": "50 denoising steps with real CFG4, reference VAE encode when applicable, VAE decode; CUDA synchronized",
|
| 10 |
"timings_exclude": "Positive prompt preencoding, model loading, compile warmup, PNG/TAR writes and upload",
|
| 11 |
"pilot_excluded": "Pilot GPU7 was shared with background production and used CPU offload; it is not a dedicated-GPU benchmark"
|
metadata/production-quality-passed.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "passed",
|
| 3 |
+
"utc": "2026-10-06T15:38:51.273275+00:00",
|
| 4 |
+
"reviewed_production_people": [
|
| 5 |
+
"person-0001",
|
| 6 |
+
"person-0068",
|
| 7 |
+
"person-0133"
|
| 8 |
+
],
|
| 9 |
+
"reviewed_production_images": 30,
|
| 10 |
+
"integrity_verified_images": 70,
|
| 11 |
+
"findings": "Identity,outfit,pose and clean greenscreen preserved closely; mild expression edits visible; some negative emotions overlap",
|
| 12 |
+
"settings": "Undistilled BF16 native9B character rank64 LoRA,50steps CFG4, neutral visual reference416x624",
|
| 13 |
+
"limitations": [
|
| 14 |
+
"Reference conditioning can slightly alter facial details and clothing folds",
|
| 15 |
+
"Visual assessment of rendered age and identity is subjective; demographic labels are intended prompt attributes",
|
| 16 |
+
"Mild fear,sadness and disgust can be visually close; labels record the requested expression,not a ground-truth expression classifier"
|
| 17 |
+
]
|
| 18 |
+
}
|
metadata/progress.json
CHANGED
|
@@ -1,13 +1,18 @@
|
|
| 1 |
{
|
| 2 |
-
"utc": "2026-10-06T15:
|
| 3 |
"people": {
|
| 4 |
-
"
|
|
|
|
|
|
|
|
|
|
| 5 |
},
|
| 6 |
-
"shards": {
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
"target_people": 500,
|
| 10 |
"target_images": 5000,
|
| 11 |
"images_uploaded": 0,
|
| 12 |
-
"buffer_free_gb": 302.
|
| 13 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"utc": "2026-10-06T15:38:54.905100+00:00",
|
| 3 |
"people": {
|
| 4 |
+
"done": 7,
|
| 5 |
+
"pilot": 3,
|
| 6 |
+
"queued": 483,
|
| 7 |
+
"running": 7
|
| 8 |
},
|
| 9 |
+
"shards": {
|
| 10 |
+
"ready": 7
|
| 11 |
+
},
|
| 12 |
+
"images_in_closed_shards": 70,
|
| 13 |
+
"images_generated": 84,
|
| 14 |
"target_people": 500,
|
| 15 |
"target_images": 5000,
|
| 16 |
"images_uploaded": 0,
|
| 17 |
+
"buffer_free_gb": 302.141669376
|
| 18 |
}
|
metadata/quality-review.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"reviewed_ids": [
|
| 3 |
+
"person-0002-neutral",
|
| 4 |
+
"person-0120-neutral",
|
| 5 |
+
"person-0253-neutral",
|
| 6 |
+
"person-0002-angry",
|
| 7 |
+
"person-0120-angry",
|
| 8 |
+
"person-0253-angry",
|
| 9 |
+
"person-0002-joyful",
|
| 10 |
+
"person-0120-joyful",
|
| 11 |
+
"person-0253-joyful",
|
| 12 |
+
"person-0002-sad",
|
| 13 |
+
"person-0001-neutral",
|
| 14 |
+
"person-0001-joyful",
|
| 15 |
+
"person-0001-grateful",
|
| 16 |
+
"person-0001-playful",
|
| 17 |
+
"person-0001-angry",
|
| 18 |
+
"person-0001-afraid",
|
| 19 |
+
"person-0001-sad",
|
| 20 |
+
"person-0001-annoyed",
|
| 21 |
+
"person-0001-pain",
|
| 22 |
+
"person-0001-disgust",
|
| 23 |
+
"person-0068-neutral",
|
| 24 |
+
"person-0068-joyful",
|
| 25 |
+
"person-0068-grateful",
|
| 26 |
+
"person-0068-playful",
|
| 27 |
+
"person-0068-angry",
|
| 28 |
+
"person-0068-afraid",
|
| 29 |
+
"person-0068-sad",
|
| 30 |
+
"person-0068-annoyed",
|
| 31 |
+
"person-0068-pain",
|
| 32 |
+
"person-0068-disgust",
|
| 33 |
+
"person-0133-neutral",
|
| 34 |
+
"person-0133-joyful",
|
| 35 |
+
"person-0133-grateful",
|
| 36 |
+
"person-0133-playful",
|
| 37 |
+
"person-0133-angry",
|
| 38 |
+
"person-0133-afraid",
|
| 39 |
+
"person-0133-sad",
|
| 40 |
+
"person-0133-annoyed",
|
| 41 |
+
"person-0133-pain",
|
| 42 |
+
"person-0133-disgust"
|
| 43 |
+
],
|
| 44 |
+
"findings": [
|
| 45 |
+
"Focused reference edit prompts produce clear natural neutral/joyful/angry differences for baby,schoolgirl and17-year-old girl while maintaining closely matched identity,hair,outfit and pose. Baby sadness was inspected separately when present.",
|
| 46 |
+
"All ten expressions visually inspected for production baby person0001 and preschool girl person0068. Identity,hair,outfit,pose and greenscreen remain closely matched. Joyful,grateful,playful,angry and annoyance are clearly differentiated; several mild negative emotions can overlap. No extreme caricatures or visible injuries.",
|
| 47 |
+
"The complete older-schoolboy series person0133 also retains near-identical clothes and pose with restrained face proportions and ten mild requested expressions."
|
| 48 |
+
],
|
| 49 |
+
"status": "production pilot passed",
|
| 50 |
+
"limitations": [
|
| 51 |
+
"Reference conditioning can slightly alter facial details and clothing folds",
|
| 52 |
+
"Visual assessment of rendered age and identity is subjective; demographic labels are intended prompt attributes",
|
| 53 |
+
"Mild fear,sadness and disgust can be visually close; labels record the requested expression,not a ground-truth expression classifier"
|
| 54 |
+
],
|
| 55 |
+
"utc": "2026-10-06T15:38:26.256414+00:00"
|
| 56 |
+
}
|
metadata/sample-index.json
ADDED
|
@@ -0,0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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "person-0133-neutral",
|
| 4 |
+
"personality_id": "person-0133",
|
| 5 |
+
"emotion": "neutral",
|
| 6 |
+
"shard": "train-g0-00000.tar",
|
| 7 |
+
"image_offset": 512,
|
| 8 |
+
"image_bytes": 1086366,
|
| 9 |
+
"image_sha256": "fafc28416dca7fd79511dbef557688d6fbd5454d1c41ea54f8d8b4355d759644",
|
| 10 |
+
"seed": 2844801242
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"id": "person-0133-joyful",
|
| 14 |
+
"personality_id": "person-0133",
|
| 15 |
+
"emotion": "joyful",
|
| 16 |
+
"shard": "train-g0-00000.tar",
|
| 17 |
+
"image_offset": 1093632,
|
| 18 |
+
"image_bytes": 1115017,
|
| 19 |
+
"image_sha256": "448e3a938899cc18578ae0dc5211582641f606abb75124dedd75e5bee737c474",
|
| 20 |
+
"seed": 2844801242
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"id": "person-0133-grateful",
|
| 24 |
+
"personality_id": "person-0133",
|
| 25 |
+
"emotion": "grateful",
|
| 26 |
+
"shard": "train-g0-00000.tar",
|
| 27 |
+
"image_offset": 2215424,
|
| 28 |
+
"image_bytes": 1109889,
|
| 29 |
+
"image_sha256": "cda7c39e966b56eb794487b3347d060202d317b6f8b9e7f61dc81e80ede650b5",
|
| 30 |
+
"seed": 2844801242
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"id": "person-0133-playful",
|
| 34 |
+
"personality_id": "person-0133",
|
| 35 |
+
"emotion": "playful",
|
| 36 |
+
"shard": "train-g0-00000.tar",
|
| 37 |
+
"image_offset": 3332096,
|
| 38 |
+
"image_bytes": 1114774,
|
| 39 |
+
"image_sha256": "caaf8e43fbe6c4fc3b1e4b2e57068f1e6f49ed02554a26e0003ab6535fb4553c",
|
| 40 |
+
"seed": 2844801242
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": "person-0133-angry",
|
| 44 |
+
"personality_id": "person-0133",
|
| 45 |
+
"emotion": "angry",
|
| 46 |
+
"shard": "train-g0-00000.tar",
|
| 47 |
+
"image_offset": 4453888,
|
| 48 |
+
"image_bytes": 1115168,
|
| 49 |
+
"image_sha256": "5eff382ca4323c1b96e75e89201d330c26481cfe2ea8fc44c6bae78644ccc11c",
|
| 50 |
+
"seed": 2844801242
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"id": "person-0133-afraid",
|
| 54 |
+
"personality_id": "person-0133",
|
| 55 |
+
"emotion": "afraid",
|
| 56 |
+
"shard": "train-g0-00000.tar",
|
| 57 |
+
"image_offset": 5576192,
|
| 58 |
+
"image_bytes": 1109102,
|
| 59 |
+
"image_sha256": "fc04dbbf2d951df2e8abf98c2a5993cffd8247a80d905bad9fc021a5381baaa6",
|
| 60 |
+
"seed": 2844801242
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"id": "person-0133-sad",
|
| 64 |
+
"personality_id": "person-0133",
|
| 65 |
+
"emotion": "sad",
|
| 66 |
+
"shard": "train-g0-00000.tar",
|
| 67 |
+
"image_offset": 6692352,
|
| 68 |
+
"image_bytes": 1112037,
|
| 69 |
+
"image_sha256": "753ff7ea9b2cf8f543e76db412837158795b63f6f56a9b8bda8fcf077ad87427",
|
| 70 |
+
"seed": 2844801242
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"id": "person-0133-annoyed",
|
| 74 |
+
"personality_id": "person-0133",
|
| 75 |
+
"emotion": "annoyed",
|
| 76 |
+
"shard": "train-g0-00000.tar",
|
| 77 |
+
"image_offset": 7811072,
|
| 78 |
+
"image_bytes": 1114285,
|
| 79 |
+
"image_sha256": "876754acf6d52f55842f9ac57f4328ea7f5ab9646364897dc4ddfa0cee9a2306",
|
| 80 |
+
"seed": 2844801242
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"id": "person-0133-pain",
|
| 84 |
+
"personality_id": "person-0133",
|
| 85 |
+
"emotion": "pain",
|
| 86 |
+
"shard": "train-g0-00000.tar",
|
| 87 |
+
"image_offset": 8932352,
|
| 88 |
+
"image_bytes": 1116865,
|
| 89 |
+
"image_sha256": "326e8828a22543c0f41def58e4aa2d86ece613ea850d6d38b7a16a8df2ff0627",
|
| 90 |
+
"seed": 2844801242
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"id": "person-0133-disgust",
|
| 94 |
+
"personality_id": "person-0133",
|
| 95 |
+
"emotion": "disgust",
|
| 96 |
+
"shard": "train-g0-00000.tar",
|
| 97 |
+
"image_offset": 10056192,
|
| 98 |
+
"image_bytes": 1113504,
|
| 99 |
+
"image_sha256": "d6d1bc3e5aa98e9bf3262852edec71475017bd5745b0fea1e0038cfe4c301797",
|
| 100 |
+
"seed": 2844801242
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"id": "person-0089-neutral",
|
| 104 |
+
"personality_id": "person-0089",
|
| 105 |
+
"emotion": "neutral",
|
| 106 |
+
"shard": "train-g1-00000.tar",
|
| 107 |
+
"image_offset": 512,
|
| 108 |
+
"image_bytes": 1106508,
|
| 109 |
+
"image_sha256": "06bf5d5bfb2ffe0ce24a28a66802977f650ffed04236c6a2574bae533f985919",
|
| 110 |
+
"seed": 2789493893
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"id": "person-0089-joyful",
|
| 114 |
+
"personality_id": "person-0089",
|
| 115 |
+
"emotion": "joyful",
|
| 116 |
+
"shard": "train-g1-00000.tar",
|
| 117 |
+
"image_offset": 1114112,
|
| 118 |
+
"image_bytes": 1129479,
|
| 119 |
+
"image_sha256": "d5ef8a7bc1d5fa94054aac834ed12b068ec0567fee27867940c94cc52c733587",
|
| 120 |
+
"seed": 2789493893
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"id": "person-0089-grateful",
|
| 124 |
+
"personality_id": "person-0089",
|
| 125 |
+
"emotion": "grateful",
|
| 126 |
+
"shard": "train-g1-00000.tar",
|
| 127 |
+
"image_offset": 2250752,
|
| 128 |
+
"image_bytes": 1125423,
|
| 129 |
+
"image_sha256": "099566135bad304ba997fe2fe4776ca91670f860dd8e8668d747c3e495d08a34",
|
| 130 |
+
"seed": 2789493893
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"id": "person-0089-playful",
|
| 134 |
+
"personality_id": "person-0089",
|
| 135 |
+
"emotion": "playful",
|
| 136 |
+
"shard": "train-g1-00000.tar",
|
| 137 |
+
"image_offset": 3383296,
|
| 138 |
+
"image_bytes": 1123600,
|
| 139 |
+
"image_sha256": "c4a16d003cc019ec65865020b3aa7d5459df0cb072235515b94f1f0df1ca2634",
|
| 140 |
+
"seed": 2789493893
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"id": "person-0089-angry",
|
| 144 |
+
"personality_id": "person-0089",
|
| 145 |
+
"emotion": "angry",
|
| 146 |
+
"shard": "train-g1-00000.tar",
|
| 147 |
+
"image_offset": 4513792,
|
| 148 |
+
"image_bytes": 1132234,
|
| 149 |
+
"image_sha256": "762c0b9bfcecb3393269a6053aa39f99119dc744f705e1efc573421cce90a025",
|
| 150 |
+
"seed": 2789493893
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"id": "person-0089-afraid",
|
| 154 |
+
"personality_id": "person-0089",
|
| 155 |
+
"emotion": "afraid",
|
| 156 |
+
"shard": "train-g1-00000.tar",
|
| 157 |
+
"image_offset": 5652992,
|
| 158 |
+
"image_bytes": 1128975,
|
| 159 |
+
"image_sha256": "eb48e9843c738829c28be8bb2cabe292338606aaf54f24db498afbf1832fe91b",
|
| 160 |
+
"seed": 2789493893
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"id": "person-0089-sad",
|
| 164 |
+
"personality_id": "person-0089",
|
| 165 |
+
"emotion": "sad",
|
| 166 |
+
"shard": "train-g1-00000.tar",
|
| 167 |
+
"image_offset": 6789120,
|
| 168 |
+
"image_bytes": 1131487,
|
| 169 |
+
"image_sha256": "f3914b46ab66898a77bfb95bae35b46f2e22f92578e47e53eb4befc8fc8e21d7",
|
| 170 |
+
"seed": 2789493893
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"id": "person-0089-annoyed",
|
| 174 |
+
"personality_id": "person-0089",
|
| 175 |
+
"emotion": "annoyed",
|
| 176 |
+
"shard": "train-g1-00000.tar",
|
| 177 |
+
"image_offset": 7927296,
|
| 178 |
+
"image_bytes": 1123712,
|
| 179 |
+
"image_sha256": "bac49f74247a8e60eff60f2c9d229f70afaebb920c0fd797017f4d260c86a294",
|
| 180 |
+
"seed": 2789493893
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"id": "person-0089-pain",
|
| 184 |
+
"personality_id": "person-0089",
|
| 185 |
+
"emotion": "pain",
|
| 186 |
+
"shard": "train-g1-00000.tar",
|
| 187 |
+
"image_offset": 9057792,
|
| 188 |
+
"image_bytes": 1128892,
|
| 189 |
+
"image_sha256": "2757e590ae648fac97392d67028bb86a248d9fdd6c85c235832547edb8f07cad",
|
| 190 |
+
"seed": 2789493893
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"id": "person-0089-disgust",
|
| 194 |
+
"personality_id": "person-0089",
|
| 195 |
+
"emotion": "disgust",
|
| 196 |
+
"shard": "train-g1-00000.tar",
|
| 197 |
+
"image_offset": 10193408,
|
| 198 |
+
"image_bytes": 1126640,
|
| 199 |
+
"image_sha256": "23101dfd528830286e5208560e3a2cf15c38942e4b0ab62dad114ecc8660231a",
|
| 200 |
+
"seed": 2789493893
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"id": "person-0112-neutral",
|
| 204 |
+
"personality_id": "person-0112",
|
| 205 |
+
"emotion": "neutral",
|
| 206 |
+
"shard": "train-g2-00000.tar",
|
| 207 |
+
"image_offset": 512,
|
| 208 |
+
"image_bytes": 1051580,
|
| 209 |
+
"image_sha256": "920313e7768f065d923b835e9771400023863d69a0f1f96fb2ad3770b8786941",
|
| 210 |
+
"seed": 1885548976
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"id": "person-0112-joyful",
|
| 214 |
+
"personality_id": "person-0112",
|
| 215 |
+
"emotion": "joyful",
|
| 216 |
+
"shard": "train-g2-00000.tar",
|
| 217 |
+
"image_offset": 1059328,
|
| 218 |
+
"image_bytes": 1056055,
|
| 219 |
+
"image_sha256": "1b0c3555205d60d930d25afb832cbaacf400d31069b382eed70dd040eebdc68b",
|
| 220 |
+
"seed": 1885548976
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"id": "person-0112-grateful",
|
| 224 |
+
"personality_id": "person-0112",
|
| 225 |
+
"emotion": "grateful",
|
| 226 |
+
"shard": "train-g2-00000.tar",
|
| 227 |
+
"image_offset": 2122240,
|
| 228 |
+
"image_bytes": 1053897,
|
| 229 |
+
"image_sha256": "21c8f5fa03866abe7d7f944aca549c874c4570b3141ce42bdeaeb401fd906074",
|
| 230 |
+
"seed": 1885548976
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"id": "person-0112-playful",
|
| 234 |
+
"personality_id": "person-0112",
|
| 235 |
+
"emotion": "playful",
|
| 236 |
+
"shard": "train-g2-00000.tar",
|
| 237 |
+
"image_offset": 3183104,
|
| 238 |
+
"image_bytes": 1053397,
|
| 239 |
+
"image_sha256": "913abffb3266e71abce79bc569d0bd0749e55a526d5cc008a963c7af15cf4401",
|
| 240 |
+
"seed": 1885548976
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"id": "person-0112-angry",
|
| 244 |
+
"personality_id": "person-0112",
|
| 245 |
+
"emotion": "angry",
|
| 246 |
+
"shard": "train-g2-00000.tar",
|
| 247 |
+
"image_offset": 4243456,
|
| 248 |
+
"image_bytes": 1057630,
|
| 249 |
+
"image_sha256": "c1dec4137e73a4326a4591b913606a03865c1a50029a7eefe545eb3636713442",
|
| 250 |
+
"seed": 1885548976
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"id": "person-0112-afraid",
|
| 254 |
+
"personality_id": "person-0112",
|
| 255 |
+
"emotion": "afraid",
|
| 256 |
+
"shard": "train-g2-00000.tar",
|
| 257 |
+
"image_offset": 5307904,
|
| 258 |
+
"image_bytes": 1056476,
|
| 259 |
+
"image_sha256": "87d201deb73804c5870c613c33292ac0b3db8aaea17dec8370b7fcac4b6a9b42",
|
| 260 |
+
"seed": 1885548976
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"id": "person-0112-sad",
|
| 264 |
+
"personality_id": "person-0112",
|
| 265 |
+
"emotion": "sad",
|
| 266 |
+
"shard": "train-g2-00000.tar",
|
| 267 |
+
"image_offset": 6371328,
|
| 268 |
+
"image_bytes": 1054214,
|
| 269 |
+
"image_sha256": "beead526248347ac89bb4e95627fc2e72f45e911d69eb27b7f562eddc47ffb82",
|
| 270 |
+
"seed": 1885548976
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"id": "person-0112-annoyed",
|
| 274 |
+
"personality_id": "person-0112",
|
| 275 |
+
"emotion": "annoyed",
|
| 276 |
+
"shard": "train-g2-00000.tar",
|
| 277 |
+
"image_offset": 7432704,
|
| 278 |
+
"image_bytes": 1055170,
|
| 279 |
+
"image_sha256": "92889a015062d399012681da0b4b1c4d73c566b0a4cf6354887aedbee1ddacc7",
|
| 280 |
+
"seed": 1885548976
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"id": "person-0112-pain",
|
| 284 |
+
"personality_id": "person-0112",
|
| 285 |
+
"emotion": "pain",
|
| 286 |
+
"shard": "train-g2-00000.tar",
|
| 287 |
+
"image_offset": 8494592,
|
| 288 |
+
"image_bytes": 1056444,
|
| 289 |
+
"image_sha256": "3a6c27346fec32c3f3aa41fe586d1d8a42d7cfd9ea3a80f352865e484291e83d",
|
| 290 |
+
"seed": 1885548976
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"id": "person-0112-disgust",
|
| 294 |
+
"personality_id": "person-0112",
|
| 295 |
+
"emotion": "disgust",
|
| 296 |
+
"shard": "train-g2-00000.tar",
|
| 297 |
+
"image_offset": 9558016,
|
| 298 |
+
"image_bytes": 1058518,
|
| 299 |
+
"image_sha256": "c619652c352fe450db4cf4d0d2413a13fac1f474ff088e1be13046599a60f34c",
|
| 300 |
+
"seed": 1885548976
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"id": "person-0024-neutral",
|
| 304 |
+
"personality_id": "person-0024",
|
| 305 |
+
"emotion": "neutral",
|
| 306 |
+
"shard": "train-g3-00000.tar",
|
| 307 |
+
"image_offset": 512,
|
| 308 |
+
"image_bytes": 1117369,
|
| 309 |
+
"image_sha256": "092927c717429b239c190887ec0b2745fb84e4c918e34cbe759c4c49325efa43",
|
| 310 |
+
"seed": 2433206131
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"id": "person-0024-joyful",
|
| 314 |
+
"personality_id": "person-0024",
|
| 315 |
+
"emotion": "joyful",
|
| 316 |
+
"shard": "train-g3-00000.tar",
|
| 317 |
+
"image_offset": 1124864,
|
| 318 |
+
"image_bytes": 1151836,
|
| 319 |
+
"image_sha256": "bbd80c414e4b3986799d05616057164a04e639ebc37f60ba95ec890f4787966b",
|
| 320 |
+
"seed": 2433206131
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"id": "person-0024-grateful",
|
| 324 |
+
"personality_id": "person-0024",
|
| 325 |
+
"emotion": "grateful",
|
| 326 |
+
"shard": "train-g3-00000.tar",
|
| 327 |
+
"image_offset": 2283520,
|
| 328 |
+
"image_bytes": 1138618,
|
| 329 |
+
"image_sha256": "2971a05571d33734b241d145a1eaa79a0d58d8e777349a4a838a15bf57270185",
|
| 330 |
+
"seed": 2433206131
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"id": "person-0024-playful",
|
| 334 |
+
"personality_id": "person-0024",
|
| 335 |
+
"emotion": "playful",
|
| 336 |
+
"shard": "train-g3-00000.tar",
|
| 337 |
+
"image_offset": 3428864,
|
| 338 |
+
"image_bytes": 1147212,
|
| 339 |
+
"image_sha256": "7e2102e94e04a0bdefcd57909049aec09c1f982e1cfd416d63befccea2a4122c",
|
| 340 |
+
"seed": 2433206131
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"id": "person-0024-angry",
|
| 344 |
+
"personality_id": "person-0024",
|
| 345 |
+
"emotion": "angry",
|
| 346 |
+
"shard": "train-g3-00000.tar",
|
| 347 |
+
"image_offset": 4582912,
|
| 348 |
+
"image_bytes": 1148040,
|
| 349 |
+
"image_sha256": "5eec16080c65f96956be13cfdbf93fe50339b6c699b42ad536b05efd462d7f51",
|
| 350 |
+
"seed": 2433206131
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"id": "person-0024-afraid",
|
| 354 |
+
"personality_id": "person-0024",
|
| 355 |
+
"emotion": "afraid",
|
| 356 |
+
"shard": "train-g3-00000.tar",
|
| 357 |
+
"image_offset": 5737984,
|
| 358 |
+
"image_bytes": 1141631,
|
| 359 |
+
"image_sha256": "f47c6e8df318fe1aa70005340c2d5d51e3921d66a260207e1ff44a1024fe8ae6",
|
| 360 |
+
"seed": 2433206131
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"id": "person-0024-sad",
|
| 364 |
+
"personality_id": "person-0024",
|
| 365 |
+
"emotion": "sad",
|
| 366 |
+
"shard": "train-g3-00000.tar",
|
| 367 |
+
"image_offset": 6886400,
|
| 368 |
+
"image_bytes": 1146738,
|
| 369 |
+
"image_sha256": "8b4429710a4b98c5aac6178152bd26b3746cbb4d449e392ac6067013f08a26e3",
|
| 370 |
+
"seed": 2433206131
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"id": "person-0024-annoyed",
|
| 374 |
+
"personality_id": "person-0024",
|
| 375 |
+
"emotion": "annoyed",
|
| 376 |
+
"shard": "train-g3-00000.tar",
|
| 377 |
+
"image_offset": 8039936,
|
| 378 |
+
"image_bytes": 1138977,
|
| 379 |
+
"image_sha256": "a3e0f072ea00aa28a95107ae1936dd37a9122e003462f2adbb40b3140c95eb2c",
|
| 380 |
+
"seed": 2433206131
|
| 381 |
+
},
|
| 382 |
+
{
|
| 383 |
+
"id": "person-0024-pain",
|
| 384 |
+
"personality_id": "person-0024",
|
| 385 |
+
"emotion": "pain",
|
| 386 |
+
"shard": "train-g3-00000.tar",
|
| 387 |
+
"image_offset": 9185792,
|
| 388 |
+
"image_bytes": 1143915,
|
| 389 |
+
"image_sha256": "c955b7b33a716dab15db1d5beaa8fe9090149aa707576152e64bff9d470aac10",
|
| 390 |
+
"seed": 2433206131
|
| 391 |
+
},
|
| 392 |
+
{
|
| 393 |
+
"id": "person-0024-disgust",
|
| 394 |
+
"personality_id": "person-0024",
|
| 395 |
+
"emotion": "disgust",
|
| 396 |
+
"shard": "train-g3-00000.tar",
|
| 397 |
+
"image_offset": 10336768,
|
| 398 |
+
"image_bytes": 1143901,
|
| 399 |
+
"image_sha256": "230a2e40f0f9297a8574db97c800db2afafa9cd4bfcb0f1040082ff113f70345",
|
| 400 |
+
"seed": 2433206131
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"id": "person-0068-neutral",
|
| 404 |
+
"personality_id": "person-0068",
|
| 405 |
+
"emotion": "neutral",
|
| 406 |
+
"shard": "train-g4-00000.tar",
|
| 407 |
+
"image_offset": 512,
|
| 408 |
+
"image_bytes": 1108644,
|
| 409 |
+
"image_sha256": "111128472a164993548214782c725645941cf4e9399aa9ddc3b5231d258c8f80",
|
| 410 |
+
"seed": 41206551
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"id": "person-0068-joyful",
|
| 414 |
+
"personality_id": "person-0068",
|
| 415 |
+
"emotion": "joyful",
|
| 416 |
+
"shard": "train-g4-00000.tar",
|
| 417 |
+
"image_offset": 1116160,
|
| 418 |
+
"image_bytes": 1113876,
|
| 419 |
+
"image_sha256": "5a9fad97c9a1c4a6d4e33bf36e75a04fbbd04dad2f385a4f63d3d091e82dc917",
|
| 420 |
+
"seed": 41206551
|
| 421 |
+
},
|
| 422 |
+
{
|
| 423 |
+
"id": "person-0068-grateful",
|
| 424 |
+
"personality_id": "person-0068",
|
| 425 |
+
"emotion": "grateful",
|
| 426 |
+
"shard": "train-g4-00000.tar",
|
| 427 |
+
"image_offset": 2236928,
|
| 428 |
+
"image_bytes": 1111324,
|
| 429 |
+
"image_sha256": "8ad1583a50ad64c0bb54d4bc150a1b0979954b54787d948630546bd9456d26a0",
|
| 430 |
+
"seed": 41206551
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"id": "person-0068-playful",
|
| 434 |
+
"personality_id": "person-0068",
|
| 435 |
+
"emotion": "playful",
|
| 436 |
+
"shard": "train-g4-00000.tar",
|
| 437 |
+
"image_offset": 3355136,
|
| 438 |
+
"image_bytes": 1110682,
|
| 439 |
+
"image_sha256": "a9cc401e6e784a35038516f9e36f7a57b4166e5985b778e7c31b88edfd5690a8",
|
| 440 |
+
"seed": 41206551
|
| 441 |
+
},
|
| 442 |
+
{
|
| 443 |
+
"id": "person-0068-angry",
|
| 444 |
+
"personality_id": "person-0068",
|
| 445 |
+
"emotion": "angry",
|
| 446 |
+
"shard": "train-g4-00000.tar",
|
| 447 |
+
"image_offset": 4472832,
|
| 448 |
+
"image_bytes": 1121969,
|
| 449 |
+
"image_sha256": "9382bad46f4dbd80ee8a447fff827e4aa533fec286f5ebbe0b070209afe19488",
|
| 450 |
+
"seed": 41206551
|
| 451 |
+
},
|
| 452 |
+
{
|
| 453 |
+
"id": "person-0068-afraid",
|
| 454 |
+
"personality_id": "person-0068",
|
| 455 |
+
"emotion": "afraid",
|
| 456 |
+
"shard": "train-g4-00000.tar",
|
| 457 |
+
"image_offset": 5601792,
|
| 458 |
+
"image_bytes": 1111188,
|
| 459 |
+
"image_sha256": "d631a775297d3bafdea961d9ccd6b27f6e19b8f96a679a68acc8874a332b58c8",
|
| 460 |
+
"seed": 41206551
|
| 461 |
+
},
|
| 462 |
+
{
|
| 463 |
+
"id": "person-0068-sad",
|
| 464 |
+
"personality_id": "person-0068",
|
| 465 |
+
"emotion": "sad",
|
| 466 |
+
"shard": "train-g4-00000.tar",
|
| 467 |
+
"image_offset": 6720000,
|
| 468 |
+
"image_bytes": 1113858,
|
| 469 |
+
"image_sha256": "35d9fb9f5832fee1d9268c6218d46c22fbdfe854dc7b772f7b7bac9ac6b50730",
|
| 470 |
+
"seed": 41206551
|
| 471 |
+
},
|
| 472 |
+
{
|
| 473 |
+
"id": "person-0068-annoyed",
|
| 474 |
+
"personality_id": "person-0068",
|
| 475 |
+
"emotion": "annoyed",
|
| 476 |
+
"shard": "train-g4-00000.tar",
|
| 477 |
+
"image_offset": 7840768,
|
| 478 |
+
"image_bytes": 1116087,
|
| 479 |
+
"image_sha256": "37d6c1f3fc8b6a9b0069675bd64fe2faab6864d10859d767df81fe71209c9e0e",
|
| 480 |
+
"seed": 41206551
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"id": "person-0068-pain",
|
| 484 |
+
"personality_id": "person-0068",
|
| 485 |
+
"emotion": "pain",
|
| 486 |
+
"shard": "train-g4-00000.tar",
|
| 487 |
+
"image_offset": 8963584,
|
| 488 |
+
"image_bytes": 1118273,
|
| 489 |
+
"image_sha256": "abb6c6e18d770c8501aa33bc13a3b3c6e4f4bbc75c614ce57183e58f9b413713",
|
| 490 |
+
"seed": 41206551
|
| 491 |
+
},
|
| 492 |
+
{
|
| 493 |
+
"id": "person-0068-disgust",
|
| 494 |
+
"personality_id": "person-0068",
|
| 495 |
+
"emotion": "disgust",
|
| 496 |
+
"shard": "train-g4-00000.tar",
|
| 497 |
+
"image_offset": 10088960,
|
| 498 |
+
"image_bytes": 1118041,
|
| 499 |
+
"image_sha256": "1e7c4036a48a3bc6e76569b5cae06216010f1b2b8e6808530b6258a100e9041a",
|
| 500 |
+
"seed": 41206551
|
| 501 |
+
},
|
| 502 |
+
{
|
| 503 |
+
"id": "person-0045-neutral",
|
| 504 |
+
"personality_id": "person-0045",
|
| 505 |
+
"emotion": "neutral",
|
| 506 |
+
"shard": "train-g5-00000.tar",
|
| 507 |
+
"image_offset": 512,
|
| 508 |
+
"image_bytes": 1082102,
|
| 509 |
+
"image_sha256": "8415630bac5ca68d302d8ff2be66ecbd7a56cb6286a8e1e946db57488086e4a4",
|
| 510 |
+
"seed": 926550046
|
| 511 |
+
},
|
| 512 |
+
{
|
| 513 |
+
"id": "person-0045-joyful",
|
| 514 |
+
"personality_id": "person-0045",
|
| 515 |
+
"emotion": "joyful",
|
| 516 |
+
"shard": "train-g5-00000.tar",
|
| 517 |
+
"image_offset": 1089536,
|
| 518 |
+
"image_bytes": 1092941,
|
| 519 |
+
"image_sha256": "829914a8e133b780a8db690b4f275c2394cd8f97952a3fd2f39da2099d4150a8",
|
| 520 |
+
"seed": 926550046
|
| 521 |
+
},
|
| 522 |
+
{
|
| 523 |
+
"id": "person-0045-grateful",
|
| 524 |
+
"personality_id": "person-0045",
|
| 525 |
+
"emotion": "grateful",
|
| 526 |
+
"shard": "train-g5-00000.tar",
|
| 527 |
+
"image_offset": 2189312,
|
| 528 |
+
"image_bytes": 1091599,
|
| 529 |
+
"image_sha256": "99a90cd60874f267dbc7f4b5ab90c9bc30a6f889a16919ff0e03c3f2f9d941ff",
|
| 530 |
+
"seed": 926550046
|
| 531 |
+
},
|
| 532 |
+
{
|
| 533 |
+
"id": "person-0045-playful",
|
| 534 |
+
"personality_id": "person-0045",
|
| 535 |
+
"emotion": "playful",
|
| 536 |
+
"shard": "train-g5-00000.tar",
|
| 537 |
+
"image_offset": 3288064,
|
| 538 |
+
"image_bytes": 1088902,
|
| 539 |
+
"image_sha256": "19059f2d68faf48be2f115e8dc960a2dac4cb736d56171c8805aad50d35dceef",
|
| 540 |
+
"seed": 926550046
|
| 541 |
+
},
|
| 542 |
+
{
|
| 543 |
+
"id": "person-0045-angry",
|
| 544 |
+
"personality_id": "person-0045",
|
| 545 |
+
"emotion": "angry",
|
| 546 |
+
"shard": "train-g5-00000.tar",
|
| 547 |
+
"image_offset": 4383744,
|
| 548 |
+
"image_bytes": 1095860,
|
| 549 |
+
"image_sha256": "13948cf013ba5accb5e529942527f0e7e5b2e165bcc9ccc2abae3add6d89d0d5",
|
| 550 |
+
"seed": 926550046
|
| 551 |
+
},
|
| 552 |
+
{
|
| 553 |
+
"id": "person-0045-afraid",
|
| 554 |
+
"personality_id": "person-0045",
|
| 555 |
+
"emotion": "afraid",
|
| 556 |
+
"shard": "train-g5-00000.tar",
|
| 557 |
+
"image_offset": 5486592,
|
| 558 |
+
"image_bytes": 1096090,
|
| 559 |
+
"image_sha256": "796f590b180e885fc4a3b2a17cd43f0618751cd50fa15b495cb7081caa7a9f67",
|
| 560 |
+
"seed": 926550046
|
| 561 |
+
},
|
| 562 |
+
{
|
| 563 |
+
"id": "person-0045-sad",
|
| 564 |
+
"personality_id": "person-0045",
|
| 565 |
+
"emotion": "sad",
|
| 566 |
+
"shard": "train-g5-00000.tar",
|
| 567 |
+
"image_offset": 6589440,
|
| 568 |
+
"image_bytes": 1097912,
|
| 569 |
+
"image_sha256": "ec97d9a20a5131f2c764e90e78b686206f3bcae924b010bc451a43ccc82355bf",
|
| 570 |
+
"seed": 926550046
|
| 571 |
+
},
|
| 572 |
+
{
|
| 573 |
+
"id": "person-0045-annoyed",
|
| 574 |
+
"personality_id": "person-0045",
|
| 575 |
+
"emotion": "annoyed",
|
| 576 |
+
"shard": "train-g5-00000.tar",
|
| 577 |
+
"image_offset": 7694336,
|
| 578 |
+
"image_bytes": 1091612,
|
| 579 |
+
"image_sha256": "89de05d37d5421eb4742e01537dc9d8c914bd26dd5fb7c339ce6c25a4ad8a6db",
|
| 580 |
+
"seed": 926550046
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"id": "person-0045-pain",
|
| 584 |
+
"personality_id": "person-0045",
|
| 585 |
+
"emotion": "pain",
|
| 586 |
+
"shard": "train-g5-00000.tar",
|
| 587 |
+
"image_offset": 8793088,
|
| 588 |
+
"image_bytes": 1095265,
|
| 589 |
+
"image_sha256": "ea2911513a3193bc091a042170753c1d2c5fce4c3414a3b4d2799b244b667f85",
|
| 590 |
+
"seed": 926550046
|
| 591 |
+
},
|
| 592 |
+
{
|
| 593 |
+
"id": "person-0045-disgust",
|
| 594 |
+
"personality_id": "person-0045",
|
| 595 |
+
"emotion": "disgust",
|
| 596 |
+
"shard": "train-g5-00000.tar",
|
| 597 |
+
"image_offset": 9895424,
|
| 598 |
+
"image_bytes": 1092010,
|
| 599 |
+
"image_sha256": "05be3ae0818798abc7d04a24fe216ebe3d9893eec40a68740e89d379ce51a290",
|
| 600 |
+
"seed": 926550046
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"id": "person-0001-neutral",
|
| 604 |
+
"personality_id": "person-0001",
|
| 605 |
+
"emotion": "neutral",
|
| 606 |
+
"shard": "train-g6-00000.tar",
|
| 607 |
+
"image_offset": 512,
|
| 608 |
+
"image_bytes": 1164801,
|
| 609 |
+
"image_sha256": "a11ed61840b1fed1261442c32695a12888e2420b56b839de1e18aabbaa70e29c",
|
| 610 |
+
"seed": 1998625666
|
| 611 |
+
},
|
| 612 |
+
{
|
| 613 |
+
"id": "person-0001-joyful",
|
| 614 |
+
"personality_id": "person-0001",
|
| 615 |
+
"emotion": "joyful",
|
| 616 |
+
"shard": "train-g6-00000.tar",
|
| 617 |
+
"image_offset": 1172480,
|
| 618 |
+
"image_bytes": 1192445,
|
| 619 |
+
"image_sha256": "47dc9b48453b12c91c8e9bc304840bfe2e62f7488f4a89f9f05d04175349a06f",
|
| 620 |
+
"seed": 1998625666
|
| 621 |
+
},
|
| 622 |
+
{
|
| 623 |
+
"id": "person-0001-grateful",
|
| 624 |
+
"personality_id": "person-0001",
|
| 625 |
+
"emotion": "grateful",
|
| 626 |
+
"shard": "train-g6-00000.tar",
|
| 627 |
+
"image_offset": 2371584,
|
| 628 |
+
"image_bytes": 1182149,
|
| 629 |
+
"image_sha256": "5ffcd59d94761f8799fee340b5768e496f543bdcc8bc3372284b272a45fcd68e",
|
| 630 |
+
"seed": 1998625666
|
| 631 |
+
},
|
| 632 |
+
{
|
| 633 |
+
"id": "person-0001-playful",
|
| 634 |
+
"personality_id": "person-0001",
|
| 635 |
+
"emotion": "playful",
|
| 636 |
+
"shard": "train-g6-00000.tar",
|
| 637 |
+
"image_offset": 3560448,
|
| 638 |
+
"image_bytes": 1180519,
|
| 639 |
+
"image_sha256": "39d5f29171bb676ab7356f0ed3bae98d02654dab452f2e987b92fbe322a7b9c1",
|
| 640 |
+
"seed": 1998625666
|
| 641 |
+
},
|
| 642 |
+
{
|
| 643 |
+
"id": "person-0001-angry",
|
| 644 |
+
"personality_id": "person-0001",
|
| 645 |
+
"emotion": "angry",
|
| 646 |
+
"shard": "train-g6-00000.tar",
|
| 647 |
+
"image_offset": 4747776,
|
| 648 |
+
"image_bytes": 1191292,
|
| 649 |
+
"image_sha256": "647f4a16e658d62eaf67019ff2af1835d3059593efc7b4d99b751ee4025ff157",
|
| 650 |
+
"seed": 1998625666
|
| 651 |
+
},
|
| 652 |
+
{
|
| 653 |
+
"id": "person-0001-afraid",
|
| 654 |
+
"personality_id": "person-0001",
|
| 655 |
+
"emotion": "afraid",
|
| 656 |
+
"shard": "train-g6-00000.tar",
|
| 657 |
+
"image_offset": 5945856,
|
| 658 |
+
"image_bytes": 1191825,
|
| 659 |
+
"image_sha256": "b456e4d7c653afc4468067502274026e1c00f6a571461a44cf922c2221b340a3",
|
| 660 |
+
"seed": 1998625666
|
| 661 |
+
},
|
| 662 |
+
{
|
| 663 |
+
"id": "person-0001-sad",
|
| 664 |
+
"personality_id": "person-0001",
|
| 665 |
+
"emotion": "sad",
|
| 666 |
+
"shard": "train-g6-00000.tar",
|
| 667 |
+
"image_offset": 7144448,
|
| 668 |
+
"image_bytes": 1186852,
|
| 669 |
+
"image_sha256": "c3f9344fc0e7995de34192b0649b3f6c0ee7c0ac1e6db687c5a39fe18ec1f678",
|
| 670 |
+
"seed": 1998625666
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"id": "person-0001-annoyed",
|
| 674 |
+
"personality_id": "person-0001",
|
| 675 |
+
"emotion": "annoyed",
|
| 676 |
+
"shard": "train-g6-00000.tar",
|
| 677 |
+
"image_offset": 8338432,
|
| 678 |
+
"image_bytes": 1180635,
|
| 679 |
+
"image_sha256": "f66591c21994ab97ccea69f754e1ce221e5e0b7c17f2e76876fc68c13e406bf6",
|
| 680 |
+
"seed": 1998625666
|
| 681 |
+
},
|
| 682 |
+
{
|
| 683 |
+
"id": "person-0001-pain",
|
| 684 |
+
"personality_id": "person-0001",
|
| 685 |
+
"emotion": "pain",
|
| 686 |
+
"shard": "train-g6-00000.tar",
|
| 687 |
+
"image_offset": 9525760,
|
| 688 |
+
"image_bytes": 1182735,
|
| 689 |
+
"image_sha256": "db7d2f8c61c4e6829be7b0ac659b3a0d50a68f79226c7f0e3ff2a1f7785d7f97",
|
| 690 |
+
"seed": 1998625666
|
| 691 |
+
},
|
| 692 |
+
{
|
| 693 |
+
"id": "person-0001-disgust",
|
| 694 |
+
"personality_id": "person-0001",
|
| 695 |
+
"emotion": "disgust",
|
| 696 |
+
"shard": "train-g6-00000.tar",
|
| 697 |
+
"image_offset": 10715648,
|
| 698 |
+
"image_bytes": 1190239,
|
| 699 |
+
"image_sha256": "b1ad3527a0765162ef0cd992621b15da9dd9c979ebd11b70c6fb73626d7cd92f",
|
| 700 |
+
"seed": 1998625666
|
| 701 |
+
}
|
| 702 |
+
]
|
metadata/shards.json
CHANGED
|
@@ -1 +1,79 @@
|
|
| 1 |
-
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "train-g0-00000.tar",
|
| 4 |
+
"worker": 0,
|
| 5 |
+
"count": 10,
|
| 6 |
+
"bytes": 11182080,
|
| 7 |
+
"sha256": "4088a227d57c9c2896da4350e4124486ed5a83cf29d8713b14330ee4023dd145",
|
| 8 |
+
"status": "ready",
|
| 9 |
+
"revision": null,
|
| 10 |
+
"created": "2026-10-06T15:37:32.049172+00:00",
|
| 11 |
+
"uploaded": null
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"name": "train-g1-00000.tar",
|
| 15 |
+
"worker": 1,
|
| 16 |
+
"count": 10,
|
| 17 |
+
"bytes": 11335680,
|
| 18 |
+
"sha256": "5c4d91372542b3396ff71b980cb51b470d909ff3852b2b787f2d7de6199893e4",
|
| 19 |
+
"status": "ready",
|
| 20 |
+
"revision": null,
|
| 21 |
+
"created": "2026-10-06T15:37:22.799148+00:00",
|
| 22 |
+
"uploaded": null
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"name": "train-g2-00000.tar",
|
| 26 |
+
"worker": 2,
|
| 27 |
+
"count": 10,
|
| 28 |
+
"bytes": 10629120,
|
| 29 |
+
"sha256": "5e9c071cd6d3a6e04f728e5ff71c4842f828a079af91286e3361970189586a4d",
|
| 30 |
+
"status": "ready",
|
| 31 |
+
"revision": null,
|
| 32 |
+
"created": "2026-10-06T15:37:26.297675+00:00",
|
| 33 |
+
"uploaded": null
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": "train-g3-00000.tar",
|
| 37 |
+
"worker": 3,
|
| 38 |
+
"count": 10,
|
| 39 |
+
"bytes": 11489280,
|
| 40 |
+
"sha256": "e68e9504b397724b89a20ebf15962b8d1fd55812d3840a4b14de4e239df1880d",
|
| 41 |
+
"status": "ready",
|
| 42 |
+
"revision": null,
|
| 43 |
+
"created": "2026-10-06T15:37:27.100765+00:00",
|
| 44 |
+
"uploaded": null
|
| 45 |
+
},
|
| 46 |
+
{
|
| 47 |
+
"name": "train-g4-00000.tar",
|
| 48 |
+
"worker": 4,
|
| 49 |
+
"count": 10,
|
| 50 |
+
"bytes": 11223040,
|
| 51 |
+
"sha256": "7b373b727133ec6d016b90d94c6b5921591fffafb502fcf27acf39d6dcbb358a",
|
| 52 |
+
"status": "ready",
|
| 53 |
+
"revision": null,
|
| 54 |
+
"created": "2026-10-06T15:37:17.715900+00:00",
|
| 55 |
+
"uploaded": null
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"name": "train-g5-00000.tar",
|
| 59 |
+
"worker": 5,
|
| 60 |
+
"count": 10,
|
| 61 |
+
"bytes": 10997760,
|
| 62 |
+
"sha256": "8dba04196739b28df1795509ee3790ef4767be8e7ec4ffa09c45aa2b6f79ffb9",
|
| 63 |
+
"status": "ready",
|
| 64 |
+
"revision": null,
|
| 65 |
+
"created": "2026-10-06T15:37:18.808936+00:00",
|
| 66 |
+
"uploaded": null
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": "train-g6-00000.tar",
|
| 70 |
+
"worker": 6,
|
| 71 |
+
"count": 10,
|
| 72 |
+
"bytes": 11919360,
|
| 73 |
+
"sha256": "a76ac740e7aad6c7d74fbab8bfedbab5ff81c08eab5ab4828e03aa1e9e38cd64",
|
| 74 |
+
"status": "ready",
|
| 75 |
+
"revision": null,
|
| 76 |
+
"created": "2026-10-06T15:37:17.580870+00:00",
|
| 77 |
+
"uploaded": null
|
| 78 |
+
}
|
| 79 |
+
]
|
tools/character_production.py
CHANGED
|
@@ -8,7 +8,7 @@ from pathlib import Path
|
|
| 8 |
import sqlite3
|
| 9 |
import tarfile
|
| 10 |
import time
|
| 11 |
-
from datetime import datetime,timezone
|
| 12 |
from background_production import add_member,sha,dump
|
| 13 |
|
| 14 |
ROOT=Path(__file__).resolve().parents[1]
|
|
@@ -75,6 +75,21 @@ def ingest_pilot():
|
|
| 75 |
for path in sorted(BUFFER.glob('pilot-person-*.tar')):
|
| 76 |
if con.execute('SELECT name FROM shards WHERE name=?',(path.name,)).fetchone():continue
|
| 77 |
records=[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
with tarfile.open(path,'r:') as tar:
|
| 79 |
for member in tar:
|
| 80 |
if member.name.endswith('.json'):records.append(json.loads(tar.extractfile(member).read()))
|
|
@@ -104,7 +119,7 @@ def worker(gpu):
|
|
| 104 |
BUFFER.mkdir(parents=True,exist_ok=True);first=True
|
| 105 |
while True:
|
| 106 |
records=[];person_ids=[];tar=None
|
| 107 |
-
for _ in range(2):
|
| 108 |
person=claim(con,gpu)
|
| 109 |
if person is None:break
|
| 110 |
if tar is None:
|
|
@@ -141,6 +156,8 @@ def upload():
|
|
| 141 |
from huggingface_hub import HfApi
|
| 142 |
api=HfApi(token=os.environ['HF_TOKEN']);con=connect()
|
| 143 |
while True:
|
|
|
|
|
|
|
| 144 |
for r in con.execute("SELECT * FROM shards WHERE status='ready' ORDER BY created").fetchall():
|
| 145 |
try:
|
| 146 |
path=BUFFER/r['name'];assert sha(path)==r['sha256']
|
|
|
|
| 8 |
import sqlite3
|
| 9 |
import tarfile
|
| 10 |
import time
|
| 11 |
+
from datetime import datetime,timezone,timedelta
|
| 12 |
from background_production import add_member,sha,dump
|
| 13 |
|
| 14 |
ROOT=Path(__file__).resolve().parents[1]
|
|
|
|
| 75 |
for path in sorted(BUFFER.glob('pilot-person-*.tar')):
|
| 76 |
if con.execute('SELECT name FROM shards WHERE name=?',(path.name,)).fetchone():continue
|
| 77 |
records=[]
|
| 78 |
+
bg=sqlite3.connect(ROOT/'experiments/background-production/queue.sqlite')
|
| 79 |
+
end=bg.execute("SELECT MAX(time) FROM events WHERE worker=7 AND kind='complete'").fetchone()[0];bg.close()
|
| 80 |
+
assert end,'Background GPU7 must have completed before pilot ingestion'
|
| 81 |
+
corrected=path.with_name(path.name+'.runtimefix')
|
| 82 |
+
with tarfile.open(path,'r:') as src,tarfile.open(corrected,'w',format=tarfile.USTAR_FORMAT) as dst:
|
| 83 |
+
for member in src:
|
| 84 |
+
data=src.extractfile(member).read()
|
| 85 |
+
if member.name.endswith('.json'):
|
| 86 |
+
m=json.loads(data)
|
| 87 |
+
start=datetime.fromisoformat(m['generated_utc'])-timedelta(seconds=m['runtime']['generation_seconds'])
|
| 88 |
+
m['runtime']['gpu_shared_with_backgrounds']=start<datetime.fromisoformat(end)
|
| 89 |
+
m['runtime']['sharing_note']='GPU7 background worker completed at '+end+'; shared flag reflects overlap with this generation call'
|
| 90 |
+
data=json.dumps(m,indent=2,ensure_ascii=False).encode()
|
| 91 |
+
add_member(dst,member.name,data)
|
| 92 |
+
corrected.replace(path)
|
| 93 |
with tarfile.open(path,'r:') as tar:
|
| 94 |
for member in tar:
|
| 95 |
if member.name.endswith('.json'):records.append(json.loads(tar.extractfile(member).read()))
|
|
|
|
| 119 |
BUFFER.mkdir(parents=True,exist_ok=True);first=True
|
| 120 |
while True:
|
| 121 |
records=[];person_ids=[];tar=None
|
| 122 |
+
for _ in range(1 if first else 2):
|
| 123 |
person=claim(con,gpu)
|
| 124 |
if person is None:break
|
| 125 |
if tar is None:
|
|
|
|
| 156 |
from huggingface_hub import HfApi
|
| 157 |
api=HfApi(token=os.environ['HF_TOKEN']);con=connect()
|
| 158 |
while True:
|
| 159 |
+
if not (STATE/'production-quality-passed.json').is_file() and not (STATE/'pilot-quality-passed.json').is_file():
|
| 160 |
+
time.sleep(5);continue
|
| 161 |
for r in con.execute("SELECT * FROM shards WHERE status='ready' ORDER BY created").fetchall():
|
| 162 |
try:
|
| 163 |
path=BUFFER/r['name'];assert sha(path)==r['sha256']
|