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