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 stats.json from ccccsc/preview_model: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/ccccsc/preview_model/resolve/main/stats.json
- Command line
-
hf download hf://ccccsc/preview_model/stats.json
-
curl -L -o stats.json https://huggingface.co/ccccsc/preview_model/resolve/main/stats.json
1.6 kB
| { | |
| "action": { | |
| "mean": [ | |
| -0.2004420601531751, | |
| 0.9262120117772523, | |
| 0.6882954361000175, | |
| -0.34006418745617895, | |
| 0.06580817732542392, | |
| 0.003968974728993032, | |
| 0.7713835451223373, | |
| 0.17298737841749437, | |
| 0.8228202306896509, | |
| 0.6199237906514526, | |
| -0.36062264651275594, | |
| -0.06273007512256647, | |
| 0.003626950967936328, | |
| 0.7859185929400512 | |
| ], | |
| "std": [ | |
| 0.34305780933960556, | |
| 0.8880324466803229, | |
| 0.7302225742500484, | |
| 0.6488506207233435, | |
| 0.29892353165157215, | |
| 0.5843509145959764, | |
| 0.3431953795318021, | |
| 0.3199443313159758, | |
| 0.8737035503502114, | |
| 0.7136346533472193, | |
| 0.602901033347034, | |
| 0.28371580003788793, | |
| 0.5371881677566724, | |
| 0.3407068400548113 | |
| ] | |
| }, | |
| "state": { | |
| "mean": [ | |
| -0.20040483290933897, | |
| 0.9260306606167603, | |
| 0.6881890325982681, | |
| -0.34004832067090657, | |
| 0.0657939444619461, | |
| 0.004003346747695903, | |
| 0.7714465980721263, | |
| 0.17299834217648324, | |
| 0.8224942863743043, | |
| 0.6196512620467062, | |
| -0.3604178425587026, | |
| -0.06267070852548702, | |
| 0.0037534706356096496, | |
| 0.7860055662365839 | |
| ], | |
| "std": [ | |
| 0.3430550244781734, | |
| 0.8880402403847061, | |
| 0.73024171780556, | |
| 0.6487681181343322, | |
| 0.2989095859093467, | |
| 0.5843007967937394, | |
| 0.3431665702891377, | |
| 0.3198980326240298, | |
| 0.8736477837726742, | |
| 0.7135349891495106, | |
| 0.6027222877740273, | |
| 0.2836475806450459, | |
| 0.5368540575417334, | |
| 0.3406558002581584 | |
| ] | |
| } | |
| } | |