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