<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TadaoYamaoka</author_name>
  <author_url>https://blog.hatena.ne.jp/TadaoYamaoka/</author_url>
  <blog_title>TadaoYamaokaの開発日記</blog_title>
  <blog_url>https://tadaoyamaoka.hatenablog.com/</blog_url>
  <categories>
    <anon>将棋AI</anon>
  </categories>
  <description>大規模言語モデルやStable Diffusionなどの拡散モデルのファインチューニングには、LoRAという手法が使われることが多い。 全てのパラメータを微調整するよりも効率的に学習できる。LoRAを将棋AIのモデルに適用して、棋風の学習に使えるか試してみた。 将棋AIのモデル 将棋AIのモデルには、dlshogiの学習済みモデルを使用する。 dlshogiのモデルは、ResNetで構成されている。 LoRA 標準のLoRAは、全結合層に対して適用されるため、ResNetで使用している畳み込み層には適用できない。 LoRAを、畳み込み層にも適用できるようにしたものにLoConがある。LoCon…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftadaoyamaoka.hatenablog.com%2Fentry%2F2024%2F01%2F06%2F113401&quot; title=&quot;将棋AIの棋風学習にLoRAを適用 - TadaoYamaokaの開発日記&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/T/TadaoYamaoka/20240106/20240106105134.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-01-06 11:34:01</published>
  <title>将棋AIの棋風学習にLoRAを適用</title>
  <type>rich</type>
  <url>https://tadaoyamaoka.hatenablog.com/entry/2024/01/06/113401</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
