Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text to image

CapField-OPD

by Yang Lin Yang18/CapField-OPD

CapField-OPD is an open-weight model for text to image from Yang Lin, released under Creative Commons Attribution 4.0. Its published files total 4.3 GB.

This Hugging Face repository hosts the released LoRA checkpoints for CapField-OPD, an on-policy distillation (OPD) framework that consolidates multiple reward-specialized teachers into a single student through a continuous capability field.

Parameters—
Context—
Weights4.3 GB
Licensecc-by-4.0
AccessOpen weights
Monthly Downloads—

Model Card

By Yang Lin, published under cc-by-4.0, revision cacf9d2dd1c8.

This Hugging Face repository hosts the released LoRA checkpoints for CapField-OPD, an on-policy distillation (OPD) framework that consolidates multiple reward-specialized teachers into a single student through a continuous capability field. Existing multi-teacher OPD methods route each prompt to a single teacher according to its semantic category, implicitly binding the desired capability to prompt content. CapField-OPD instead conditions the student on an explicit capability coordinate $\boldsymbol{\lambda} \in [0,1]^K$, whose axes control the strength of each capability. The base model, single-capability teachers, and joint-capability teachers serve as anchors of the field, and their…

Read Yang Lin's full model card

Learning Continuous Capability Fields via Joint-Anchored Multi-Teacher On-Policy Distillation for Flow Models

Model Card

This Hugging Face repository hosts the released LoRA checkpoints for CapField-OPD, an on-policy distillation (OPD) framework that consolidates multiple reward-specialized teachers into a single student through a continuous capability field.

Existing multi-teacher OPD methods route each prompt to a single teacher according to its semantic category, implicitly binding the desired capability to prompt content. CapField-OPD instead conditions the student on an explicit capability coordinate $\boldsymbol{\lambda} \in [0,1]^K$, whose axes control the strength of each capability. The base model, single-capability teachers, and joint-capability teachers serve as anchors of the field, and their outputs are combined through coordinate-dependent activation weights, so that every capability configuration receives a unique supervision target and capability control no longer depends on prompt semantics.

The learned field supports:

  • Continuous capability control — smoothly adjust the strength of each capability (e.g., text rendering, compositional fidelity, visual aesthetics) at inference time, including capability combinations.
  • Robust capability invocation — the requested capability stays active under semantics-preserving prompt rewriting and on out-of-distribution prompts where semantic routing fails.
  • Capability extrapolation — coordinates can extend beyond the training anchors, which act as reference states rather than hard performance limits, sometimes yielding higher rewards than the anchors themselves.
  • Coordinate-based test-time scaling — a small calibration set is used to profile the capability landscape; the coordinate with the highest mean reward serves as the recommended default, and frequently optimal coordinates form a candidate set for test-time search without resampling random seeds.

The released checkpoints are intended to support reproducible academic research on flow model alignment, reward optimization, and on-policy distillation.

Released Checkpoints

The repository contains LoRA checkpoints trained from black-forest-labs/FLUX.1-dev (LoRA rank $r=64$, $\alpha=128$):

Directory Description
Student/lora Unified CapField-OPD student distilled over the continuous capability field. Accepts an explicit capability coordinate at inference time.
GenEvalTeacher/lora Single-capability teacher optimized for GenEval-style compositional generation.
OCRTeacher/lora Single-capability teacher optimized for OCR/text rendering accuracy.
AesTeacher/lora Single-capability teacher optimized for visual aesthetics (HPSv3, CLIP, and PickScore combined with equal weights).
GenEvalAesTeacher/lora Joint teacher optimized for compositional generation and aesthetics on GenEval prompts.
OCRAesTeacher/lora Joint teacher optimized for text rendering and aesthetics on OCR prompts.

All teachers are trained with Flow-GRPO-Fast and then frozen; they supervise the student only at student-visited states along its own rollout trajectories.

Base Model

These checkpoints are LoRA adapters for:

black-forest-labs/FLUX.1-dev

Usage

Please use the official CapField-OPD codebase for loading the LoRA checkpoints.

