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