Open Preference Dataset for Text-to-Image Generation by the 🤗 Community
Data is Better Together released an Apache 2.0 text-to-image preference dataset of 10K pairs, with over 30K annotations from more than 250 community members collected in under two weeks. Imgsys prompts were deduplicated, filtered for NSFW content with text and image classifiers plus manual review, and rewritten with distilabel across style categories and simple versus complex variants. Images came from FLUX.1-dev and Stable Diffusion 3.5 Large. Annotators found FLUX better for anime, manga and 3D, and SD3.5 better for cinematic and art styles. A LoRA fine-tune of FLUX-dev on the chosen samples improved its weaker art and cinematic outputs.
Related posts
- Instruction-tuning Stable Diffusion with InstructPix2Pix
Hugging Face hardMasterFine-tuning InstructPix2Pix on FLAN-style instruction-prompted datasets teaches Stable Diffusion to follow specific image transformation instructions such as cartoonization and low-level image processing (deraining, denoising, deblurring, low-light enhancement). The cartoonization dataset pairs 5,000 Imagenette images with Whitebox CartoonGAN outputs and 50 ChatGPT-generated instruction paraphrases, and the low-level dataset mixes samples from REDS, Rain13k, SIDD and LOL into a single multi-task set. Starting from an InstructPix2Pix checkpoint adapted faster than starting from base Stable Diffusion. Cartoonization and deraining results clearly beat the pre-trained model, while low-light enhancement and deblurring stayed weak, likely because those tasks had very few training samples. The results are preliminary, and open questions on dataset scale, task mixture and ControlNet alternatives remain.
- Open-sourcing Knowledge Distillation Code and Weights of SD-Small and SD-Tiny
Hugging Face mediumAdeptSegmind releases training code and weights for SD-Small and SD-Tiny, Stable Diffusion variants compressed by block-removal knowledge distillation that cut UNet parameters by 35% and 55% while keeping image fidelity close to the base model. The student is trained with three losses: the standard latent diffusion loss, an output-matching loss against the teacher (Realistic-Vision 4.0), and a per-block feature-level loss. Training used 1M LAION Art Aesthetic images scoring above 7.5. The distilled models run up to 2x faster at inference but are early-stage and weak at composition, so they work best fine-tuned or LoRA-trained on specific styles. A portrait fine-tune of SD-Tiny is included with its hyperparameters.
- 2D Asset Generation: AI for Game Development #4
Hugging Face mediumAdeptStable Diffusion's Image2Image mode can be used as one step in a conventional 2D art workflow rather than a replacement for it: rough hand sketches are fed in, the output is painted over in an image editor, and the result is fed back in. Denoising strength sets how far the output strays from the input. A corn icon was produced in under 10 minutes by starting at 0.8 for exploration and dropping to 0.6 for refinement. A scythe icon was harder because training data skews toward weapons. That kind of bias can be countered with prompt engineering and negative prompts, or with customization techniques such as DreamBooth, textual inversion and LoRA.
- Welcome FLUX.3 Image Klein in Diffusers
Hugging Face mediumAdeptFLUX.3 Image Klein from Black Forest Labs is supported in Diffusers from launch. It is a single model for text-to-image, multi-reference image-to-image, and bounding-box layout control, where regions are written as JSON with normalized 0–1000 boxes to place new content or move content from a reference image. The distilled checkpoint renders 1024×1024 in about 1.9 s on an H100 in 16 steps without CFG. Reference images roughly double the time because each adds 4,096 tokens to the transformer sequence. The post also covers FP8 and NVFP4 single-file variants that cut peak memory to about 15–16 GiB, DreamBooth LoRA training scripts, the VAE tokenization (one token per 16×16 patch), and Modular Diffusers pipeline usage.
- Introducing TextImage Augmentation for Document Images
Hugging Face mediumAdeptAlbumentations adds a TextImage transform that augments document images and their text annotations together, so vision-language models fine-tuned on small document datasets see text-preserving variations. It picks random text lines (fraction_range), applies word-level edits (random swap, deletion, or stopword insertion), blacks out and inpaints the original line, and re-renders the new text sized from the bounding box (font_size_fraction_range). The transform composes with other Albumentations transforms such as PlanckianJitter and Affine, returns the altered text and bounding boxes via overlay_data for training labels, and can render arbitrary text onto templates to generate synthetic data. Synonym replacement was dropped because of its time overhead.