<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>『つくりながら学ぶ！LLM自作入門』を理解するために、1層1ヘッドの最小構成のGPTから少しずつ発展させながら、日本語の学習・生成とモデルの中身の可視化をやってきた。これまでの記事はこちら。 『つくりながら学ぶ！LLM自作入門』を1層1ヘッドの最小構成から始めてみている 1層1ヘッドのGPTを4層に発展させ、生成結果とモデル可視化をやってみた 4層1ヘッドのGPTを4ヘッドに発展させ、学習結果の比較とヘッドごとのAttention可視化をやってみた 次のステップとして、自分で学習させるのではなく、Hugging Faceで公開されている学習済みの日本語GPT-2の重みを自作GPTに読み込み、こ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2026%2F09%2F30%2F180000&quot; title=&quot;自作GPTに学習済みの日本語GPT-2のモデルを読み込み、生成と可視化を試してみた - $shibayu36-&amp;gt;blog;&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/shiba_yu36/20260930/20260930131653.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-09-30 18:00:00</published>
  <title>自作GPTに学習済みの日本語GPT-2のモデルを読み込み、生成と可視化を試してみた</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/2026/09/30/180000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
