anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Makes images from text in 8 steps instead of 50, as a distilled LoRA for the MOSS-Image-Base model. For ComfyUI and Diffusers users who want faster image generation.
moss_image_base_dmd2 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download data-archetype/moss_image_base_dmd2
moss_image_base_dmd2 is a LoRA with rank 128 for MOSS-Image-Base, made by distribution matching. It lets the base model draw an image in 8 passes with no negative prompt and a guidance scale of 1. The base model needs 50 guided steps for the same job.
It suits people who already generate images with MOSS-Image-Base and want results in fewer steps.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Design | Image creators | Draft pictures quickly with fewer steps | The card's goose by a rocky pond, made in 8 steps |
| Software | Diffusers developers | Load the adapter into a pipeline | A script that generates pictures from prompts |
| Research | Model testers | Compare distilled and base sampling | 8 steps against 50 guided steps |
People who need a different sampler can skip it, since the card says the LoRA is trained for one sampler and others give worse results.
| Use case | Who | What they get back |
|---|---|---|
| Fast text to image | Image creators | A picture of about 1 megapixel from 8 steps |
| ComfyUI workflow | ComfyUI users | A ready workflow to drag in and run |
| Combining LoRAs | Advanced users | The LoRA loaded beside other LoRAs or MOSS-Image fine-tunes at strength 1 |
You need these first:
pip install -U huggingface_hub hf download data-archetype/moss_image_base_dmd2
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "peft>=0.21" "Pillow>=10"
In ComfyUI, drag the example image or the workflow file into the window. It sets 8 steps, a guidance scale of 1 and the right shift. Load the LoRA with the bypass loader, not the standard one.
| Tool | What it does |
|---|---|
| LoraLoaderBypassModelOnly | Applies the LoRA without merging it into the bf16 weights |
| ModelSamplingAuraFlow | Sets the shift to the value the LoRA was trained with |
| lcm sampler | Takes a clean estimate at each step and adds fresh noise |
| simple scheduler | Spaces the 8 steps for the LoRA |
You load the workflow and write a prompt for a goose resting by a rocky pond. The card's own example of that scene was made in 8 steps at 1152 by 896 with seed 42. You get one picture back after 8 passes.
A LoRA is a small add-on that changes how a big model behaves. This one teaches the base model to finish a picture in 8 steps. A first small thing to try is the card's example image, which carries its own workflow.
For experts, the sampler jumps to the model's clean estimate at each step and then re-noises it with fresh noise. The flow shift is 4.4817, while ComfyUI's default for MOSS-Image is 5. To change the shift, use ModelSamplingAuraFlow or ModelSamplingFlux. ModelSamplingSD3 handles the timesteps in another way, and the result is only noise. The standard LoRA loader folds the change into bf16 weights. The change is smaller than bf16 can round, so most of it disappears.
Makes images from text in 8 steps instead of 50, as a distilled LoRA for the MOSS-Image-Base model. For ComfyUI and Diffusers users who want faster image generation.
Made by data-archetype on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: moss_image_base_dmd2 is a LoRA with rank 128 for MOSS-Image-Base, made by distribution matching. It lets the base model draw an image in 8 passes with no negative prompt and a guidance scale of 1. The base model needs 50 guided steps for the same job.
Who it suits: It suits people who already generate images with MOSS-Image-Base and want results in fewer steps.
Industry | Who uses it | How they use it | Example
Design | Image creators | Draft pictures quickly with fewer steps | The card's goose by a rocky pond, made in 8 steps
Software | Diffusers developers | Load the adapter into a pipeline | A script that generates pictures from prompts
Research | Model testers | Compare distilled and base sampling | 8 steps against 50 guided steps
People who need a different sampler can skip it, since the card says the LoRA is trained for one sampler and others give worse results.
Where to use it:
Use case | Who | What they get back
Fast text to image | Image creators | A picture of about 1 megapixel from 8 steps
ComfyUI workflow | ComfyUI users | A ready workflow to drag in and run
Combining LoRAs | Advanced users | The LoRA loaded beside other LoRAs or MOSS-Image fine-tunes at strength 1
How to set it up: You need these first:
pip install -U huggingface_hub
hf download data-archetype/moss_image_base_dmd2
pip install "diffusers>=0.38" "transformers>=5.3" "accelerate>=1.10" "safetensors>=0.6" "peft>=0.21" "Pillow>=10"
How to use it: In ComfyUI, drag the example image or the workflow file into the window. It sets 8 steps, a guidance scale of 1 and the right shift. Load the LoRA with the bypass loader, not the standard one.
Tool | What it does
LoraLoaderBypassModelOnly | Applies the LoRA without merging it into the bf16 weights
ModelSamplingAuraFlow | Sets the shift to the value the LoRA was trained with
lcm sampler | Takes a clean estimate at each step and adds fresh noise
simple scheduler | Spaces the 8 steps for the LoRA
Example: You load the workflow and write a prompt for a goose resting by a rocky pond. The card's own example of that scene was made in 8 steps at 1152 by 896 with seed 42. You get one picture back after 8 passes.
For newcomers and experts: A LoRA is a small add-on that changes how a big model behaves. This one teaches the base model to finish a picture in 8 steps. A first small thing to try is the card's example image, which carries its own workflow.
For experts, the sampler jumps to the model's clean estimate at each step and then re-noises it with fresh noise. The flow shift is 4.4817, while ComfyUI's default for MOSS-Image is 5. To change the shift, use ModelSamplingAuraFlow or ModelSamplingFlux. ModelSamplingSD3 handles the timesteps in another way, and the result is only noise. The standard LoRA loader folds the change into bf16 weights. The change is smaller than bf16 can round, so most of it disappears.
Load the base MOSS-Image model
Add the LoRA with the bypass loader
Set 8 steps, guidance 1 and the shift
Run the lcm sampler
Get the image
Good to know:
Title: Steps per image
This LoRA: 8 steps
Base model: 50 steps
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download data-archetype/moss_image_base_dmd2
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| moss_image_base_dmd2 This page | 0 | 23 | — | apache-2.0 | |
| MOSS-Image-IDM-2-StepsShares moss-image · distillation · lora | 0 | 43 | — | apache-2.0 | |
| MOSS-Image-SFT-4-stepsShares moss-image · lora · text-to-image | 73,131 | 96 | 5.1B | apache-2.0 | |
| KromossShares moss-image · text-to-image · diffusers | 64,728 | 322 | 5.1B | apache-2.0 | |
| MOSS-Image-SFTShares moss-image · text-to-image · diffusers | 22,963 | 950 | 5.1B | apache-2.0 | |
| MOSS-Image-BaseShares moss-image · text-to-image · diffusers | 13,535 | 656 | 5.1B | apache-2.0 |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.