Instructions to use 2weaks/bottle2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use 2weaks/bottle2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("2weaks/bottle2", 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
Download unet/diffusion_pytorch_model.bin from 2weaks/bottle2: direct link, hf CLI and curl.
- Browser
- Download file 3.44 GB
-
https://huggingface.co/2weaks/bottle2/resolve/main/unet/diffusion_pytorch_model.bin
- Command line
-
hf download hf://2weaks/bottle2/unet/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/2weaks/bottle2/resolve/main/unet/diffusion_pytorch_model.bin
3.44 GB
- Xet hash:
- 7897914bf75e75cbdf07bb4c226357fb169756d54caeaf37b98b01b51add7232
- Size of remote file:
- 3.44 GB
- SHA256:
- 3fe01ce6c8e1246b99abe78a68b99428e7aecbd9e6e18dbe62b0eb72eedc4139
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.