{
  "role": "production; not independent approval",
  "license": "New rv-* teaching figures: Sunny Data Science, CC BY 4.0; existing sources retain their own terms.",
  "figures": [
    {
      "order": 46,
      "name": "rv-query-row-causal-mask",
      "question": "平行計算時每列如何仍只讀前綴？",
      "task": "教學圖",
      "data_identity": "本文四位置可見性規則",
      "values_or_formula": {
        "allowed": "j<=i",
        "query2_head0": [
          0.385728,
          0.31992,
          0.294352,
          0
        ],
        "query2_head1": [
          0.241557,
          0.384838,
          0.373606,
          0
        ]
      },
      "caption": "列是query、欄是key；對角線代表本步餵入token，可見。Q2的兩head實際權重在正文表中，K3皆0。圖只畫可見性，非權重熱圖；另須右移labels，MHA布林True才表示封鎖。",
      "files": [
        {
          "svg": "rv-query-row-causal-mask.svg",
          "sha256": "ab10a73319c891b732ead1b9a041e12a327e29caf3e3f183543f9075c5498a68",
          "mobile": false,
          "png": "rv-query-row-causal-mask.png",
          "png_sha256": "301315410002694dfe0e48d8b112b1f55273f867d0c871ee1e6384638f5c6f85"
        },
        {
          "svg": "rv-query-row-causal-mask-mobile.svg",
          "sha256": "37e7a6612501bb55a70afd1e2e53dc05362d7118769dc902d9d21c552d6b5c2a",
          "mobile": true,
          "png": "rv-query-row-causal-mask-mobile.png",
          "png_sha256": "3600c8cfb4aef1862742a6d221068683cde031741573c1e71807d86f617f0e08"
        }
      ],
      "source_basis": "本文article.md與既有practice程式／原公式；詳個別values_or_formula及圖說。",
      "source_files": [
        "article.md",
        "./practice/transformer_position_mask_residual.py"
      ],
      "numeric_checks": {}
    },
    {
      "order": 46,
      "name": "rv-normalization-order",
      "question": "LN移到殘差內外會改哪條路？",
      "task": "教學圖",
      "data_identity": "正文pre/post-norm公式",
      "values_or_formula": {
        "post": "LN(x+S(x))",
        "pre": "x+S(LN(x))"
      },
      "caption": "兩式不是換寫法；LN改變子層輸入與殘差路徑的相對位置。本文只核手設單attention子層的兩種輸出，沒有比較完整模型品質。",
      "files": [
        {
          "svg": "rv-normalization-order.svg",
          "sha256": "27c7150c81f543ecf750e67f5d6a48fe4a58d7f02cf3aa5a9113ba8243bbcfdd",
          "mobile": false,
          "png": "rv-normalization-order.png",
          "png_sha256": "be59f2e41cfc2129f932b5ae55fcc6b8d606eecd7e1802bd62b06d1f804db948"
        },
        {
          "svg": "rv-normalization-order-mobile.svg",
          "sha256": "27264fc1f0261a477263bbcdb9a2cffbf33cc50fbfa86d916716567e707a2f0c",
          "mobile": true,
          "png": "rv-normalization-order-mobile.png",
          "png_sha256": "cecf5236e225e8fe69c07ca21f4622c1a75b964fdac2f1e2abbff9a91600c0e2"
        }
      ],
      "source_basis": "本文article.md與既有practice程式／原公式；詳個別values_or_formula及圖說。",
      "source_files": [
        "article.md",
        "./practice/transformer_position_mask_residual.py"
      ],
      "numeric_checks": {}
    }
  ],
  "production_visual_check": {
    "native_viewed_all_desktop_png": true,
    "native_viewed_all_mobile_png_at_actual_width_px": 350,
    "desktop_contact_width_px": 660,
    "scope": "34組中此篇所有新主圖與同資料手機圖，逐張原生看圖；不是正式HTML手機檢查。",
    "resolved_layout_issues": "XOR重疊點加箭頭；Dropout標籤分開；Inception畫出14通道；Q/K/V並列而非串行箭頭；比較方案去除串行箭頭。"
  }
}
