---
title: clef
canonical_url: "https://www.modelscope.cn/models/nomadoor/clef"
md_url: "https://www.modelscope.cn/models/nomadoor/clef.md"
repository: nomadoor/clef
last_updated: 2026-10-14
license: apache-2.0
base_model:
  - Cloudflare/clef-flash
base_model_relation: finetune
library_name:
  - safetensors
  - pytorch
frameworks:
  - pytorch
downloads: 12
stars: 0
tags:
  - comfyui
---

# clef

> clef - nomadoor 在 ModelScope 开源的模型。Cloudflare/clef-flash as a single file for ComfyUI. The weights are unchanged except for the format.

nomadoor/clef 是 ModelScope 魔搭社区上的机器学习模型，采用 apache-2.0 许可，基于 Cloudflare/clef-flash 构建。

- **Repository**: nomadoor/clef
- **License**: apache-2.0
- **Base model**: Cloudflare/clef-flash
- **Tags**: comfyui
- **Downloads**: 12
- **Stars**: 0
- **Last updated**: 2026-10-14

Source: https://www.modelscope.cn/models/nomadoor/clef

---

# Clef (ComfyUI)

[Cloudflare/clef-flash](https://huggingface.co/Cloudflare/clef-flash) as a single file for ComfyUI. The weights are unchanged except for the format.

| File | Format |
| --- | --- |
| `clef_flash_bf16` | bf16, as released |
| `clef_flash_int8_convrot` | int8 ConvRot |

Each file carries the joint schema head (`clef_head.*`, bf16) and `joint_head_config.json` (metadata `clef_head_config`), unchanged from the original repository. The backbone keys are the released ones, merged from the shards. In the int8 file, only the language-model linear layers are quantized, in ComfyUI's `comfy_quant` format (ConvRot group 256 with per-row scales). Embeddings, `lm_head` (the head reads its rows), norms and the vision encoder stay bf16.

Put one file in `ComfyUI/models/text_encoders` and use it with [ComfyUI-TypedDecision](https://github.com/nomadoor/ComfyUI-TypedDecision): pick `clef` as the adapter and the file as the backbone.
