Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
stable-diffusion
cvpr
image-generation
compositionality
Instructions to use mlpc-lab/TokenCompose_SD14_A with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mlpc-lab/TokenCompose_SD14_A with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mlpc-lab/TokenCompose_SD14_A", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
Verified signatured165e27
-
Update README.md
Verified signatured3c6910 -
Update README.md
Verified signature02bb7ff
-
Update README.md
6591265
-
Update README.md
95dbfa0 -
Update README.md
c0d02c9 -
Update README.md
06cb17e -
Update README.md
5f82ed4 -
Update README.md
d6016ce -
Update README.md
a7aba6b -
Create README.md
# 🧩 TokenCompose SD14 Model Card [TokenCompose_SD14_A](https://mlpc-ucsd.github.io/TokenCompose/) is a [latent text-to-image diffusion model](https://arxiv.org/abs/2112.10752) finetuned from [**Stable-Diffusion-v1-4**](https://huggingface.co/CompVis/stable-diffusion-v1-4) checkpoint at resolution 512x512 on the [VSR](https://github.com/cambridgeltl/visual-spatial-reasoning) split of [COCO image-caption pairs](https://cocodataset.org/#download) for 24,000 steps with a learning rate of 5e-6. The training objective involves token-level grounding terms in addition to denoising loss for enhanced multi-category instance composition and photorealism. The postfix "_A/B" indicates a single run of this variant (e.g., SD14).579b750
-
Upload StableDiffusionPipeline
96c6ad4 -
initial commit
8c8a783