Instructions to use babkasotona/1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use babkasotona/1b with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("babkasotona/1b", dtype=torch.bfloat16, device_map="cuda") prompt = "sdxs-1b" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download src/test.ipynb from babkasotona/1b: direct link, hf CLI and curl.
- Browser
- Download file 6.91 MB
-
https://huggingface.co/babkasotona/1b/resolve/main/src/test.ipynb
- Command line
-
hf download hf://babkasotona/1b/src/test.ipynb
-
curl -L -o test.ipynb https://huggingface.co/babkasotona/1b/resolve/main/src/test.ipynb
6.91 MB