Instructions to use showlab/show-o2-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use showlab/show-o2-7B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("showlab/show-o2-7B", 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
Improve model card with abstract, library tag, and code link
#1
by nielsr HF Staff - opened
This PR enhances the model card for Show-o2 by:
- Adding the detailed paper abstract to provide a better understanding of the model.
- Including
library_name: transformersmetadata, as the model leverages components from the π€ Transformers library (e.g., Qwen2.5). - Integrating a direct link to the specific GitHub repository for Show-o2, making it easier for users to access the code.
Sierkinhane changed pull request status to merged