Instructions to use Rin247/MOSS-Image-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rin247/MOSS-Image-SFT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Rin247/MOSS-Image-SFT", 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 README.md from Rin247/MOSS-Image-SFT: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/Rin247/MOSS-Image-SFT/resolve/main/README.md
- Command line
-
hf download hf://Rin247/MOSS-Image-SFT/README.md
-
curl -L -o README.md https://huggingface.co/Rin247/MOSS-Image-SFT/resolve/main/README.md
2.24 kB
| base_model: OpenMOSS-Team/MOSS-Image-SFT | |
| base_model_relation: quantized | |
| tags: | |
| - quantized | |
| - safetensors | |
| - diffusers | |
| - mecha | |
| - weight-only | |
| library_name: diffusers | |
| # MOSS-Image-SFT | |
| Quantised media packages of [OpenMOSS-Team/MOSS-Image-SFT](https://huggingface.co/OpenMOSS-Team/MOSS-Image-SFT). | |
| ## MECHA Forge | |
| MECHA — Model Engineering & Contextual Hearth Assembly | |
| These media packages have been forged and optimized in the MECHA Forge. | |
| Each one holds the Denoiser, Text Encoder, and VAE components packaged together for easier deployment. | |
| ## Description | |
| MOSS-Image-SFT: image generation model with multi-language prompts, layout control, and text rendering. Base model, undistilled. | |
| ## Available quantizations | |
| | Quant | Denoiser | Text encoder | VAE | | |
| |---|---|---|---| | |
| | FP4 | FP4 | FP4 | FP8 | | |
| | FP8 | FP8 | FP8 | FP8 | | |
| | INT4 | INT4 | INT4 | INT8 | | |
| | INT8 | INT8 | INT8 | INT8 | | |
| The VAE is shared between formats: FP4 reuses the FP8 file, INT4 reuses the INT8 file. | |
| ## Recommended settings | |
| From the source model card (adjust to taste): | |
| | Parameter | Value | | |
| |---|---| | |
| | Steps | 50 | | |
| | CFG / Guidance scale | 3.0 (range 3.0-6.0) | | |
| | Resolution | 1M-2M total pixels | | |
| | Notes | Shift 5.0, Euler sampler, negative prompt empty | | |
| ## Example prompts | |
| Caught in the moment (candid, slice of life): | |
| ``` | |
| masterpiece, best quality, highres, absurdres, very aesthetic, safe, 1man, solo, | |
| candid moment, natural lighting. A cozy bookshop interior in the afternoon, | |
| wooden shelves, dust motes in sunlight, a reading nook by the window. A 30-year- | |
| old man with tousled dark hair and glasses. He has a lean build and a thoughtful | |
| expression. He wears a knit sweater and chinos, holding an open book, mid-smile, | |
| candid and relaxed. | |
| ``` | |
| Fashion photography (magazine cover style): | |
| ``` | |
| Fashion photography, magazine cover style: a 25-year-old man with tousled dark | |
| hair, strong brow, and stubble; wearing a tailored charcoal overcoat over a | |
| turtleneck, leather gloves, Chelsea boots; moody backlight, editorial layout, | |
| high contrast, 8K, sharp focus. | |
| ``` | |
| Scenery: | |
| ``` | |
| Scenery: a misty bamboo forest at dawn, soft green light filtering through tall | |
| stalks, a stone path, dew on leaves, tranquil atmosphere, photorealistic, 8K. | |
| ``` | |