Holo4-27B — SVD-LoRA (base: Qwen3.8-27B)

The language-side weight difference between Hcompany/Holo4-27B and stock Qwen/Qwen3.8-27B, compressed into 471 LoRA pairs (rank 64).

Holo4-27B is H Company's vision-language model for computer use — the sibling of their agentic stack, built on Qwen3.8-27B, driven by the hai-agents harness to look at screenshots and emit clicks, typing, code and tool calls.

This adapter carries the fine-tune signal from that model's language tower. Read Known caveats before you use it — for Holo4 there are two omissions that matter more than they do for a text-only fine-tune.

⚠️ Non-commercial. Holo4-27B weights are CC BY-NC 4.0, so this derivative is too.


What Holo4-27B is

Built by H Company
Base Qwen/Qwen3.8-27B (Apache-2.0), Qwen3_5ForConditionalGeneration
Type Vision-language model (VLM), 27B dense
Context 262,144 tokens
Interfaces graphical (screenshot → action), code, tool calls
Targets web, desktop and mobile environments
Family Holo4-27B (dense), Holo4-35B-A3B (MoE), Holotron4-30B-A3B
Licence CC BY-NC 4.0 (non-commercial); Apache-2.0 licence also bundled in the repo

H Company's published results for the source model:

Benchmark Holo4-27B
OSWorld 85.2% at $0.08 per task
OSWorld 2.0 61.7% at $1.22 per task
AutomationBench 45.4% at $0.05 per task
Agentic Task Factory (held-out business workflows, web / desktop / MCP) evaluated; see the blog post

All agent trajectories are published in Hcompany/trajectories.

None of the numbers above were measured on this adapter. They describe the model whose language-tower delta is approximated here.


Files

File Size Format
adapter_model.safetensors 1,809,565,896 B (1.69 GiB) PEFT LoRA, float32, 942 tensors = 471 A/B pairs
adapter_config.json 909 B r=64, alpha=64, target modules, extraction metadata
Holo4-27B_qwen3.8-27B_svd_lora.gguf 904,615,520 B (0.84 GiB) llama.cpp LoRA, F16, 938 tensors = 469 pairs (see caveat 2)
extraction_stats.json ~180 KB per-tensor Δ norms for all 1,184 scanned tensors, ranks, retained energy
validation_report.json ~6 KB reconstruction check on 40 sampled tensors

The GGUF is the same adapter converted for llama.cpp, F16 instead of F32 — with two pairs dropped by the conversion, which is why it holds 938 tensors rather than 942 and is slightly less than half the size.


Measured fidelity

Computed during extraction from the real Δ = W_Holo4-27B − W_Qwen3.8-27B; reproducible from extraction_stats.json / validation_report.json.

Scan: 1,184 tensors compared, 471 kept (threshold ‖Δ‖ ≥ 0.05; the remaining 713 are within fine-tune noise — median ‖Δ‖ across the whole scan is only 0.0056). The largest per-layer deltas reach ‖Δ‖ = 2.25 (layers.62.linear_attn.in_proj_qkv).

Energy retained at rank 64:

Target Tensors mean min max rank used
linear_attn.conv1d 2 1.000 1.000 1.000 4
linear_attn.in_proj_a (GDN α) 47 1.000 1.000 1.000 48
linear_attn.in_proj_b (GDN β) 22 1.000 1.000 1.000 48
linear_attn.in_proj_qkv 48 0.291 0.168 0.799 64
linear_attn.in_proj_z 48 0.267 0.143 0.748 64
linear_attn.out_proj 48 0.190 0.106 0.918 64
mlp.down_proj 64 0.212 0.091 0.514 64
mlp.gate_proj 64 0.388 0.142 0.599 64
mlp.up_proj 64 0.401 0.144 0.612 64
self_attn.v_proj 16 0.723 0.364 0.981 64
self_attn.k_proj 16 0.545 0.341 0.828 64
self_attn.q_proj 16 0.441 0.175 0.815 64
self_attn.o_proj 16 0.407 0.184 0.567 64
all pairs 471 0.435 0.091 1.000 4 / 48 / 64

Read that middle block honestly: this is a diffuse fine-tune. Holo4's changes to the MLP and GDN projections are full-rank-ish, so rank 64 keeps only ~20–40% of their energy. The one place the adapter is exact is the GDN gate/convolution tensors (α, β, conv1d — full rank at 48 and 4), which is precisely where Holo4's adaptation is most surgical.

