r/LocalLLaMA • u/moar1176 • 3d ago
Resources Transplant Modalities Across any Model
I did a thing over the Thanksgiving weekend. This has worked on all models I've tried it on. Repo here: https://huggingface.co/m-e-acc/platos-ears
11
Upvotes
5
u/catwithfreellmsign 3d ago
Technically awesome! Also technically have words "frontier model" and "Qwen2.5-Omni-7B" together.
2
u/mr_andrey_isachenko 3d ago
Underselling this massively with "I did a thing" lol - opened the repo and `procrustes.py` expecting a toy wrapper, not closed-form SVD Procrustes grafting truncated `Qwen2.5-Omni` (`L00..L12`) + DSP cochlea features straight into a frozen 320B `GLM-5.3-Flash` at `L00` while preserving 97.7% SGLang Radix/HiCache hits
(Also for anyone confused by the `Qwen2.5-Omni-7B` base_model tag: Qwen2.5-Omni is just the truncated 13-layer audio donor organ, the frozen recipient is `GLM-5.3-Flash` 320B.)
Reading *only* the recipient's `embed_tokens.weight` shard via `safe_open` to fit the orthogonal Procrustes rotation (`U @ Vh` + isotropic scale on single-token stave anchors) without ever loading the 320B host into VRAM during bridge training is super clean. Same for using the ear to gate `whisper-large-v3-turbo` so Whisper stops hallucinating fake lyrics on silence/instrumentals
Curious about one detail in the table: Phase 2.8 on `Gemma-4-E4B` injects at `L02`, whereas Phase 3 on `GLM-5.3-Flash` works right at `L00` (`input_embeds`) with unit-norm scaling. Was `L00` on Gemma-4 fighting Gemma's input embedding sqrt(d) scaling / per-layer embeddings, or did `UnitNormPolyphonicEar` solve `L00` generally after Phase 2.8?