Files
maths-cs-ai-compendium-zh/images/codebook_collapse.svg
T
flykhan 2536c937e3 feat: 完整中文翻译 maths-cs-ai-compendium(数学·计算机科学·AI 知识大全)
翻译自英文原版 maths-cs-ai-compendium,共 20 章全部完成。

第01章 向量 | 第02章 矩阵 | 第03章 微积分
第04章 统计学 | 第05章 概率论 | 第06章 机器学习
第07章 计算语言学 | 第08章 计算机视觉 | 第09章 音频与语音
第10章 多模态学习 | 第11章 自主系统 | 第12章 图神经网络
第13章 计算与操作系统 | 第14章 数据结构与算法
第15章 生产级软件工程 | 第16章 SIMD与GPU编程
第17章 AI推理 | 第18章 ML系统设计
第19章 应用人工智能 | 第20章 前沿人工智能

翻译说明:
- 所有数学公式 $...$ / $$...$$、代码块、图片引用完整保留
- mkdocs.yml 配置中文导航 + language: zh
- README.md 已翻译为中文(兼 docs/index.md)
- docs/ 目录包含指向各章文件的 symlink
- 约 29,000 行中文内容,排除 .cache/ 构建缓存
2026-05-03 10:23:20 +08:00

111 lines
8.7 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 650 250" width="650" height="250" font-family="Arial, sans-serif">
<!-- Title -->
<text x="325" y="22" text-anchor="middle" font-size="14" font-weight="bold" fill="#333">Codebook Utilisation: Healthy vs Collapsed</text>
<!-- LEFT: Healthy Codebook -->
<text x="160" y="48" text-anchor="middle" font-size="12" font-weight="bold" fill="#27ae60">Healthy Codebook</text>
<!-- Grid of codebook entries - healthy (most coloured) -->
<g transform="translate(55, 56)">
<!-- Row 1 -->
<rect x="0" y="0" width="24" height="18" rx="2" fill="#3498db" fill-opacity="0.5" stroke="#3498db" stroke-width="0.8"/>
<rect x="28" y="0" width="24" height="18" rx="2" fill="#e74c3c" fill-opacity="0.5" stroke="#e74c3c" stroke-width="0.8"/>
<rect x="56" y="0" width="24" height="18" rx="2" fill="#27ae60" fill-opacity="0.5" stroke="#27ae60" stroke-width="0.8"/>
<rect x="84" y="0" width="24" height="18" rx="2" fill="#f39c12" fill-opacity="0.5" stroke="#f39c12" stroke-width="0.8"/>
<rect x="112" y="0" width="24" height="18" rx="2" fill="#9b59b6" fill-opacity="0.5" stroke="#9b59b6" stroke-width="0.8"/>
<rect x="140" y="0" width="24" height="18" rx="2" fill="#1abc9c" fill-opacity="0.5" stroke="#1abc9c" stroke-width="0.8"/>
<rect x="168" y="0" width="24" height="18" rx="2" fill="#3498db" fill-opacity="0.5" stroke="#3498db" stroke-width="0.8"/>
<rect x="196" y="0" width="24" height="18" rx="2" fill="#e74c3c" fill-opacity="0.5" stroke="#e74c3c" stroke-width="0.8"/>
<!-- Row 2 -->
<rect x="0" y="22" width="24" height="18" rx="2" fill="#f39c12" fill-opacity="0.5" stroke="#f39c12" stroke-width="0.8"/>
<rect x="28" y="22" width="24" height="18" rx="2" fill="#1abc9c" fill-opacity="0.5" stroke="#1abc9c" stroke-width="0.8"/>
<rect x="56" y="22" width="24" height="18" rx="2" fill="#9b59b6" fill-opacity="0.5" stroke="#9b59b6" stroke-width="0.8"/>
<rect x="84" y="22" width="24" height="18" rx="2" fill="#3498db" fill-opacity="0.5" stroke="#3498db" stroke-width="0.8"/>
<rect x="112" y="22" width="24" height="18" rx="2" fill="#27ae60" fill-opacity="0.5" stroke="#27ae60" stroke-width="0.8"/>
<rect x="140" y="22" width="24" height="18" rx="2" fill="#e74c3c" fill-opacity="0.5" stroke="#e74c3c" stroke-width="0.8"/>
<rect x="168" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.5" stroke="#ccc" stroke-width="0.8"/>
<rect x="196" y="22" width="24" height="18" rx="2" fill="#f39c12" fill-opacity="0.5" stroke="#f39c12" stroke-width="0.8"/>
</g>
<text x="160" y="108" text-anchor="middle" font-size="9" fill="#666">15/16 entries active</text>
<!-- Bar chart - healthy -->
<g transform="translate(60, 118)">
<line x1="0" y1="90" x2="210" y2="90" stroke="#ccc" stroke-width="1"/>
<!-- Bars (roughly equal) -->
<rect x="4" y="20" width="10" height="70" rx="1" fill="#3498db" fill-opacity="0.6"/>
<rect x="18" y="25" width="10" height="65" rx="1" fill="#e74c3c" fill-opacity="0.6"/>
<rect x="32" y="18" width="10" height="72" rx="1" fill="#27ae60" fill-opacity="0.6"/>
<rect x="46" y="30" width="10" height="60" rx="1" fill="#f39c12" fill-opacity="0.6"/>
<rect x="60" y="22" width="10" height="68" rx="1" fill="#9b59b6" fill-opacity="0.6"/>
<rect x="74" y="28" width="10" height="62" rx="1" fill="#1abc9c" fill-opacity="0.6"/>
<rect x="88" y="15" width="10" height="75" rx="1" fill="#3498db" fill-opacity="0.6"/>
<rect x="102" y="32" width="10" height="58" rx="1" fill="#e74c3c" fill-opacity="0.6"/>
<rect x="116" y="24" width="10" height="66" rx="1" fill="#f39c12" fill-opacity="0.6"/>
<rect x="130" y="20" width="10" height="70" rx="1" fill="#1abc9c" fill-opacity="0.6"/>
<rect x="144" y="26" width="10" height="64" rx="1" fill="#9b59b6" fill-opacity="0.6"/>
<rect x="158" y="19" width="10" height="71" rx="1" fill="#3498db" fill-opacity="0.6"/>
<rect x="172" y="30" width="10" height="60" rx="1" fill="#27ae60" fill-opacity="0.6"/>
<rect x="186" y="22" width="10" height="68" rx="1" fill="#e74c3c" fill-opacity="0.6"/>
<rect x="200" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.6"/>
<!-- Axis label -->
<text x="105" y="106" text-anchor="middle" font-size="8" fill="#999">codebook entry index</text>
<text x="-8" y="55" text-anchor="middle" font-size="8" fill="#999" transform="rotate(-90 -8 55)">usage</text>
</g>
<!-- Divider -->
<line x1="325" y1="40" x2="325" y2="240" stroke="#ccc" stroke-width="1" stroke-dasharray="4,3"/>
<!-- RIGHT: Collapsed Codebook -->
<text x="490" y="48" text-anchor="middle" font-size="12" font-weight="bold" fill="#e74c3c">Collapsed Codebook</text>
<!-- Grid of codebook entries - collapsed (mostly grey) -->
<g transform="translate(385, 56)">
<!-- Row 1 -->
<rect x="0" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="28" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="56" y="0" width="24" height="18" rx="2" fill="#e74c3c" fill-opacity="0.6" stroke="#e74c3c" stroke-width="1.2"/>
<rect x="84" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="112" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="140" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="168" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="196" y="0" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<!-- Row 2 -->
<rect x="0" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="28" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="56" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="84" y="22" width="24" height="18" rx="2" fill="#3498db" fill-opacity="0.6" stroke="#3498db" stroke-width="1.2"/>
<rect x="112" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="140" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
<rect x="168" y="22" width="24" height="18" rx="2" fill="#27ae60" fill-opacity="0.6" stroke="#27ae60" stroke-width="1.2"/>
<rect x="196" y="22" width="24" height="18" rx="2" fill="#ccc" fill-opacity="0.4" stroke="#ccc" stroke-width="0.8"/>
</g>
<text x="490" y="108" text-anchor="middle" font-size="9" fill="#666">3/16 entries active</text>
<!-- Bar chart - collapsed -->
<g transform="translate(390, 118)">
<line x1="0" y1="90" x2="210" y2="90" stroke="#ccc" stroke-width="1"/>
<!-- Bars (mostly near zero, a few tall) -->
<rect x="4" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="18" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="32" y="5" width="10" height="85" rx="1" fill="#e74c3c" fill-opacity="0.6"/>
<rect x="46" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="60" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="74" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="88" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="102" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="116" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="130" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="144" y="20" width="10" height="70" rx="1" fill="#3498db" fill-opacity="0.6"/>
<rect x="158" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="172" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<rect x="186" y="30" width="10" height="60" rx="1" fill="#27ae60" fill-opacity="0.6"/>
<rect x="200" y="85" width="10" height="5" rx="1" fill="#ccc" fill-opacity="0.5"/>
<!-- Axis label -->
<text x="105" y="106" text-anchor="middle" font-size="8" fill="#999">codebook entry index</text>
<text x="-8" y="55" text-anchor="middle" font-size="8" fill="#999" transform="rotate(-90 -8 55)">usage</text>
</g>
<!-- Bottom annotations -->
<text x="160" y="242" text-anchor="middle" font-size="9" fill="#27ae60">High reconstruction quality</text>
<text x="490" y="242" text-anchor="middle" font-size="9" fill="#e74c3c">Poor reconstruction, wasted capacity</text>
</svg>