Emilio407 / flux2tiny-MiniCPM5-1B

huggingface.co
Total runs: 20
24-hour runs: 2
7-day runs: -6
30-day runs: -5
Model's Last Updated: August 03 2026
text-to-image

Introduction of flux2tiny-MiniCPM5-1B

Model Details of flux2tiny-MiniCPM5-1B

flux2tiny — Distilled FLUX.2-klein-4B with MiniCPM5-1B Text Encoder

This repository contains the trained adapter and LoRA weights for flux2tiny, a distilled version of FLUX.2-klein-4B that replaces the 4B-parameter Qwen3-4B text encoder with MiniCPM5-1B (1.08B parameters).

What's in this repo
File Size Description
adapter.safetensors ~23 MB Projection adapter (3× Linear 1536→2560, concatenated to 7680)
transformer_lora/adapter_model.safetensors ~7.5 MB PEFT LoRA weights (rank 16) for Flux2Transformer2DModel
transformer_lora/adapter_config.json ~1 KB PEFT LoRA configuration
Required base models (downloaded automatically)
Usage
# Clone the code repo
# git clone https://github.com/ElMiloPy/flux2tiny.git

from pipeline import Flux2TinyPipeline

pipe = Flux2TinyPipeline(
    adapter_path="path/to/adapter.safetensors",
    lora_path="path/to/transformer_lora",
)

image = pipe("A cat sitting on a windowsill at sunset", height=512, width=512)
image.save("output.png")

Or via CLI:

python generate.py "A cat sitting on a windowsill at sunset" \
    --adapter path/to/adapter.safetensors \
    --lora path/to/transformer_lora \
    --size 512x512
Training details

Trained via a 3-stage knowledge distillation pipeline:

  1. Adapter pre-training — MSE alignment between MiniCPM5-1B and Qwen3-4B hidden states
  2. Teacher latent generation — 15,000 latent-prompt pairs from the original FLUX.2 pipeline
  3. Flow Matching LoRA distillation — Joint training of adapter + transformer LoRA on teacher latents

See github.com/ElMiloPy/flux2tiny for full details.

License
  • These weights : MIT
  • FLUX.2-klein-4B : Apache 2.0
  • MiniCPM5-1B : Apache 2.0

Runs of Emilio407 flux2tiny-MiniCPM5-1B on huggingface.co

20
Total runs
2
24-hour runs
-1
3-day runs
-6
7-day runs
-5
30-day runs

More Information About flux2tiny-MiniCPM5-1B huggingface.co Model

More flux2tiny-MiniCPM5-1B license Visit here:

https://choosealicense.com/licenses/mit

flux2tiny-MiniCPM5-1B huggingface.co

flux2tiny-MiniCPM5-1B huggingface.co is an AI model on huggingface.co that provides flux2tiny-MiniCPM5-1B's model effect (), which can be used instantly with this Emilio407 flux2tiny-MiniCPM5-1B model. huggingface.co supports a free trial of the flux2tiny-MiniCPM5-1B model, and also provides paid use of the flux2tiny-MiniCPM5-1B. Support call flux2tiny-MiniCPM5-1B model through api, including Node.js, Python, http.

flux2tiny-MiniCPM5-1B huggingface.co Url

https://huggingface.co/Emilio407/flux2tiny-MiniCPM5-1B

Emilio407 flux2tiny-MiniCPM5-1B online free

flux2tiny-MiniCPM5-1B huggingface.co is an online trial and call api platform, which integrates flux2tiny-MiniCPM5-1B's modeling effects, including api services, and provides a free online trial of flux2tiny-MiniCPM5-1B, you can try flux2tiny-MiniCPM5-1B online for free by clicking the link below.

Emilio407 flux2tiny-MiniCPM5-1B online free url in huggingface.co:

https://huggingface.co/Emilio407/flux2tiny-MiniCPM5-1B

flux2tiny-MiniCPM5-1B install

flux2tiny-MiniCPM5-1B is an open source model from GitHub that offers a free installation service, and any user can find flux2tiny-MiniCPM5-1B on GitHub to install. At the same time, huggingface.co provides the effect of flux2tiny-MiniCPM5-1B install, users can directly use flux2tiny-MiniCPM5-1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

flux2tiny-MiniCPM5-1B install url in huggingface.co:

https://huggingface.co/Emilio407/flux2tiny-MiniCPM5-1B

Url of flux2tiny-MiniCPM5-1B

flux2tiny-MiniCPM5-1B huggingface.co Url

Provider of flux2tiny-MiniCPM5-1B huggingface.co

Emilio407
ORGANIZATIONS

Other API from Emilio407