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
Update README.md
Browse files123456710 unmodified lines1819202122232433 unmodified lines5859606162636465---license: apache-2.0base_model:- OpenMOSS-Team/MOSS-Image-Basebase_model_relation: adaptertags:- feature-projection10 unmodified linesThe model relies on [Qwen3.5 2B](https://huggingface.co/Qwen/Qwen3.5-2B), which provides text embeddings for the MOSS Image model.The [previous models](#credits) were based on the 1M+ corpus, but the dataset here is much smaller for now.The data samples covered half of the English vocabulary from the tokenizer, including most lowercase words.33 unmodified linesThe model was designed to cover the most common character features, visual and spatial tasks.### CreditsThe author has previously adopted [smaller encoders](https://huggingface.co/nebulette/rnberry) and Qwen models to SD1.5, Flux, Z-Image, and Cosmos.There is no citation, as this is original work.1234510 unmodified lines1617181920212233 unmodified lines5657585960616263---license: apache-2.0base_model_relation: adaptertags:- feature-projection10 unmodified linesThe model relies on [Qwen3.5 2B](https://huggingface.co/Qwen/Qwen3.5-2B), which provides text embeddings for the MOSS Image model.The previous models were based on the 1M+ corpus, but the dataset here is much smaller for now.The data samples covered half of the English vocabulary from the tokenizer, including most lowercase words.33 unmodified linesThe model was designed to cover the most common character features, visual and spatial tasks.### ScalingMultiply the output tensor by a single scalar value. These are three images at different scales
README.md+4-6