Instructions to use fassabilf/sd15-ift-uk-real with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fassabilf/sd15-ift-uk-real with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fassabilf/sd15-ift-uk-real", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
SD 1.5 IFT β foto asli, UK, gender
UNet hasil train.py --sft di 400 foto asli Pexels (2000 baris train / 600 val,
dataset fassabilf/ift-train-uk-real), 20 epoch, --seed 0.
Arm UK: 20 okupasi terlatih (mechanic, civil_engineer, engineer, engineering_technician, it_support, caretaker, it_operations, sales_executive, lab_technician, finance_analyst, sports_coach, higher_ed_teacher, director, accountant, further_ed_teacher, secondary_teacher, office_manager, nurse, teaching_assistant, personal_assistant; sufiks _uk), ground truth ONS, prompt "in the United Kingdom". 63 step/epoch (US: 44) β jangan menyamakan epN UK dengan epN US. Lima okupasi held-out (tidak pernah dilihat waktu training) dievaluasi di ep5/ep20: metal_fitter, senior_care_worker, care_worker, crossing_patrol, education_support. Hasil paired ΞMAE_real vs base SD 1.5 (20 okupasi, cluster bootstrap 95 %): ep5 β0,044 [β0,090, β0,003], ep15 β0,055 [β0,114, β0,002], ep20 β0,057 [β0,099, β0,018]; ep10 memuat 0. Detail di analysis/REPORT.md.
VAE, text encoder, dan tokenizer identik dengan SD 1.5 base β tidak ikut diunggah.
Rakit pipeline-nya dengan memasang UNet di sini ke stable-diffusion-v1-5/stable-diffusion-v1-5
(lihat scripts/ift/ckpt_to_pipeline.py di repo kode).
Checkpoint yang diunggah: ep5, ep10, ep15, ep20. Setelan lengkap di hparams.yml; angka evaluasi,
error bar, dan lantai MAE di analysis/.
Model ini artefak penelitian tentang bias distribusi gender, bukan model produksi.
- Downloads last month
- -
Model tree for fassabilf/sd15-ift-uk-real
Base model
stable-diffusion-v1-5/stable-diffusion-v1-5