Validation: 40 sampled tensors, adapter-implied delta vs true delta, mean relative error 0.6155 — consistent with ~43% mean energy. Treat this adapter as a strong behavioural nudge, not a reproduction.


How it was extracted

Δ = W_Holo4-27B − W_Qwen3.8-27B        (text tower only; base cancels exactly)
Δ ≈ U_r Σ_r V_rᵀ                        (exact truncated SVD, r = 64)
lora_A = Σ_r^½ V_rᵀ ,  lora_B = U_r Σ_r^½
  1. Architecture check — both sides: qwen3_5, 64 layers, hidden 5120, intermediate 17408, vocab 248320. Key names already match (model.language_model.layers.N.*), so no remapping was needed.
  2. Norm scan — 1,184 tensors. The two largest deltas in the whole model are outside the adapter's reach: lm_head.weight ‖Δ‖ = 101.87 and model.language_model.embed_tokens.weight ‖Δ‖ = 101.15 — roughly 45× the largest per-layer delta. See caveat 3.
  3. Exact truncated SVD — target rank 64 per tensor, automatically capped at each matrix's own rank (48 for the α/β gates, 4 for conv1d) → 471 pairs.
  4. Validation — 40-tensor sample.
  5. Export — float32 PEFT, plus an F16 llama.cpp GGUF using blk.N.* names (ssm_alpha, ssm_beta, ssm_conv1d, ssm_out, attn_qkv, attn_gate, ffn_*, attn_*).

No training data from Holo4 was used or is needed — this is arithmetic on two open checkpoints.


Usage

llama.cpp / llama-server (GGUF)

llama-server \
  -m Qwen3.8-27B-Q6_K.gguf \
  --lora Holo4-27B_qwen3.8-27B_svd_lora.gguf \
  -ngl 99 -c 32768 -fa on --jinja \
  --host 127.0.0.1 --port 8080

Pair with any Qwen3.8-27B GGUF, e.g. unsloth/Qwen3.8-27B-GGUF. Partial application:

--lora-scaled Holo4-27B_qwen3.8-27B_svd_lora.gguf:0.5

llama.cpp's qwen35 graph applies LoRA to the GDN gate projections (ssm_alpha, ssm_beta, ssm_out, wqkv, wqkv_gate all call build_lora_mm), so the tensors where this adapter is exact are the ones that actually run. It does not apply LoRA to ssm_conv1d — which is why those two pairs are absent from the GGUF.

Tools and prompting

Holo4 is meant to be driven by a harness, not a chat box. With llama.cpp you supply the function-calling schema yourself:

curl -s http://127.0.0.1:8080/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "model": "holo4-lora",
  "messages": [{"role":"user","content":"<screenshot as image_url> + click the sign-in button"}],
  "tools": [{"type":"function","function":{"name":"computer",
             "description":"Send an action to the computer",
             "parameters":{"type":"object","properties":{"action":{"type":"string"}},"required":["action"]}}}],
  "max_tokens": 1024
}'

For the real agent loop (screenshot → action → screenshot) use H Company's own harness against the full Holo4 weights; this LoRA gives you the language-style half of it on a stock Qwen base.

Python — PEFT

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