At inference time, the student takes an explicit capability coordinate $\boldsymbol{\lambda}$ in addition to the text prompt. For example, on the supported (GenEval, aesthetics) and (OCR, aesthetics) pairs:

  • $(0, 0)$ recovers the base model;
  • $(1, 0)$ and $(0, 1)$ recover the two single-capability experts;
  • $(1, 1)$ recovers the joint-capability teacher;
  • intermediate values provide continuous control, and values beyond the training range extrapolate the learned capability response.

Intended Use

This project is released for academic research only. It is intended for studying flow model alignment, reward-guided optimization, on-policy distillation, explicit capability control, and evaluation of text-to-image generation systems.

Users are responsible for ensuring that their use of these checkpoints complies with all applicable laws, research ethics requirements, the Creative Commons Attribution license for this release, and the license terms of the underlying FLUX.1-dev model.

License

The CapField-OPD released checkpoints and model card are provided under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

Because these checkpoints are based on black-forest-labs/FLUX.1-dev, use of the base model is also governed by the FLUX.1 [dev] Non-Commercial License:

https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md

Citation

If you find this project useful, please cite:

@article{ling2026capfield,
  title={CapField-OPD: Learning Continuous Capability Fields via Joint-Anchored Multi-Teacher On-Policy Distillation for Flow Models},
  author={Ling, Pengyang and Zhou, Yujie and Bu, Jiazi and Wang, Yibin and Ma, Xiaoxiao and Jin, Yi and Chen, Huaian and Zang, Yuhang},
  journal={arXiv preprint arXiv:2609.34658},
  year={2026}
}

Acknowledgements

We thank the Flow-GRPO, DiffusionOPD, and FLUX.1-dev projects.

Identity and Version

Repository
Yang18/CapField-OPD
Publisher
Yang Lin
Task
Text to image
Modality
Image
Library
diffusers
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
cacf9d2dd1c89d8143463ca9dee74cf1a2a90a63
First published
2026-10-06
Last updated
2026-10-07

Files and Weights

20 files, 4.3 GB in total. The weights are 7 files totalling 4.3 GB in pt, safetensors.

Weights7 files · 4.3 GB
Configuration6 files · 7.8 KB
Documentation6 files · 31.8 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
student_ckpt/adapter_model.safetensorsWeights717.3 MB 9877c26098bb
student_ckpt/task_conditioner.ptWeights3.2 MB de0200084729
teachers_ckpt/aesthetic_teacher/adapter_model.safetensorsWeights717.3 MB b77606bf1b4a
teachers_ckpt/geneval_aesthetic_teacher/adapter_model.safetensorsWeights717.3 MB 122004e9ce5f
teachers_ckpt/geneval_teacher/adapter_model.safetensorsWeights717.3 MB a803999c5c55
teachers_ckpt/ocr_aesthetic_teacher/adapter_model.safetensorsWeights717.3 MB b92ac333779a
teachers_ckpt/ocr_teacher/adapter_model.safetensorsWeights717.3 MB 8da646efd373
student_ckpt/adapter_config.jsonConfiguration1.3 KB —
teachers_ckpt/aesthetic_teacher/adapter_config.jsonConfiguration1.3 KB —
teachers_ckpt/geneval_aesthetic_teacher/adapter_config.jsonConfiguration1.3 KB —
teachers_ckpt/geneval_teacher/adapter_config.jsonConfiguration1.3 KB —
teachers_ckpt/ocr_aesthetic_teacher/adapter_config.jsonConfiguration1.3 KB —
teachers_ckpt/ocr_teacher/adapter_config.jsonConfiguration1.3 KB —
README.mdDocumentation6.0 KB —
teachers_ckpt/aesthetic_teacher/README.mdDocumentation5.1 KB —
teachers_ckpt/geneval_aesthetic_teacher/README.mdDocumentation5.1 KB —
teachers_ckpt/geneval_teacher/README.mdDocumentation5.1 KB —
teachers_ckpt/ocr_aesthetic_teacher/README.mdDocumentation5.1 KB —
teachers_ckpt/ocr_teacher/README.mdDocumentation5.1 KB —
.gitattributesRepository1.5 KB —

