|
Download assets/architecture.svg from issai/Qolda-AVL-5B-OptimizedTokenizer: direct link, hf CLI and curl.
- Browser
- Download file 6.84 kB
-
https://huggingface.co/issai/Qolda-AVL-5B-OptimizedTokenizer/resolve/main/assets/architecture.svg
- Command line
-
hf download hf://issai/Qolda-AVL-5B-OptimizedTokenizer/assets/architecture.svg
-
curl -L -o architecture.svg https://huggingface.co/issai/Qolda-AVL-5B-OptimizedTokenizer/resolve/main/assets/architecture.svg
6.84 kB
| <svg xmlns="http://www.w3.org/2000/svg" width="1000" height="585" viewBox="0 0 1000 585" font-family="Helvetica, Arial, sans-serif"> | |
| <defs> | |
| <marker id="ar" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"> | |
| <path d="M0,0 L10,5 L0,10 z" fill="#333"/> | |
| </marker> | |
| <marker id="arb" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"> | |
| <path d="M0,0 L10,5 L0,10 z" fill="#2f6db5"/> | |
| </marker> | |
| </defs> | |
| <rect width="1000" height="585" fill="#ffffff"/> | |
| <!-- output tokens --> | |
| <text x="840" y="24" font-size="14" fill="#333">Output tokens</text> | |
| <g fill="#e6d9ec" stroke="#9673a6"> | |
| <rect x="300" y="34" width="24" height="24"/><rect x="334" y="34" width="24" height="24"/><rect x="368" y="34" width="24" height="24"/> | |
| <rect x="402" y="34" width="24" height="24"/><rect x="436" y="34" width="24" height="24"/> | |
| <rect x="560" y="34" width="24" height="24"/><rect x="594" y="34" width="24" height="24"/><rect x="628" y="34" width="24" height="24"/> | |
| <rect x="662" y="34" width="24" height="24"/><rect x="696" y="34" width="24" height="24"/> | |
| </g> | |
| <text x="480" y="52" font-size="20" fill="#333">· · · · · ·</text> | |
| <!-- LLM --> | |
| <rect x="190" y="74" width="640" height="104" rx="18" fill="#fde3cc" stroke="#222" stroke-width="2"/> | |
| <text x="420" y="112" font-size="21" font-weight="bold" fill="#6a5acd" text-anchor="middle">Qwen3.5-4B-Kazakh-OptimizedTokenizer</text> | |
| <text x="420" y="138" font-size="14" fill="#444" text-anchor="middle">language model, weights unchanged (kk / ru / en, thinking)</text> | |
| <rect x="660" y="92" width="156" height="70" rx="10" fill="#dae8fc" stroke="#2f6db5" stroke-width="1.5" stroke-dasharray="5,3"/> | |
| <text x="738" y="114" font-size="14" font-weight="bold" fill="#2f6db5" text-anchor="middle">audio-only LoRA</text> | |
| <text x="738" y="133" font-size="12" fill="#2f6db5" text-anchor="middle">r = 16, 30.5 M weights</text> | |
| <text x="738" y="150" font-size="12" fill="#2f6db5" text-anchor="middle">ON only with audio</text> | |
| <!-- input tokens --> | |
| <g fill="#e6d9ec" stroke="#9673a6"> | |
| <rect x="200" y="196" width="24" height="24"/><rect x="232" y="196" width="24" height="24"/><rect x="264" y="196" width="24" height="24"/> | |
| </g> | |
| <text x="244" y="242" font-size="13" fill="#9673a6" text-anchor="middle">text</text> | |
| <g fill="#f8cecc" stroke="#b85450"> | |
| <rect x="330" y="196" width="24" height="24"/><rect x="362" y="196" width="24" height="24"/> | |
| <rect x="450" y="196" width="24" height="24"/><rect x="482" y="196" width="24" height="24"/> | |
| </g> | |
| <text x="402" y="214" font-size="16" fill="#333">· · ·</text> | |
| <text x="418" y="242" font-size="13" fill="#b85450" text-anchor="middle">image tokens</text> | |
| <g fill="#dae8fc" stroke="#2f6db5"> | |
| <rect x="590" y="196" width="24" height="24"/><rect x="622" y="196" width="24" height="24"/> | |
| <rect x="710" y="196" width="24" height="24"/><rect x="742" y="196" width="24" height="24"/> | |
| </g> | |
| <text x="662" y="214" font-size="16" fill="#333">· · ·</text> | |
| <text x="678" y="242" font-size="13" fill="#2f6db5" text-anchor="middle">audio tokens: 12.5 per second (125 for 10 s)</text> | |
| <!-- vision encoder --> | |
| <rect x="300" y="290" width="236" height="66" rx="10" fill="#fde3cc" stroke="#222" stroke-width="2"/> | |
| <text x="418" y="318" font-size="19" font-weight="bold" fill="#6a5acd" text-anchor="middle">Vision Encoder</text> | |
| <text x="418" y="340" font-size="12" fill="#444" text-anchor="middle">Qwen3.5-4B's, unchanged</text> | |
| <line x1="418" y1="290" x2="418" y2="252" stroke="#b85450" stroke-width="1.5" marker-end="url(#ar)"/> | |
| <!-- connector --> | |
| <rect x="565" y="270" width="340" height="66" rx="10" fill="#dae8fc" stroke="#222" stroke-width="2"/> | |
| <text x="735" y="296" font-size="17" font-weight="bold" fill="#2f6db5" text-anchor="middle">Connector (trained, 13 M)</text> | |
| <text x="735" y="317" font-size="12" fill="#333" text-anchor="middle">avg-pool ×4 → LayerNorm → Linear → GELU → Linear</text> | |
| <line x1="678" y1="270" x2="678" y2="252" stroke="#2f6db5" stroke-width="1.5" marker-end="url(#arb)"/> | |
| <!-- audio encoder --> | |
| <rect x="565" y="384" width="340" height="66" rx="10" fill="#dae8fc" stroke="#222" stroke-width="2"/> | |
| <text x="735" y="412" font-size="19" font-weight="bold" fill="#6a5acd" text-anchor="middle">Audio Encoder (frozen)</text> | |
| <text x="735" y="434" font-size="12" fill="#444" text-anchor="middle">Whisper-large-v3-turbo, ISSAI's Kazakh fine-tune</text> | |
| <line x1="650" y1="384" x2="650" y2="338" stroke="#2f6db5" stroke-width="1.5" marker-end="url(#arb)"/> | |
| <line x1="820" y1="384" x2="820" y2="338" stroke="#2f6db5" stroke-width="1.5" stroke-dasharray="5,3" marker-end="url(#arb)"/> | |
| <text x="644" y="366" font-size="12" fill="#2f6db5" text-anchor="end">last layer</text> | |
| <text x="826" y="366" font-size="12" fill="#2f6db5">layer 18 (speaker cues)</text> | |
| <!-- image input --> | |
| <rect x="338" y="410" width="160" height="104" fill="#5b8fc9"/> | |
| <rect x="338" y="470" width="160" height="44" fill="#d9a441"/> | |
| <path d="M338,470 L380,432 L410,452 L446,420 L498,466 L498,470 z" fill="#8a6a4a"/> | |
| <path d="M432,433 L446,420 L460,433 z" fill="#ffffff"/> | |
| <line x1="418" y1="408" x2="418" y2="358" stroke="#333" stroke-width="2" marker-end="url(#ar)"/> | |
| <text x="418" y="536" font-size="13" fill="#333" text-anchor="middle">image (any size)</text> | |
| <!-- waveform --> | |
| <g fill="#2c4a6e" transform="translate(0,14)"> | |
| <rect x="660" y="495" width="5" height="10"/><rect x="670" y="488" width="5" height="24"/><rect x="680" y="480" width="5" height="40"/> | |
| <rect x="690" y="470" width="5" height="60"/><rect x="700" y="476" width="5" height="48"/><rect x="710" y="466" width="5" height="68"/> | |
| <rect x="720" y="474" width="5" height="52"/><rect x="730" y="484" width="5" height="32"/><rect x="740" y="478" width="5" height="44"/> | |
| <rect x="750" y="488" width="5" height="24"/><rect x="760" y="482" width="5" height="36"/><rect x="770" y="490" width="5" height="20"/> | |
| <rect x="780" y="494" width="5" height="12"/><rect x="790" y="497" width="5" height="6"/> | |
| </g> | |
| <line x1="728" y1="474" x2="728" y2="452" stroke="#333" stroke-width="2" marker-end="url(#ar)"/> | |
| <text x="728" y="574" font-size="13" fill="#333" text-anchor="middle">audio, 16 kHz, up to 30 s</text> | |
| <!-- left notes --> | |
| <text x="24" y="296" font-size="13" fill="#444">Text or image prompt:</text> | |
| <text x="24" y="314" font-size="13" fill="#444">LoRA OFF → answers are bit-identical</text> | |
| <text x="24" y="332" font-size="13" fill="#444">to the instruct model.</text> | |
| <text x="24" y="368" font-size="13" fill="#2f6db5">Prompt with audio:</text> | |
| <text x="24" y="386" font-size="13" fill="#2f6db5">LoRA ON.</text> | |
| </svg> | |