Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- Qwen/Qwen3.5-0.8B
|
| 5 |
+
- recoilme/moss_te_adapter
|
| 6 |
+
tags:
|
| 7 |
+
- comfyui
|
| 8 |
+
- moss-image
|
| 9 |
+
- text-encoder
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# MOSSLiteTE
|
| 13 |
+
|
| 14 |
+
ComfyUI-native converted weights of [recoilme/moss_te_adapter](https://huggingface.co/recoilme/moss_te_adapter) plus text-only [Qwen/Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B): a lightweight (~1.8 GB) text encoder for MOSS-Image that replaces the native Qwen3.5-9B encoder.
|
| 15 |
+
|
| 16 |
+
Use with the ComfyUI node pack **[ComfyUI-MOSSLiteTE](https://github.com/cicalooo/ComfyUI-MOSSLiteTE)**.
|
| 17 |
+
|
| 18 |
+
## Files
|
| 19 |
+
|
| 20 |
+
| file | place in ComfyUI |
|
| 21 |
+
| --- | --- |
|
| 22 |
+
| `text_encoders/mosslite_qwen3.5_0.8b_bf16.safetensors` (Qwen3.5-0.8B, text-only: `mtp.*` and `model.visual.*` dropped) | `ComfyUI/models/text_encoders/` |
|
| 23 |
+
| `mosslite/mosslite_te_head_bf16.safetensors` (158M regression head, bf16) | `ComfyUI/models/mosslite/` |
|
| 24 |
+
|
| 25 |
+
```bash
|
| 26 |
+
hf download cicalooo/MOSSLiteTE --local-dir /tmp/mosslite
|
| 27 |
+
cp /tmp/mosslite/text_encoders/*.safetensors ComfyUI/models/text_encoders/
|
| 28 |
+
mkdir -p ComfyUI/models/mosslite && cp /tmp/mosslite/mosslite/*.safetensors ComfyUI/models/mosslite/
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
## Notes
|
| 32 |
+
|
| 33 |
+
- Approximation: ~0.92 cosine vs the native 9B encoder (per the original adapter card).
|
| 34 |
+
- The ComfyUI port matches the reference implementation (parity 1.0).
|
| 35 |
+
- Text-only: no image inputs to the text encoder.
|
| 36 |
+
- 1024-token prompt limit (longer prompts are truncated).
|
| 37 |
+
- Trained on MOSS-Image-Base; untested on SFT.
|
| 38 |
+
|
| 39 |
+
## Credits
|
| 40 |
+
|
| 41 |
+
- [recoilme](https://huggingface.co/recoilme) — original moss_te_adapter
|
| 42 |
+
- [Qwen](https://huggingface.co/Qwen) — Qwen3.5-0.8B
|
| 43 |
+
- [OpenMOSS](https://huggingface.co/OpenMOSS) — MOSS-Image
|
| 44 |
+
|
| 45 |
+
License: Apache-2.0 (same as the sources).
|