Datasets:
Add jobs taxonomy,exact prompts,metadata and progress (16)
Browse files- README.md +23 -8
- metadata/job-outfits/progress.json +2 -2
- metadata/minor-safety/public-stream-filter.json +1 -1
- tools/job_outfits.py +14 -1
README.md
CHANGED
|
@@ -23,14 +23,14 @@ configs:
|
|
| 23 |
path:
|
| 24 |
- data/*.tar
|
| 25 |
- job-data/*.tar
|
| 26 |
-
- config_name: jobs
|
| 27 |
-
data_files:
|
| 28 |
-
- split: train
|
| 29 |
-
path: job-data/*.tar
|
| 30 |
- config_name: base
|
| 31 |
data_files:
|
| 32 |
- split: train
|
| 33 |
path: data/*.tar
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
dataset_info:
|
| 35 |
- config_name: default
|
| 36 |
features: &id001
|
|
@@ -312,12 +312,27 @@ dataset_info:
|
|
| 312 |
dtype: string
|
| 313 |
- name: __url__
|
| 314 |
dtype: string
|
| 315 |
-
- config_name: jobs
|
| 316 |
-
features: *id001
|
| 317 |
- config_name: base
|
| 318 |
features: *id001
|
|
|
|
|
|
|
| 319 |
---
|
| 320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 321 |
# Complete character collection and professional outfit plan
|
| 322 |
|
| 323 |
**Planned total: 840 identities, 12,140 images.** The expression/special collection contains 7,500 planned images. A further **464 adult humans × 10 professional outfits = 4,640 sprites** reuse those identities and their neutral references; they do not add new personality IDs. See [all 100 jobs and the exact outfit allocation](JOB_OUTFITS.md). Job sprites uploaded so far: **16/4,640**. The `jobs` streaming configuration becomes available when its first TAR is uploaded.
|
|
@@ -325,7 +340,7 @@ dataset_info:
|
|
| 325 |
The [teen/child detector recheck](SAFETY_RECHECK.md) reports actual image checksums, both LAION classifier scores, operational thresholds and any replacements. Intended ages, professions and demographic attributes describe prompting, not inferred real-world classifications.
|
| 326 |
|
| 327 |
|
| 328 |
-
#
|
| 329 |
|
| 330 |
**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.
|
| 331 |
|
|
@@ -432,7 +447,7 @@ image, metadata, prompt = sample["png"], sample["json"], sample["txt"]
|
|
| 432 |
print(metadata["personality_id"], metadata["emotion"], image.size)
|
| 433 |
```
|
| 434 |
|
| 435 |
-
The
|
| 436 |
|
| 437 |
```bash
|
| 438 |
python tools/read_webdataset.py pilot-person-0253.tar \
|
|
|
|
| 23 |
path:
|
| 24 |
- data/*.tar
|
| 25 |
- job-data/*.tar
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
- config_name: base
|
| 27 |
data_files:
|
| 28 |
- split: train
|
| 29 |
path: data/*.tar
|
| 30 |
+
- config_name: jobs
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: job-data/*.tar
|
| 34 |
dataset_info:
|
| 35 |
- config_name: default
|
| 36 |
features: &id001
|
|
|
|
| 312 |
dtype: string
|
| 313 |
- name: __url__
|
| 314 |
dtype: string
|
|
|
|
|
|
|
| 315 |
- config_name: base
|
| 316 |
features: *id001
|
| 317 |
+
- config_name: jobs
|
| 318 |
+
features: *id001
|
| 319 |
---
|
| 320 |
|
| 321 |
+
# Complete character collection and professional outfit plan
|
| 322 |
+
|
| 323 |
+
**Planned total: 840 identities, 12,140 images.** The expression/special collection contains 7,500 planned images. A further **464 adult humans × 10 professional outfits = 4,640 sprites** reuse those identities and their neutral references; they do not add new personality IDs. See [all 100 jobs and the exact outfit allocation](JOB_OUTFITS.md). Job sprites uploaded so far: **16/4,640**. The `jobs` streaming configuration becomes available when its first TAR is uploaded.
|
| 324 |
+
|
| 325 |
+
The [teen/child detector recheck](SAFETY_RECHECK.md) reports actual image checksums, both LAION classifier scores, operational thresholds and any replacements. Intended ages, professions and demographic attributes describe prompting, not inferred real-world classifications.
|
| 326 |
+
|
| 327 |
+
# Vivarium warm-painted greenscreen people and special characters
|
| 328 |
+
|
| 329 |
+
**Combined uploaded snapshot: 5,000/7,500 images.** The collection comprises an original 500-person series, an extension of 240 adult people with the same ten emotions, and 100 fantasy / science-fiction specials with one neutral portrait each. All images are 832×1,248, in the selected Ghibli-inspired warm-painted style, with solid greenscreen backgrounds. The original collection has 5,000/5,000 images uploaded; the extension has 0/2,500.
|
| 330 |
+
|
| 331 |
+
See the detailed [extension allocation and 25-class special taxonomy](EXTENSIONS.md), including all 100 variants, exact prompt plans, CSVs, inference examples and measured progress. The base model is [FLUX.2-klein-base-9B](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9B); the [rank-64 character LoRA](https://huggingface.co/laion/FLUX.2-klein-base-9B-vivarium-loras) is linked with examples and inference instructions. Native generation uses **50 steps, real CFG 4 and BF16**.
|
| 332 |
+
|
| 333 |
+
Named streaming configurations separate the original `base`, additional `humans_extra`, and `specials` families as their TARs become available. `default` reads all currently uploaded families. Demographic labels are intended prompt attributes; special creatures are not assigned human ethnicities. Use identity IDs for train/evaluation splitting.
|
| 334 |
+
|
| 335 |
+
|
| 336 |
# Complete character collection and professional outfit plan
|
| 337 |
|
| 338 |
**Planned total: 840 identities, 12,140 images.** The expression/special collection contains 7,500 planned images. A further **464 adult humans × 10 professional outfits = 4,640 sprites** reuse those identities and their neutral references; they do not add new personality IDs. See [all 100 jobs and the exact outfit allocation](JOB_OUTFITS.md). Job sprites uploaded so far: **16/4,640**. The `jobs` streaming configuration becomes available when its first TAR is uploaded.
|
|
|
|
| 340 |
The [teen/child detector recheck](SAFETY_RECHECK.md) reports actual image checksums, both LAION classifier scores, operational thresholds and any replacements. Intended ages, professions and demographic attributes describe prompting, not inferred real-world classifications.
|
| 341 |
|
| 342 |
|
| 343 |
+
# Original 500-person collection
|
| 344 |
|
| 345 |
**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.
|
| 346 |
|
|
|
|
| 447 |
print(metadata["personality_id"], metadata["emotion"], image.size)
|
| 448 |
```
|
| 449 |
|
| 450 |
+
The `base` configuration selects only `data/*.tar`; the default also includes available extension TAR families. JSON indexes are excluded from training examples. An alternate standard-library TAR/HTTP reader avoids extracting image files:
|
| 451 |
|
| 452 |
```bash
|
| 453 |
python tools/read_webdataset.py pilot-person-0253.tar \
|
metadata/job-outfits/progress.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"utc": "2026-10-
|
| 3 |
"jobs": {
|
| 4 |
"done": 16,
|
| 5 |
"queued": 4624
|
|
@@ -13,7 +13,7 @@
|
|
| 13 |
"images_in_open_shards": 0,
|
| 14 |
"images_currently_generating": 0,
|
| 15 |
"inference_attempts_completed": 16,
|
| 16 |
-
"buffer_free_gb": 290.
|
| 17 |
"images_uploaded": 16,
|
| 18 |
"target_images": 4640
|
| 19 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"utc": "2026-10-07T00:04:17.530300+00:00",
|
| 3 |
"jobs": {
|
| 4 |
"done": 16,
|
| 5 |
"queued": 4624
|
|
|
|
| 13 |
"images_in_open_shards": 0,
|
| 14 |
"images_currently_generating": 0,
|
| 15 |
"inference_attempts_completed": 16,
|
| 16 |
+
"buffer_free_gb": 290.189635584,
|
| 17 |
"images_uploaded": 16,
|
| 18 |
"target_images": 4640
|
| 19 |
}
|
metadata/minor-safety/public-stream-filter.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"status": "restored_after_completed_recheck_and_all_replacement_uploads",
|
| 3 |
-
"utc": "2026-10-07T00:04:
|
| 4 |
"included_base_images": 5000,
|
| 5 |
"withheld_base_images": 0
|
| 6 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"status": "restored_after_completed_recheck_and_all_replacement_uploads",
|
| 3 |
+
"utc": "2026-10-07T00:04:16.980601+00:00",
|
| 4 |
"included_base_images": 5000,
|
| 5 |
"withheld_base_images": 0
|
| 6 |
}
|
tools/job_outfits.py
CHANGED
|
@@ -68,7 +68,8 @@ def worker(gpu,shared=False,limit=None):
|
|
| 68 |
engine.event(c,gpu,'loaded');BUFFER.mkdir(parents=True,exist_ok=True)
|
| 69 |
rows=list(c.execute('SELECT name FROM shards WHERE worker=?',(gpu,)))
|
| 70 |
sequence=max([int(r['name'].removesuffix('.tar').rsplit('-',1)[1]) for r in rows]+[-1])+1
|
| 71 |
-
first=not rows;warm=False;completed=0;refs={}
|
|
|
|
| 72 |
while limit is None or completed<limit:
|
| 73 |
records=[];target=min(2 if first else 20,(limit-completed) if limit is not None else 20)
|
| 74 |
tar=None
|
|
@@ -86,9 +87,20 @@ def worker(gpu,shared=False,limit=None):
|
|
| 86 |
im=generate_native_image(pipe,prompt_embeds=embeds,seed=r['seed'],steps=50,guidance=4.,
|
| 87 |
negative_prompt=r['negative_prompt'],image=image,width=832,height=1248)[0]
|
| 88 |
torch.cuda.synchronize();seconds=time.perf_counter()-t
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 89 |
b=io.BytesIO();im.save(b,format='PNG',compress_level=4);png=b.getvalue()
|
| 90 |
profile='shared-GPU-CPU-offload-job-pilot' if shared else 'dedicated-GPU-reference-job-outfits'
|
| 91 |
m=metadata(r,dict(id=r['id'],seed=r['seed']),png,ref_sha,seconds,encode_seconds,name,profile);m.update(provenance)
|
|
|
|
|
|
|
| 92 |
m['runtime']['includes_compile_warmup']=not warm;warm=True
|
| 93 |
m['runtime']['gpu_shared_with_backgrounds']=False;m['runtime']['gpu_shared_with_character_production']=shared
|
| 94 |
engine.add_member(tar,r['id']+'.png',png);engine.add_member(tar,r['id']+'.json',json.dumps(m,ensure_ascii=False,indent=2).encode());engine.add_member(tar,r['id']+'.txt',r['prompt'].encode())
|
|
@@ -100,6 +112,7 @@ def worker(gpu,shared=False,limit=None):
|
|
| 100 |
for ident,seconds,m in records:c.execute("UPDATE jobs SET status='done',shard=?,generation_seconds=?,metadata=?,finished=? WHERE id=?",(name,seconds,m,engine.utc(),ident))
|
| 101 |
c.commit();sequence+=1;first=False
|
| 102 |
if not records:break
|
|
|
|
| 103 |
engine.event(c,gpu,'pilot_complete' if limit is not None else 'complete')
|
| 104 |
|
| 105 |
if __name__=='__main__':
|
|
|
|
| 68 |
engine.event(c,gpu,'loaded');BUFFER.mkdir(parents=True,exist_ok=True)
|
| 69 |
rows=list(c.execute('SELECT name FROM shards WHERE worker=?',(gpu,)))
|
| 70 |
sequence=max([int(r['name'].removesuffix('.tar').rsplit('-',1)[1]) for r in rows]+[-1])+1
|
| 71 |
+
first=not rows;warm=False;completed=0;refs={};scorer=None
|
| 72 |
+
from teen_generation_safety import in_scope,screen_frame,persist_actual_plan
|
| 73 |
while limit is None or completed<limit:
|
| 74 |
records=[];target=min(2 if first else 20,(limit-completed) if limit is not None else 20)
|
| 75 |
tar=None
|
|
|
|
| 87 |
im=generate_native_image(pipe,prompt_embeds=embeds,seed=r['seed'],steps=50,guidance=4.,
|
| 88 |
negative_prompt=r['negative_prompt'],image=image,width=832,height=1248)[0]
|
| 89 |
torch.cuda.synchronize();seconds=time.perf_counter()-t
|
| 90 |
+
safety=None
|
| 91 |
+
if in_scope(r):
|
| 92 |
+
if scorer is None:
|
| 93 |
+
from laion_image_scorer import Scorer
|
| 94 |
+
scorer=Scorer('cuda:0')
|
| 95 |
+
im,actual,safety,extra=screen_frame(pipe,r,r,im,image,scorer)
|
| 96 |
+
r.update({k:actual[k] for k in ['seed','negative_prompt']});seconds+=extra
|
| 97 |
+
persist_actual_plan(STATE,'image-plan.json','id',r)
|
| 98 |
+
c.execute('UPDATE jobs SET record=? WHERE id=?',(json.dumps(r,ensure_ascii=False,sort_keys=True),r['id']));c.commit()
|
| 99 |
b=io.BytesIO();im.save(b,format='PNG',compress_level=4);png=b.getvalue()
|
| 100 |
profile='shared-GPU-CPU-offload-job-pilot' if shared else 'dedicated-GPU-reference-job-outfits'
|
| 101 |
m=metadata(r,dict(id=r['id'],seed=r['seed']),png,ref_sha,seconds,encode_seconds,name,profile);m.update(provenance)
|
| 102 |
+
if safety is not None:
|
| 103 |
+
safety['image_sha256']=m['image_sha256'];m['safety_check']=safety
|
| 104 |
m['runtime']['includes_compile_warmup']=not warm;warm=True
|
| 105 |
m['runtime']['gpu_shared_with_backgrounds']=False;m['runtime']['gpu_shared_with_character_production']=shared
|
| 106 |
engine.add_member(tar,r['id']+'.png',png);engine.add_member(tar,r['id']+'.json',json.dumps(m,ensure_ascii=False,indent=2).encode());engine.add_member(tar,r['id']+'.txt',r['prompt'].encode())
|
|
|
|
| 112 |
for ident,seconds,m in records:c.execute("UPDATE jobs SET status='done',shard=?,generation_seconds=?,metadata=?,finished=? WHERE id=?",(name,seconds,m,engine.utc(),ident))
|
| 113 |
c.commit();sequence+=1;first=False
|
| 114 |
if not records:break
|
| 115 |
+
if scorer is not None:scorer.close()
|
| 116 |
engine.event(c,gpu,'pilot_complete' if limit is not None else 'complete')
|
| 117 |
|
| 118 |
if __name__=='__main__':
|