<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hal40n</author_name>
  <author_url>https://blog.hatena.ne.jp/Hal40n/</author_url>
  <blog_title>ゼロからAI理論を再構築する</blog_title>
  <blog_url>https://serenewealth.net/</blog_url>
  <categories>
    <anon>機械学習</anon>
  </categories>
  <description>翻訳を考えると、入力と出力の長さが違います。「こんにちは」は4文字で&quot;Hello&quot;は5文字。単語数も文法構造も言語によって異なるので、入力と出力を1対1で対応させることができません。 Encoder-Decoder（Seq2Seq）モデルは、入力系列を一旦ベクトルに圧縮して、そこから別の系列を生成するという構造でこの問題に対処します。 Encoderが入力を圧縮し、Decoderが出力を生成する 構造はシンプルです。Encoder（符号化器）が入力系列を順に処理して、最終ステップの隠れ状態を1つの固定長ベクトル \( v \) にまとめます。これをコンテキストベクトルと呼びます。 Decode…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fserenewealth.net%2Fentry%2F2026%2F03%2F12%2F200000&quot; title=&quot;Encoder-Decoder：入力と出力の長さが違う問題を解く - ゼロからAI理論を再構築する&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-03-12 20:00:00</published>
  <title>Encoder-Decoder：入力と出力の長さが違う問題を解く</title>
  <type>rich</type>
  <url>https://serenewealth.net/entry/2026/03/12/200000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