License and Download

License
cc-by-4.0
Access
Open weights, no gate
Download size
4.3 GB
Download from Yang Lin

Released by Yang Lin through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published4.3 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About CapField-OPD

Can I use CapField-OPD commercially?

Yes. CapField-OPD is released under Creative Commons Attribution 4.0. CC BY 4.0 permits sharing and adapting the work, including commercially, provided the creator is credited and changes are indicated.

Similar Models

GGUF, Safetensors, and MLX quantized formats of Qwen/Qwen-Image-2.1 for local image generation using the original upstream base weights. Q4KM is recommended for the best balance of size and quality for GGUF. INT8 ConvRot and NVFP4 offer high performance on supported GPUs, while MLX formats are optimized for Apple Silicon. Companion model files packaged for ComfyUI: Use the model with ComfyUI and ComfyUI-GGUF. All required companion files (GGUF transformer, text encoder, and VAE) are hosted directly in this repository. Download the files and place them in their respective ComfyUI directories: 1. Install ComfyUI-GGUF: Use the maintained fork with native Qwen-Image 2.1 support by cloning…

Open weights other gguf

GGUF quantizations of Qwen/Qwen-Image-2.1 for local image generation using the original upstream base weights. Q4KM is recommended for the best balance of size and quality. Companion model files packaged for ComfyUI: Use the model with ComfyUI and ComfyUI-GGUF. All required companion files (GGUF transformer, text encoder, and VAE) are hosted directly in this repository. Download the files and place them in their respective ComfyUI directories: 1. Install ComfyUI-GGUF: Use the maintained fork with native Qwen-Image 2.1 support by cloning leejet/ComfyUI-GGUF into your custom nodes: (Note: If you have the older city96/ComfyUI-GGUF installed and encounter an Unknown model architecture! error…

Open weights other gguf

Model · Text to image

Qwen-Image-2.1-GGUF

Unsloth AI

This is a GGUF quantized version of Qwen-Image-2.1. unsloth/Qwen-Image-2.1-GGUF uses Unsloth Dynamic 2.0 methodology for SOTA performance. - Important layers are upcasted to higher precision, per tensor, from a measured sensitivity scan. - Run these with Unsloth Desktop, stable-diffusion.cpp and more. A GGUF is the denoiser only, so it needs the VAE and the Qwen3-VL text encoder alongside it. See below for image editing operating inside of Unsloth Desktop: Rendered with the Q4KM denoiser and the Q4KM text encoder, 1024x1024, 20 steps, cfg 6.0, euler. We are excited to open-source Qwen-Image-2.1, a unified text-to-image generation and image editing model in the Qwen family. With just 7B…

Open weights other

Model · Text to image

Z-Image-Turbo-GGUF

Unsloth AI

Welcome to the official repository for the Z-Image(造相)project! Z-Image is a powerful and highly efficient image generation model with 6B parameters. Currently there are three variants: - Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers sub-second inference latency on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. - Z-Image-Base – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential…

Open weights apache-2.0 ggml

Model · Text to image

Juggernaut-XL-v9

RunDiffusion

The SDXL ecosystem is the single most mature corner of open image generation, and v9 is its most refined photorealism checkpoint. Choose Juggernaut XL v9 when you want: - Photorealism that holds up under scrutiny — skin texture, micro-contrast, and natural lighting that translates from concept to print. - Reasonable hardware — runs comfortably on 8 GB of VRAM, unlike newer DiT-based models that demand 16+ GB. - The full SDXL toolbox — drop-in compatibility with the thousands of SDXL ControlNets, IP-Adapter variants, AnimateDiff, regional prompting tools, and LoRAs already in your workflow. - Battle-tested reliability — 26+ months in production, used in agencies, studios, and shipping…

Open weights creativeml-openrail-m diffusers

Model · Text to image

Qwen-Image-Lightning

Lightx2v

Please refer to Qwen-Image-Lightning github to learn how to use the models. make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

Open weights apache-2.0 diffusers