Run this model with HF Jobs
Run SPRIGHT-T2I/spright-t2i-sd2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SPRIGHT-T2I/spright-t2i-sd2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SPRIGHT-T2I/spright-t2i-sd2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use SPRIGHT-T2I/spright-t2i-sd2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use SPRIGHT-T2I/spright-t2i-sd2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("SPRIGHT-T2I/spright-t2i-sd2", 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
Update README.md
Browse files110 unmodified lines111112113114115116117118119120121122123124125110 unmodified linesThe following table compares our SPRIGHT-T2I model with SD 2.1 across multiple spatial reasoning and image quality:|Method |OA(%) ↑|VISOR-4(%) ↑|T2I-CompBench ↑|FID ↓|CCMD ↓||------------------|-------|------------|---------------|-----|------||SD v2.1 |47.83 |4.70 |0.1507 |21.646|1.060 ||SPRIGHT-T2I (ours)|60.68 |16.15 |0.2133 |16.149|0.512 |Our key findings are:- Increased the Object Accuracy (OA) score by 26.86%, indicating that we are much better at generating objects mentioned in the input prompt- Visor-4 score of 16.15% denotes that for a given input prompt, we consistently generate a spatially accurate image- Improve on all aspects of the VISOR score while improving the ZS-FID and CMMD score on COCO-30K images by 23.74% and 51.69%, respectively- Enhance the ability to generate 1 and 2 objects, along with generating the correct number of objects, as indicated by evaluation on the [GenEval](https://github.com/djghosh13/geneval) benchmark.### Model Resources110 unmodified lines111112113114115116117118119120121122123124125110 unmodified linesThe following table compares our SPRIGHT-T2I model with SD 2.1 across multiple spatial reasoning and image quality:|Method |OA(%) ↑|VISOR-4(%) ↑|T2I-CompBench ↑|FID ↓|CMMD ↓||------------------|-------|------------|---------------|-----|------||SD v2.1 |47.83 |4.70 |0.1507 |21.646|1.060 ||SPRIGHT-T2I (ours)|60.68 |16.15 |0.2133 |16.149|0.512 |Our key findings are:- We increase the VISOR Object Accuracy (OA) score by 26.86%, indicating that we are much better at generating objects mentioned in the input prompt.- VISOR-4 score of 16.15% denotes that for a given input prompt, we consistently generate a spatially accurate image.- Improve on all aspects of the VISOR score while improving the ZS-FID and CMMD score on COCO-30K images by 23.74% and 51.69%, respectively.- Enhance the ability to generate 1 and 2 objects, along with generating the correct number of objects, as indicated by evaluation on the [GenEval](https://github.com/djghosh13/geneval) benchmark.### Model Resources
README.md+4-4