base = "Qwen/Qwen3.8-27B"
tok = AutoTokenizer.from_pretrained(base)
model = AutoModelForCausalLM.from_pretrained(base, dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(model, "hotdogs/Holo4-27B_qwen3.8-27B_svd_lora")

With the shipped config this raises a size mismatch on the gate tensors — apply the rank_pattern fix in caveat 1 first.


Known caveats

Caveat 1 — mixed rank vs. one global rank/alpha

The SVD produced three ranks — 64 (most), 48 (in_proj_a / in_proj_b, whose matrices are 48 × 5120), and 4 (conv1d) — while the config declares one r = 64, lora_alpha = 64.

Pair group rank alpha/r correct scale
everything except the gates below 64 1.000 ✅ 1.000
in_proj_a, in_proj_b (69 pairs) 48 1.333 ❌ 1.000
linear_attn.conv1d (2 pairs) 4 16.0 ❌ 1.000

The correct scale is 1.000 for every pair: for the sub-64-rank pairs ‖B·A‖ / ‖Δ‖ = 1.0000 (verified), i.e. the stored product is the delta.

  • llama.cpp infers rank per tensor (b->ne[0]) and computes scale = alpha / rank (llama_adapter_lora_weight::get_scale()), so the 69 gate pairs run 33% over-strength. The two conv1d pairs are not in the GGUF at all (caveat 2), so the 16× problem does not reach llama.cpp users.
  • PEFT creates layers from the config (nn.Linear(in_features, r)), so it expects lora_A of shape (64, 5120) and finds (48, 5120) → default PeftModel.from_pretrained errors out; with ignore_mismatched_sizes=True those tensors are silently dropped and the gates do nothing.

Fix (PEFT):

from peft import LoraConfig, PeftModel

cfg = LoraConfig(
    r=64, lora_alpha=64,
    rank_pattern={"in_proj_a": 48, "in_proj_b": 48, "conv1d": 4},
    alpha_pattern={"in_proj_a": 48, "in_proj_b": 48, "conv1d": 4},
    target_modules=["conv1d","down_proj","gate_proj","in_proj_a","in_proj_b","in_proj_qkv",
                    "in_proj_z","k_proj","o_proj","out_proj","q_proj","up_proj","v_proj"],
)

Fix (llama.cpp): rescale the affected lora_B tensors by rank/alpha, then re-convert:

from safetensors.torch import load_file, save_file

sd = load_file("adapter_model.safetensors")
for k in list(sd):
    if k.endswith(("in_proj_a.weight.lora_B.default", "in_proj_b.weight.lora_B.default")):
        sd[k] = sd[k] * 0.75          # 48 / 64  → 4/3 × 0.75 = 1.0
save_file(sd, "adapter_model_fixed.safetensors")

A global --lora-scaled cannot fix this — it would rescale the correctly-scaled rank-64 pairs too.

Caveat 2 — the GGUF is missing two pairs

Verified by comparing tensor lists: the PEFT file has 942 tensors (471 pairs, including 2 × linear_attn.conv1d), the GGUF has 938 (469 pairs, no ssm_conv1d). Everything else maps 1:1.

Cause: llama.cpp's qwen35 graph builds the short convolution with a plain ggml_ssm_conv() call and has no LoRA path for it, so those adapters could not be applied even if present. If you are a llama.cpp user, you are getting 469 of 471 pairs; if you are a PEFT user with the rank fix applied, you get all 471.

Caveat 3 — the adapter omits the two largest deltas in the model

Tensor ‖Δ‖ in the adapter?
lm_head.weight 101.87 ❌ skipped
model.language_model.embed_tokens.weight 101.15 ❌ skipped
largest layer tensor (layers.62.…in_proj_qkv) 2.25 ✅

The embeddings and the output head are where Holo4-27B differs most from Qwen3.8-27B — by a factor of ~45 over any layer tensor — and neither is representable here: the extractor skips them by design (skipped_large in the config), because a full SVD of a 248,320 × 5,120 matrix (5.1 GB in float32 for the matrix alone, several times that for the SVD workspace) did not fit the memory this extraction ran in. Note that the vocabularies match exactly (248,320 tokens on both sides), so this is a genuine weight-level rescale/re-fit by H Company, not a tokenizer change — and it is missing from this adapter. Whatever Holo4 gets from its input embeddings and output head, you are not getting it here.

If you need Holo4 complete, use the full Hcompany/Holo4-27B or its FP8 / NVFP4 / Q4 GGUF builds.

Caveat 4 — language tower only, and an approximate one

  • The vision tower is excluded (exclude_visual_tower). This adapter changes language behaviour; visual grounding comes from whichever Qwen3.8-27B vision stack you pair it with. Do not expect Holo4's screenshot→action accuracy through this route.
  • Mean retained energy is 0.435 — see the table above. The behaviour you will see is a direction, not the model.
  • No benchmark has been run on this adapter, and none is claimed.

License

Derivative of Holo4-27B, which H Company releases under Non-commercial CC BY-NC 4.0. That licence covers this adapter: personal and research use, with credit; commercial use is not granted. (The Holo4 repo bundles an Apache-2.0 file for its own base-model inheritance — the model weights themselves are CC BY-NC.)

Qwen/Qwen3.8-27B is Apache-2.0.


Credits

Not affiliated with or endorsed by H Company or Alibaba Cloud.

Citation

@misc{hotdogs_holo4_svd_lora,
  title  = {Holo4-27B — SVD-LoRA (base: Qwen3.8-27B)},
  author = {hotdogs},
  year   = {2026},
  note   = {Weight-diff exact-SVD adaptation of the Hcompany/Holo4-27B language tower
            onto Qwen/Qwen3.8-27B, rank 64, 471 LoRA pairs},
  url    = {https://huggingface.co/hotdogs/Holo4-27B_qwen3.8-27B_svd_lora}
}

ภาษาไทย

นี่คืออะไร

LoRA ของ Holo4-27B — โมเดล vision-language สำหรับ "computer use" (ดูภาพหน้าจอแล้วสั่งคลิก/พิมพ์/เรียกเครื่องมือ) ของ H Company สร้างบน Qwen3.8-27B

adapter นี้คือส่วนต่างน้ำหนักของ language tower ระหว่าง Holo4-27B กับ Qwen3.8-27B บีบด้วย SVD rank 64 → 471 คู่

ไฟล์

ไฟล์ ขนาด หมายเหตุ
adapter_model.safetensors 1.69 GiB (float32) 471 คู่ (942 เทนเซอร์)
Holo4-27B_qwen3.8-27B_svd_lora.gguf 0.84 GiB (F16) 469 คู่ — ขาด 2 คู่ (conv1d)
extraction_stats.json 180 KB ตัวเลขจริงต่อเทนเซอร์
validation_report.json 6 KB ผลตรวจ 40 เทนเซอร์

วิธีใช้กับ llama.cpp

llama-server -m Qwen3.8-27B-Q6_K.gguf \
  --lora Holo4-27B_qwen3.8-27B_svd_lora.gguf \
  -ngl 99 -c 32768 -fa on --jinja

ความแม่นยำที่วัดได้จริง (ต้องอ่าน)

  • พลังงานที่เก็บได้เฉลี่ยแค่ 43.5% (ต่ำสุด 9.1%) → นี่คือ fine-tune แบบ "กระจาย" ไม่ใช่ low-rank
    • ที่เก็บได้ 100% มีแค่ประตู GDN (in_proj_a, in_proj_b, conv1d) — ซึ่งเป็นจุดที่ Holo4 ปรับแบบ "ผ่าตัด" จริง ๆ
    • MLP และ projection เก็บได้แค่ 20–40%
  • สองเทนเซอร์ที่ต่างจาก base มากที่สุด ถูกตัดออก: lm_head (‖Δ‖ = 101.87) และ embed_tokens (101.15) — ใหญ่กว่าค่า Δ ของชั้นอื่นราว 45 เท่า แต่ตัวสกัดตัดออกโดยตั้งใจ (skipped_large) เพราะ SVD เต็มรูปแบบของเมทริกซ์ 248,320×5,120 (ตัวเมทริกซ์อย่างเดียวก็ 5.1 GB ใน float32) ไม่พอดีกับ RAM ที่ใช้สกัด → สิ่งที่ Holo4 ได้จาก embedding/head คุณจะไม่ได้จาก adapter นี้
  • vocab ของทั้งสองโมเดลตรงกัน (248,320) → เป็นการแก้ที่ตัวน้ำหนักจริง ไม่ใช่เปลี่ยน tokenizer

ข้อควรระวัง

  1. rank ไม่ตรง config: rank 64 / 48 / 4 แต่ config บอก r=64 อย่างเดียว
    • llama.cpp: คู่ rank 48 จะถูกใช้เกิน 33% → แก้ด้วยการคูณ lora_B ของคู่นั้น 0.75 แล้วแปลง GGUF ใหม่
    • PEFT: โหลดด้วย config เดิมจะ error → ต้องใส่ rank_pattern/alpha_pattern ({"in_proj_a":48,"in_proj_b":48,"conv1d":4})
  2. GGUF ขาด 2 คู่ (conv1d) เพราะ llama.cpp ไม่รองรับ LoRA กับ short convolution (ggml_ssm_conv)
  3. ไม่รวม vision tower → ไม่ได้ความสามารถ screenshot→action ของ Holo4
  4. ห้ามใช้เชิงพาณิชย์ (CC BY-NC 4.0) และต้องให้เครดิต H Company
Downloads last month
71
GGUF
Model size
0.5B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hotdogs/Holo4-27B_qwen3.8-27B_svd_lora

Base model

Qwen/Qwen3.8-27B
Adapter
(387)
this model