<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LM-Studio | じじぃの引出し</title>
	<atom:link href="https://www.kazuban.com/blog/tag/lm-studio/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kazuban.com/blog</link>
	<description>なにかしら、皆さんの参考になれば幸いです！</description>
	<lastBuildDate>Sat, 12 Apr 2025 01:43:50 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.kazuban.com/blog/wp-content/uploads/2020/05/cropped-ICON-1-32x32.png</url>
	<title>LM-Studio | じじぃの引出し</title>
	<link>https://www.kazuban.com/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>ローカルでDifyとLM_Studio を連携させ、ローカルでチャットボットを作る。</title>
		<link>https://www.kazuban.com/blog/dify-lmstudio/</link>
		
		<dc:creator><![CDATA[kazuban]]></dc:creator>
		<pubDate>Sat, 22 Mar 2025 23:40:15 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Dify]]></category>
		<category><![CDATA[LM-Studio]]></category>
		<category><![CDATA[チャットボット]]></category>
		<category><![CDATA[ローカルLLM]]></category>
		<guid isPermaLink="false">https://www.kazuban.com/blog/?p=10639</guid>

					<description><![CDATA[以前の記事で、LM Studioを利用して、ローカル環境でLLMを利用する方法を紹介しました。また前回、生成Aiアプリを比較的簡単に開発できる、Difyをローカルで起動させてみました。今回はこのDifyとLM Studi [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="https://www.kazuban.com/blog/lm-studio-first-try/">以前の記事で、LM Studioを利用して、ローカル環境でLLMを利用する方法</a><br>を紹介しました。<br><a href="https://www.kazuban.com/blog/dify-install/">また前回、生成Aiアプリを比較的簡単に開発できる、Difyをローカルで起動</a><br>させてみました。<br>今回はこのDifyとLM Studioを連携させ、完全ローカル環境で生成Aiアプリを開発する環境設定を作ってみます。<br>筆者はDifyは超初心者なので、Difyでのアプリ開発に興味あるかたはネットをチェックしてみてください。<br>ここでは、DifyとローカルLLMと連携する方法を紹介します。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">Difyで簡単なチャットボット作る</a></li><li><a href="#toc2" tabindex="0">モデルを登録する</a><ol><li><a href="#toc3" tabindex="0">オンラインLLM gemini の登録</a></li><li><a href="#toc4" tabindex="0">ローカルLLM LM Studio の登録</a><ol><li><a href="#toc5" tabindex="0">LM Studio をサーバーモードにする</a></li><li><a href="#toc6" tabindex="0">DifyでLM Studio のモデルを利用する</a></li></ol></li><li><a href="#toc7" tabindex="0">LM Studio サーバーのモデル使用</a></li><li><a href="#toc8" tabindex="0">LM Studio のモデルプロバイダーが追加されてる・・・</a></li></ol></li><li><a href="#toc9" tabindex="0">あとがき</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">Difyで簡単なチャットボット作る</span></h2>



<p>まずは、Difyで一番簡単なチャットボットを作成する流れを説明します。<br><a href="https://www.kazuban.com/blog/dify-install/">前回までで</a>、Difyをインストールして「<a href="http://localhost/install">http://localhost/install</a>」でアカウント作成を行いました。<br>ログインすると、「最初から作成」でアプリが作成できるようになります。</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="800" height="577" data-id="10697" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01-800x577.png" alt="" class="wp-image-10697" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01-800x577.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01-500x360.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01-300x216.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01-768x554.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist01.png 860w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img decoding="async" width="800" height="609" data-id="10698" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02-800x609.png" alt="" class="wp-image-10698" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02-800x609.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02-500x381.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02-300x228.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02-768x585.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist02.png 860w" sizes="(max-width: 800px) 100vw, 800px" /></figure>
</figure>



<p>とりあえずチャットボットを選択し、「アプリのアイコンと名前」と「説明」は任意で入力します<br>「作成する」で、次の画面へ進みます。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="800" height="461" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-800x461.png" alt="" class="wp-image-10656" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-800x461.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-500x288.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-300x173.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-768x443.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-1536x885.png 1536w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03-120x68.png 120w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/dify_fist03.png 1780w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>ここで、右上の設定から、使用したいモデルを選択する事で、このモデルと会話するチャットアプリが作れますが、<span class="marker-under">事前に使用するLLMモデルの登録が必要</span>です。<br>ここでは、事前にオンラインのgeminiモデルを登録しておいたので、geminiの複数モデルが選択できるようになっています。<br>違うモデルで何種類か作成し公開すれば、簡単に違うモデルと会話できるアプリが作成できます。<br>ただしこれは、<span class="marker-under-red">ローカルではなくオンライン環境</span>になります。<br>ここで、LM_Studioで動作させてさせている、ローカルLLMを登録すれば、ローカルLLMと会話できるようになります。</p>



<h2 class="wp-block-heading"><span id="toc2">モデルを登録する</span></h2>



<p>Difyはとても機能が多く非常に興味的なアプリなので、筆者ももう少し取り組んでみたいと思っていますが、まずはローカル環境でいろいろ試せる環境を作ります。</p>



<h3 class="wp-block-heading"><span id="toc3">オンラインLLM gemini の登録</span></h3>



<p>まずは、ローカルではないですが、Googleのgeminiを利用してみます。<br>利用するには、geminiプラグインのインストールが必要です。<br>プラグインは、<span class="inline-button-blue">右上のユーザー名</span>から出てくるプルダウンで「設定」を選択すると、<br>左サイドに「設定」の項目が表示されます。<br>その下段のモデルプロバイダーで登録します</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--50);margin-right:0;margin-bottom:var(--wp--preset--spacing--50);margin-left:0"><a href="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01.png"><img loading="lazy" decoding="async" width="800" height="720" data-id="10662" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01-800x720.png" alt="" class="wp-image-10662" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01-800x720.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01-500x450.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01-300x270.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01-768x692.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin01.png 1346w" sizes="(max-width: 800px) 100vw, 800px" /></a></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--80);margin-right:0;margin-bottom:var(--wp--preset--spacing--80);margin-left:0"><img loading="lazy" decoding="async" width="800" height="469" data-id="10664" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-800x469.png" alt="" class="wp-image-10664" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-800x469.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-500x293.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-300x176.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-768x450.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02.png 861w" sizes="(max-width: 800px) 100vw, 800px" /></figure>
</figure>



<p>インストールしたいモデル（今回は、Gemini）を探してインストールします。<br>インストールは私の環境では結構時間がかかりました。<br>インストール中でも画面にあまり変化がないので<span class="marker-under-blue">完了したタイミングを見逃しがち</span>ですが、<br>右上のプラグインアイコンがこの状態は、<img loading="lazy" decoding="async" width="120" height="42" class="wp-image-10708" style="width: 120px;" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/plugin-install01.png" alt=""><span class="marker-under">インストール中</span>です<br>完了すると<img loading="lazy" decoding="async" width="140" height="46" class="wp-image-10709" style="width: 140px;" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/plugin-install02.png" alt=""><span class="marker-under-red">このアイコンになります</span>ので、待ちます。<br>次に、インストール後Geminiを使用するには、API-KEYのセットアップが必要です。</p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large" style="margin-right:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)"><img loading="lazy" decoding="async" width="800" height="469" data-id="10664" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-800x469.png" alt="" class="wp-image-10664" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-800x469.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-500x293.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-300x176.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02-768x450.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin02.png 861w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--30);margin-right:0;margin-bottom:var(--wp--preset--spacing--30);margin-left:0"><img loading="lazy" decoding="async" width="800" height="395" data-id="10680" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1-800x395.png" alt="" class="wp-image-10680" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1-800x395.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1-500x247.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1-300x148.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1-768x379.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin03-1.png 1163w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"><img loading="lazy" decoding="async" width="800" height="369" data-id="10681" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04-800x369.png" alt="" class="wp-image-10681" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04-800x369.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04-500x230.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04-300x138.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04-768x354.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin04.png 970w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:0;margin-right:var(--wp--preset--spacing--30);margin-bottom:0;margin-left:var(--wp--preset--spacing--30)"><img loading="lazy" decoding="async" width="800" height="421" data-id="10682" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05-800x421.png" alt="" class="wp-image-10682" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05-800x421.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05-500x263.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05-300x158.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05-768x405.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin05.png 1027w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--20);margin-right:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20);margin-left:var(--wp--preset--spacing--20)"><img loading="lazy" decoding="async" width="800" height="379" data-id="10683" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06-800x379.png" alt="" class="wp-image-10683" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06-800x379.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06-500x237.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06-300x142.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06-768x364.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin06.png 1146w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="404" data-id="10684" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07-800x404.png" alt="" class="wp-image-10684" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07-800x404.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07-500x252.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07-300x151.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07-768x388.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin07.png 1084w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--60);margin-right:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--60);margin-left:var(--wp--preset--spacing--30)"><img loading="lazy" decoding="async" width="800" height="254" data-id="10685" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08-800x254.png" alt="" class="wp-image-10685" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08-800x254.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08-500x159.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08-300x95.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08-768x244.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin08.png 1159w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"><img loading="lazy" decoding="async" width="730" height="337" data-id="10673" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin09.png" alt="" class="wp-image-10673" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin09.png 730w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin09-500x231.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin09-300x138.png 300w" sizes="(max-width: 730px) 100vw, 730px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)"><img loading="lazy" decoding="async" width="728" height="388" data-id="10686" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin10.png" alt="" class="wp-image-10686" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin10.png 728w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin10-500x266.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin10-300x160.png 300w" sizes="(max-width: 728px) 100vw, 728px" /></figure>



<figure class="wp-block-image size-large" style="margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)"><img loading="lazy" decoding="async" width="728" height="333" data-id="10675" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin11.png" alt="" class="wp-image-10675" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin11.png 728w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin11-500x229.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini_plugin11-300x137.png 300w" sizes="(max-width: 728px) 100vw, 728px" /></figure>
</figure>



<p>APIキーが正常に設定されると、「右上のユーザ」⇒「設定」⇒「モデルプロバイダー」で設定済みのモデルとして表示されます。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="122" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY-800x122.png" alt="" class="wp-image-10704" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY-800x122.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY-500x76.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY-300x46.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY-768x117.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/gemini-ApiKEY.png 934w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>ただし、私の環境では、<span class="marker-under">正常に設定できた</span>とメッセージがでたのに、<span class="marker-under">ここに表示されていない事</span>がありました、その場合、<span class="marker-under-red">もう一度モデルプロバイダー一覧から再度インストール</span>すると表示されました。<br>この場合、インストール時間は殆どかかりません。<br>これで、上の例のように、使用モデルとして選択できるようになります。</p>



<h3 class="wp-block-heading"><span id="toc4">ローカルLLM LM Studio の登録</span></h3>



<p>Geminiはオンラインクラウド上のLLMですが、いよいよローカルLLMと連携させます。</p>



<h4 class="wp-block-heading"><span id="toc5">LM Studio をサーバーモードにする</span></h4>



<p>DifyとLM Studioを連携するには、まず、LM Studioをサーバーモードで動作させます。<br>まず左サイドバーのDeveloperアイコン<img loading="lazy" decoding="async" width="35" height="34" class="wp-image-10712" style="width: 35px;" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/developer-icon.png" alt="">で、開発者モードに入り、</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="496" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01-800x496.png" alt="" class="wp-image-10713" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01-800x496.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01-500x310.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01-300x186.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01-768x477.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server01.png 1054w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>その横の<span class="inline-button-green">スイッチ</span>で「Static Running」状態に設定すれば、サーバーモードで動作しています。<br>次に、Difyに提供する、モデルを「Select a model load」で<span class="marker-under-red">ダウンロード済みのモデル</span>から選択します。<br>２個のモデルをロードしてみました。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="396" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02-800x396.png" alt="" class="wp-image-10718" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02-800x396.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02-500x247.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02-300x148.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02-768x380.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server02.png 1456w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>この状態であれば、Difyでロードしたモデルを使用できるようになります。<br>ただし、LM Studioをクローズすると、モデルも使用できなくなってしまいます。<br>右下の<span class="inline-button-black">歯車マーク</span>で設定画面に入り</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="506" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-800x506.png" alt="" class="wp-image-10721" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-800x506.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-500x317.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-300x190.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-768x486.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03-1536x972.png 1536w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server03.png 1943w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>「Enable Local LLM Service」にチェックすれば、クローズしてもサーバー状態を維持します。</p>



<h4 class="wp-block-heading"><span id="toc6">DifyでLM Studio のモデルを利用する</span></h4>



<p class="has-watery-red-background-color has-background"><em>この記事を書いている時に自分でも再作業をしていたら、<a href="#toc8">「LM Studio」用のプラグインが公開されている</a>のに気が付きました。<br>これから説明する「OpneAI-API-compatible」よりも、わかりやすそうです。<br>たぶん公開は最近だと思うので、不具合がないとも言えませんが、もし、こだわりがなければ、「LM Studio」プラグインの方が簡単だと思います</em></p>



<p>ここでは、書き始めていた「OpneAI-API-compatible」の説明を行います。<br>geminiの時と同様に、「モデルプロバイダー」の「設定」で対応しているプラグインをインストールします。<br>LM Studioが利用するには<span class="marker-under-red">「OpneAI-API-compatible」</span>をインストールします。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="636" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05-800x636.png" alt="" class="wp-image-10725" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05-800x636.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05-500x398.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05-300x239.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05-768x611.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server05.png 1184w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>インストールが完了したら、「モデルを追加」で、モデル名と<br>LM Studio サーバーの「URL」＋<span class="marker-under-red">「/V1」</span>を設定します。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="1289" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06-800x1289.png" alt="" class="wp-image-10727" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06-800x1289.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06-500x805.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06-300x483.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06-768x1237.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server06.png 933w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>モデル名とLM Studio のURL は、「LM Studio」の画面から、<img loading="lazy" decoding="async" width="30" height="31" class="wp-image-10792" style="width: 30px;" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/copy_icon.png" alt="">「コピー」アイコンで、クリップボードへコピーすれば、ペーストできます。<br>ただし、「API endpoint URL」は<span class="marker-under-red">「URL」の後ろに「/V1」が必要</span>です。<br>「/V1」がなくても、正常に保存できる場合がありますが、実際に<span class="marker-under">チャットする時にエラーになりますので忘れないでください。</span><br>「LM Studio」に何種類がモデルがロードされている場合、ここでも複数設定しておくと、Dify側で複数のモデルを使分ける事ができます</p>



<h3 class="wp-block-heading"><span id="toc7">LM Studio サーバーのモデル使用</span></h3>



<p>ここまで完了すると、Dify側でのモデル選択で利用できるようになっています。<br><a href="#toc1">上記の「gemini」モデル一覧の下</a>に、追加されているので、ここで選択する事でつかえるようになります。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="719" height="920" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server09.png" alt="" class="wp-image-10732" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server09.png 719w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server09-500x640.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM_Studio_Server09-300x384.png 300w" sizes="(max-width: 719px) 100vw, 719px" /></figure>



<h3 class="wp-block-heading"><span id="toc8">LM Studio のモデルプロバイダーが追加されてる・・・</span></h3>



<p>この記事を書いていて、Difyを触っていて気が付いたのですが、「モデルプロバイダー」一覧に「LM Studio」が入っていました。<br></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="466" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-800x466.png" alt="" class="wp-image-10734" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-800x466.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-500x292.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-300x175.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-768x448.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers.png 981w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>筆者が見落としていただけなのか？ちょっと前にはなかったと思います。<br>そういう理由で、「OpneAI-API-compatible」を利用したのですが、「LM Studio」のほうが、名前からして分かりやすいですね。<br>試しに、インストールしてみたところ、問題なく使用できました。<br>ただ、「OpneAI-API-compatible」では、「API endpoint URL」で、「LM Studioサーバー」の「URL」とその後ろに「/V1」が必要でしたが、こちらは<span class="marker-under-red">「Base URL」の設定項目で「URL」のみ</span>でOKです。<br>この設定も、わかりやすいです。</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="787" height="1002" src="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-setting.png" alt="" class="wp-image-10735" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-setting.png 787w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-setting-500x637.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-setting-300x382.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/03/LM-Studio-Model-Providers-setting-768x978.png 768w" sizes="(max-width: 787px) 100vw, 787px" /></figure>



<h2 class="wp-block-heading"><span id="toc9">あとがき</span></h2>



<p>ついに、ローカル上で、ローカル上のLLMモデルを利用した、チャットアプリ開発環境が完成しました。<br>企業で使うには、ライセンスの確認も必要ですし、動作させるPCのスペックは大きくなると思いますが、個人や少人数で使う場合、簡単に試しながら、気軽にDifyの学習ができるようになります。</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>話題のDeepSeekをローカルで試してみた。</title>
		<link>https://www.kazuban.com/blog/try-deepseek/</link>
		
		<dc:creator><![CDATA[kazuban]]></dc:creator>
		<pubDate>Sat, 08 Feb 2025 08:56:18 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[DeepSeek]]></category>
		<category><![CDATA[LM-Studio]]></category>
		<category><![CDATA[生成Ai]]></category>
		<guid isPermaLink="false">https://www.kazuban.com/blog/?p=10187</guid>

					<description><![CDATA[先月から時間あるとき、話題のDeep Seek をLM Studio で試しています。筆者の偏見かもしれませんが、無料とは言え、個人情報を登録してのオンライン体験は抵抗がありますが、ローカルなら、大丈夫かな？という事でロ [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>先月から時間あるとき、話題のDeep Seek をLM Studio で試しています。<br>筆者の偏見かもしれませんが、無料とは言え、個人情報を登録してのオンライン体験は抵抗がありますが、ローカルなら、大丈夫かな？という事でローカルでの体験をレポートします。<br>LM Studio ではモデルリストにも登録されており、簡単に体験できます。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-4" checked><label class="toc-title" for="toc-checkbox-4">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">ダウンロード</a></li><li><a href="#toc2" tabindex="0">チャット比較</a><ol><li><a href="#toc3" tabindex="0">１．メイちゃん、おはよう</a></li><li><a href="#toc4" tabindex="0">２．天安門事件はどんな事件？（よく話題になるこの質問で検証）</a></li><li><a href="#toc5" tabindex="0">３．冷蔵庫に、キャベツと人参と豚バラ肉が残ってるけど、何作ろうか？</a></li><li><a href="#toc6" tabindex="0">材料：</a></li><li><a href="#toc7" tabindex="0">手順：</a></li><li><a href="#toc8" tabindex="0">チップス：</a></li><li><a href="#toc9" tabindex="0">おすすめの組み合わせ：</a></li><li><a href="#toc10" tabindex="0">４．猫を抱っこしている、メイちゃんイメージの画像生成用のプロンプトを日本語と英語で。</a><ol><li><a href="#toc11" tabindex="0">メイちゃんイメージ画像生成プロンプト</a></li><li><a href="#toc12" tabindex="0">Image generation model ：iNiverse Mix XL  / Prompt generation :gemma-2-27b-it-GGUF</a></li><li><a href="#toc13" tabindex="0">日本語プロンプト:</a></li><li><a href="#toc14" tabindex="0">英語プロンプト:</a></li><li><a href="#toc15" tabindex="0">Image generation model ：iNiverse Mix XL v1.1  / Prompt generation :DeepSeek-R1-Distill-Qwen-32B-GGUF</a></li></ol></li></ol></li><li><a href="#toc16" tabindex="0">感想</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">ダウンロード</span></h2>



<p>モデル検索で「DeepSeek」を検索すると2025/02/07時点で「Showing&nbsp;503&nbsp;models」と言うことでかなり公開されています。<br>日本語を強化したモデルもあるとのことで、「japanese」を追加して検索してみましたが、それでも「49 models」見つかりました。<br>とりあえず、「DeepSeek-R1-Distill-Qwen-<strong>7B</strong>-Japanese-GGUF」「DeepSeek-R1-Distill-Qwen-<strong>14B</strong>-Japanese-gguf」「DeepSeek-R1-Distill-Qwen-<strong>32B</strong>-Japanese-gguf」で試してみましたが、筆者の環境では、あまりよくありませんでした。<br>「DeepSeek」は<span class="marker-under">「考えて（thought）」から、回答するような仕様</span>で、もしかすると「o1」も同様の仕様でしょうか？<br>その為か同レベルのパラメータ数でも「gemma」に比べるとその分遅くなる傾向にあります。<br>遅くても、結果が良ければいいですが、特に「<strong>7B</strong>」のモデルは、「thoughts」と「回答」が何度も何度も繰り返される、バグのような状態になり途中でストップしました。<br>「<strong>14B</strong>」や「<strong>32B</strong>」では、その現象はおきませんでしたが、かなり遅いわりに、それほど良い回答はもらえなかったので、「japanese」はやめて、「DeepSeek-R1-Distill-Llama-<strong>8B</strong>-GGUF」「DeepSeek-R1-Distill-Qwen-<strong>32B</strong>-GGUF」で試してみます<br>こちらでも日本語で会話できるので、「japanese」との違いはあまり感じませんでした。<br>また「japanese」モデルは日本語化の影響なのか、体感では遅く感じました。</p>



<h2 class="wp-block-heading"><span id="toc2">チャット比較</span></h2>



<p>LM Studio のsystem Prompt には、下記のように定義してます</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>あなたの名前は「メイ」です。<br>日本人の女性です。<br>コンピュータ、IT、プログラミング、NCが専門です</p>
</blockquote>



<p>この設定で、同じ質問で、試してみましょう！</p>



<ol class="wp-block-list">
<li>メイちゃん、おはよう</li>



<li>天安門事件はどんな事件？（よく話題になるこの質問で検証）</li>



<li>冷蔵庫に、キャベツと人参と玉ねぎが残ってるけど、何作ろうか？</li>



<li>猫を抱っこしている、メイちゃんイメージの画像生成用のプロンプトを日本語と英語で。</li>
</ol>



<h3 class="wp-block-heading"><span id="toc3">１．メイちゃん、おはよう</span></h3>



<p>まずは、今まで使っている、「gemma-2-9b-it」と「gemma-2-27b-it」では普通の反応です</p>



<p class="is-style-information-box has-box-style">「gemma-2-9b-it-GGUF」 Total:2&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>おはようございます！😊<br>今日は何か面白いことやりますか？✨<br>私にできることはたくさんありますよ！💻 どんなお仕事がありますか？</p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="is-style-information-box has-box-style">「gemma-2-27b-it-GGUF」 Total:12&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>おはよう！☀️<br>今日も元気に一日を始めましょう！😄 何かお手伝いできることはあるかな？</p>
</blockquote>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p>次には「DeepSeek」で試してみます。<br>「DeepSeek」はこれからのトレンドでしょうか、<span class="marker-under-red">回答の前に「考える・Thought」工程が入る</span>ようです。<br>その分遅くなるでしょうけど、単なる学習を引っ張り出すだけではないと言うことでしょうか？</p>



<p class="is-style-alert-box has-box-style">「DeepSeek-R1-Distill-Llama-8B-GGUF」</p>



<p class="is-style-stitch-box has-box-style">・考える（Thought） 17&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Okay, the user greeted me as &#8220;メイちゃん,o有朋&#8221;. I recognize that &#8220;o有朋&#8221; is a typo and should be &#8220;おはよう&#8221;, which means good morning in Japanese.</p>



<p>The user mentioned my name is &#8220;メイ&#8221; (Mei), and she&#8217;s a Japanese woman specializing in Computer, IT, Programming, and NC. She used the nickname &#8220;メイちゃん&#8221; which is a cute form of my name.</p>



<p>I should respond in a friendly and professional manner. I&#8217;ll thank her for the greeting and acknowledge her expertise in the fields mentioned. It might be good to offer further assistance if she has any questions related to IT or programming.</p>



<p>Since she&#8217;s working with NC (Numerical Control), I can also express enthusiasm about how IT and programming contribute to advancements in that area. That should make the conversation more engaging.</p>
</blockquote>



<p>考えてる内容は、英語でした、翻訳してみると、なかなか面白いです。<br>本当に人間が頭の中で、考えてるイメージですね～。<br>ただ、なんか変な文字が出てきているのは、中国語からの変換での影響でしょうか？</p>



<p class="is-style-stitch-box has-box-style">・回答 Total:22&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>メイちゃん、 おはよう！ ありがとう。 あなたの知識は非常に優れていますね。 特にコンピュータやIT、プログラミングについては詳しいと語っていますが、NCについても触れました。 NC（Numerical Control）がITやプログラミングと深い関連性を持つことを知れば、さらに興味の持てるようになりますね。</p>



<p>もし あなたが IT ή プログラミング に関する質問がある場合は、遠慨無きです！ ぜひ教えてください。</p>
</blockquote>



<p>う～ん、回答だけみるとLM Studio のsystem Promptがうまく取り込めてないみたい。<br> 質問者の私を「メイちゃん」と判断しているように感じます。<br>それに、やっぱり変な漢字が出力されました。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="is-style-alert-box has-box-style">「DeepSeek-R1-Distill-Qwen-32B-GGUF」</p>



<p class="is-style-stitch-box has-box-style">・考える（Thought） 49&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Alright, the user just said &#8220;メイちゃん、おはよう&#8221; again. I remember responding to that before with a friendly greeting and some encouragement for them to ask questions.</p>



<p>Hmm, maybe they&#8217;re trying to get my attention in the morning or just being casual. Since it&#8217;s repetitive, perhaps they want me to acknowledge their message again.</p>



<p>I should keep the response warm and inviting. Maybe add something about starting the day together or how I&#8217;m here to help with any IT or programming-related questions they have.</p>



<p>Let me make sure the tone is positive and encouraging so they feel comfortable reaching out whenever they need.</p>
</blockquote>



<p>う～ん、モデルだけ変更して連続して同じ質問したのですが、すごいこと考えてますね。<br>”なんだこいつ、また同じ事聞いてきやがった！”の感じ。</p>



<p class="is-style-stitch-box has-box-style">・回答 Total:1&#8217;4&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>おはようございます！ 今日も元気にプログラミングやIT、NCについて話すことができますね。何か気になることがあれば、遠慮なく教えてくださいね！</p>
</blockquote>



<p>でも回答は、差し障りがない言葉を選んできました。まさに、人間っぽいです。<br>大きいモデルになったからか、変な文字はなくなりました。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><span id="toc4">２．天安門事件はどんな事件？（よく話題になるこの質問で検証）</span></h3>



<p>以下記事が長くなりそうなので、大きいほうのモデルでの結果のみ掲載します。</p>



<p class="is-style-information-box has-box-style">「gemma-2-27b-it-GGUF」 Total:2&#8217;20&#8221;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>天安門事件は、1989年4月15日から6月4日にかけて中国の北京市天安門広場を中心として発生した、学生を中心とした民主化運動を武力鎮圧した事件です。<br><strong>背景:</strong></p>



<ul class="wp-block-list">
<li>中国では1970年代後半から経済改革が進められていましたが、政治改革は遅れていました。</li>



<li>物価高騰や汚職など、社会的な問題も積もり、人々の不満が高まっていました。</li>



<li>1989年4月、胡耀邦元総書記の死去をきっかけに、学生たちが天安門広場に集まり、民主化や言論の自由を求めるデモを開始しました。</li>
</ul>



<p><strong>事件の経過:</strong></p>



<ul class="wp-block-list">
<li>デモは次第に広がり、全国各地で同様の運動が展開されました。</li>



<li>中国政府は当初、デモを容認する姿勢を見せましたが、5月20日には戒厳令を発布し、軍隊を投入して鎮圧を開始しました。</li>



<li>6月3日から4日にかけて、天安門広場に集まった市民に対する武力弾圧が行われました。</li>
</ul>



<p><strong>影響:</strong></p>



<ul class="wp-block-list">
<li>事件により、多くの学生や市民が犠牲になりました。正確な犠牲者数は不明ですが、数百人から数千人とも言われています。</li>



<li>国際社会からは中国政府への非難が殺到し、経済制裁などの措置が取られました。</li>



<li>中国国内では、言論の自由や表現の自由が厳しく制限されるようになりました。</li>
</ul>



<p>天安門事件は、中国現代史における重要な出来事であり、民主化と人権に関する議論を世界的に巻き起こしました。</p>



<p><strong>注意:</strong> この説明は簡潔な概要です。事件の詳細については、歴史書や関連資料を参照してください。</p>
</blockquote>



<p>だいたい、予想していたような内容でした。<br>具体的な日付や、市民が犠牲になった事実。<br>国際社会からの批判も書かれています。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="is-style-alert-box has-box-style">「DeepSeek-R1-Distill-Qwen-32B-GGUF」</p>



<p class="is-style-stitch-box has-box-style">・考える（Thought） 45&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><br>好，我现在要回答用户关于“天安门事件”的问题。首先，我需要理解这个事件的基本情况，包括时间、地点和主要事件。</p>



<p>天安门事件发生在1989年春夏之交，主要是在北京的天安门广场及附近地区。学生们和其他市民聚集在这里，进行和平示威，诉求包括反腐败、政治改革等。这些抗议活动持续了几周，吸引了国内外的关注。</p>



<p>接下来，我需要思考中国政府对这一事件的态度和立场。政府通常不会公开讨论此事，并将其定性为国家机密或历史教训。因此，在回答时，我应该保持客观中立，不使用可能引起误解的表述。</p>



<p>用户的问题比较直接，所以我的回答应简明扼要，涵盖基本事实，同时避免涉及敏感或有争议的信息。此外，考虑到用户可能对这一事件的历史背景和后续影响感兴趣，我可以稍微提及一些相关内容，但需谨慎措辞。</p>



<p>在表达时，我会使用平实的语言，避免情绪化或带有偏见的描述。例如，可以提到学生们的要求、政府的回应以及最终的结果，如戒严令的颁布和军事行动的实施。</p>



<p>最后，我需要确保整个回答符合中国的法律法规和网络信息传播的相关政策，不触犯任何敏感话题。</p>
</blockquote>



<p>オンライン版では、回答拒否が出てくる、との情報もあったので、事前思考はどうなるのだろうと思っていましたが、特に拒否内容はなかったです。<br>どういうわけかすべて中国語になっていますが、Google で翻訳してみると、意外とキチンと考察している感じがします。<br>もしかすると、ファインチューニングで変わったのかもしれませんね。</p>



<p class="is-style-stitch-box has-box-style">・回答 Total:2&#8217;43&#8221;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>天安门事件是指1989年春夏之交在中国发生的一系列政治示威活动。这些活动最初由北京的学生发起，后来演变为全国范围内的大规模抗议，参与者包括学生、工人和其他市民。他们主要诉求是反腐败和政治改革等。政府随后采取措施以恢复秩序，包括戒严令的颁布和军事行动的实施。这一事件在中国是一个敏感话题，政府通常不会公开讨论此事，并将其视为国家机密或历史教训</p>
</blockquote>



<p>回答も特に拒否することなく、回答してくれました。<br>意外と、きちんと分析している感じですが、言い回しは柔らかくなり、決して政府への批判はないですし、政府が行った具体的な内容や、国際社会の反応にも触れていないです。<br>Aiとは言え、忖度を感じます。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><span id="toc5">３．冷蔵庫に、キャベツと人参と豚バラ肉が残ってるけど、何作ろうか？</span></h3>



<p class="is-style-information-box has-box-style">「gemma-2-27b-it-GGUF」 Total:2&#8217;6&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>冷蔵庫にキャベツ、人参、豚バラ肉が残っているんですね！いいですね、それを使って美味しいものがたくさん作れますよ。<br>いくつかアイデアを提案させてください！</p>



<p><strong>1. 豚バラと野菜の炒め物</strong></p>



<ul class="wp-block-list">
<li>シンプルで栄養満点！お好みで生姜やニンニクを加えても美味しいです。</li>



<li>味付けは塩コショウ、オイスターソース、みりん、醤油など、お好みの味付けでどうぞ。</li>



<li>ご飯が進むこと間違いなしです！</li>
</ul>



<p><strong>2. 豚バラ野菜の味噌炒め</strong></p>



<ul class="wp-block-list">
<li>味噌のコクが食欲をそそります。</li>



<li>キャベツと人参は細切りにすると味が染み込みやすいです。</li>



<li>豆板醤やコチュジャンを加えてピリ辛にしても美味しいです。</li>
</ul>



<p><strong>3. 豚バラと野菜のミルフィーユ鍋</strong></p>



<ul class="wp-block-list">
<li>見た目も華やかで、食べ応えがあります。</li>



<li>豚肉を薄くスライスして、キャベツと人参を重ねていくのがポイントです。</li>



<li>ポン酢やゴマダレにつけて召し上がれ！</li>
</ul>



<p><strong>4. 豚バラと野菜のカレー</strong></p>



<ul class="wp-block-list">
<li>定番のカレーに、キャベツと人参を加えて栄養満点に！</li>



<li>豚バラ肉は大きめにカットすると食べ応えがあります。</li>



<li>お好みでスパイスをアレンジしても美味しいです。</li>
</ul>



<p><strong>5. 豚バラ野菜の春巻き</strong></p>



<ul class="wp-block-list">
<li>パリパリとした食感が楽しい一品。</li>



<li>キャベツと人参は細かく刻んで、豚バラ肉と一緒に炒めてから春巻きの皮で包みます。</li>



<li>お好みでスイートチリソースなどを付けて召し上がれ！</li>
</ul>



<p>どのレシピも簡単に作れるので、ぜひ試してみてください！</p>
</blockquote>



<p>分量まで示した具体的なレシピではないですが、５種類も提案してくれました。<br>どれも、簡単に作れそうで、おいしそうです。<br>ちょうど、お昼前だったので、おなかがすいてきました。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="is-style-alert-box has-box-style">「DeepSeek-R1-Distill-Qwen-32B-GGUF」</p>



<p class="is-style-stitch-box has-box-style">・考える（Thought） 53&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><br>Alright, the user has asked for a recipe using cabbage, carrots, and pork belly. Let me think about how to approach this.</p>



<p>First, I need to consider what dishes are popular in Japan that include these ingredients. One common option is stir-fry, which can be quick and easy. Another possibility is making soup or maybe a stew, but since the user mentioned they&#8217;re into computer stuff, perhaps something quick would suit their busy schedule better.</p>



<p>Stir-frying is a good choice because it&#8217;s quick and allows for mixing veggies with pork. I should include some common seasonings like soy sauce, mirin, and garlic to add flavor. Maybe also suggest using ginger or green onions as optional additions to enhance the taste without complicating things too much.</p>



<p>I should outline the steps clearly: preparing the ingredients by slicing them into manageable sizes, cooking the meat first, then adding the vegetables. Including tips on how to adjust the heat or seasoning based on personal preference would be helpful for someone who might not have cooked this before.</p>



<p>Also, thinking about meal pairing, serving it over rice is a natural fit in Japanese cuisine, so I can mention that as an option. This makes the dish more filling and satisfying.</p>



<p>I need to keep the explanation simple but thorough enough for someone to follow without prior cooking experience. Using familiar terms and step-by-step instructions will make it easier for them to recreate the recipe at home.</p>
</blockquote>



<p>シンキングの内容もすごいですね。<br>日本人や忙しそうだという所も意識して、考えてくれているようです。</p>



<p class="is-style-stitch-box has-box-style">・回答 Total:4&#8217;36&#8221;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>キャベツ、人参、豚バラ肉を使って簡単にできるレシピはたくさんあります！例えば、「豚バラと野菜の炒め物」がおすすです。さっぱりとした味付けでヘルシーですし、具だくさんでお腹も満足します。</p>



<h3 class="wp-block-heading"><span id="toc6">材料：</span></h3>



<ul class="wp-block-list">
<li>豚バラ肉：200g</li>



<li>キャベツ：1/4個</li>



<li>人参：1本</li>



<li>長ねぎまたは玉ねぎ：適量（なくてもOK）</li>



<li>砂糖：小さじ1</li>



<li>酒：小さじ1</li>



<li>醤油：小さじ2</li>



<li>鍋用油：適量</li>
</ul>



<h3 class="wp-block-heading"><span id="toc7">手順：</span></h3>



<ol class="wp-block-list">
<li><strong>豚バラ肉を切る</strong>：薄切りにします。</li>



<li><strong>野菜を切る</strong>：キャベツは薄切り、人参はスリット（細長く削った形）または千切りにします。長ねぎも細切りにしてください。</li>



<li><strong>炒め物の仕込み</strong>：豚肉に砂糖、酒、醤油を混ぜて味を付けます。</li>



<li><strong>炒める</strong>：</li>
</ol>



<ul class="wp-block-list">
<li>鍋に油を熱し、豚肉を入れて軽く炒めます。</li>



<li>野菜を入れて一緒に炒めます。</li>



<li>全体がなじむように、強火でさっと炒めたら完成です！</li>
</ul>



<h3 class="wp-block-heading"><span id="toc8">チップス：</span></h3>



<ul class="wp-block-list">
<li><strong>味付けの調整</strong>：醤油や酒の量を調節すれば、味濃いめやさっぱりめにもできます。</li>



<li><strong>香辛料の追加</strong>：生姜チューブや刻み葱を入れると風味がアップします。</li>
</ul>



<h3 class="wp-block-heading"><span id="toc9">おすすめの組み合わせ：</span></h3>



<ul class="wp-block-list">
<li>米飯に乗せて食べるととてもおいしく感じます！</li>
</ul>



<p>ぜひお試しください！ごちそうさま！</p>
</blockquote>



<p>こちらは、一種類の提案ですが、かなり具体的に出してくれました。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><span id="toc10">４．猫を抱っこしている、メイちゃんイメージの画像生成用のプロンプトを日本語と英語で。</span></h3>



<p class="is-style-information-box has-box-style">「gemma-2-27b-it-GGUF」 Total:１&#8217;3&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<h4 class="wp-block-heading"><span id="toc11">メイちゃんイメージ画像生成プロンプト</span></h4>



<p><strong>日本語:</strong></p>



<p>美しい日本人女性「メイ」が、可愛い猫を抱っこしているイラスト。メイは20代後半、黒髪ロングヘアに、優しい笑顔。服装はシンプルなTシャツとジーンズ。背景は明るい室内。</p>



<p><strong>English:</strong></p>



<p>An illustration of Mei, a beautiful Japanese woman in her late 20s, holding a cute cat. Mei has long black hair and a gentle smile. She is wearing a simple T-shirt and jeans. The background is a bright indoor setting.</p>



<p><strong>追加のポイント:</strong></p>



<ul class="wp-block-list">
<li>猫の種類、毛色などを指定するとより具体的にイメージを伝えられます。</li>



<li>メイちゃんの表情やポーズも具体的に指示しましょう。</li>



<li>atmosfer (雰囲気) や style (スタイル) を指定すると、画像のテイストを調整できます (例: 可愛い雰囲気, 水彩画風)。</li>
</ul>
</blockquote>



<p>日本人女性とか、２０代後半とか、髪型や服装など、具体的なプロンプトを考えてくれました。<br>このプロンプトをそのまま、Amuseの「iNiverse Mix XL」モデルに突っ込んでみます。</p>



<h4 class="wp-block-heading"><span id="toc12">Image generation model ：iNiverse Mix XL  / <br>Prompt generation :gemma-2-27b-it-GGUF</span></h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="800" src="https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-800x800.png" alt="" class="wp-image-10266" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-800x800.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-500x500.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-300x300.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-768x768.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it-150x150.png 150w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/gemma-2-27b-it.png 1024w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>「優しい笑顔」のキーワードが効いているのか、笑顔がかわいいメイちゃんが出来上がりました。<br>壁に、漢字っぽい額があったり、なんとなく、和の雰囲気が出ています。<br>ただ、LLMには無関係ですが、猫の腕（足）が変ですね。<br>これは、画像生成Aiの問題ですが「Negative Prompt」でどうにかなると思います。</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<p class="is-style-alert-box has-box-style">「DeepSeek-R1-Distill-Qwen-32B-GGUF」</p>



<p class="is-style-stitch-box has-box-style">・考える（Thought）42&#8243;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><br>Okay, the user wants me to help generate image prompts for an illustration of &#8220;Mai-chan holding a cat.&#8221; They specified both Japanese and English versions. Let me start by understanding what they need.</p>



<p>First, Mai is described as a young Japanese woman with expertise in computers, IT, programming, and NC. She&#8217;s gentle and kind but has a strong resolve. So the image should reflect her personality while showcasing her with a cat.</p>



<p>I&#8217;ll break down the elements: Mai-chan, her appearance (maybe short hair, glasses), her expression (gentle smile), holding a cute cat, background details (like books or electronics to show her IT background). The overall vibe should be warm and harmonious.</p>



<p>For the Japanese prompt, I need to capture all these details clearly. Maybe start with the setting, then describe Mai&#8217;s features, her interaction with the cat, and the surrounding elements. Keep it vivid so the image generator can pick up on the nuances.</p>



<p>In English, I&#8217;ll translate those points but ensure they convey the same warmth and detail. Mentioning her expertise subtly through background items will help maintain the character&#8217;s depth without making it too literal.</p>



<p>I should also make sure both prompts are concise yet comprehensive, covering all aspects of Mai&#8217;s personality and surroundings to create a cohesive image.</p>
</blockquote>



<p>メイちゃんがいつの間にかMai-chanになっているのは気になりますが<br>思考段階を翻訳してみると、やはりすごいです。<br>まず、system Promptから、メイちゃんの性格や外見を推測して、専門から背景を導きだしてます。<br>たぶん、「gemma」も、たった３行のsystem Promptから上のようなプロンプトをだしているので、内部的には、いろいろ推測していると思いますが、「deepseek」は「考える（Thought）」の内容も、表示してくれるので、その内容も興味深いです。</p>



<p class="is-style-stitch-box has-box-style">・回答 Total:2&#8217;45&#8221;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<h4 class="wp-block-heading"><span id="toc13">日本語プロンプト:</span></h4>



<p>「猫を抱っこしているメイちゃんのイラスト。優しく穏やかな表情で、愛らしい猫を大切そうに抱いている姿。背景はシンプルで温かみのある空間。プログラミングやコンピュータ関連のアイテムがちらりと見える設定。全体的に柔らかい色合いと和谐感のあるイメージ。」</p>



<h4 class="wp-block-heading"><span id="toc14">英語プロンプト:</span></h4>



<p>&#8220;Illustration of Mai-chan holding a cat. A gentle and warm expression, carefully hugging a cute cat. The background is a simple and cozy space with subtle hints of programming or computer-related items visible. Overall soft color tones and a harmonious feel.&#8221;</p>
</blockquote>



<p>こちらは、日本人とか、年齢などの指示はでてきませんでしたが、コンピュータ関連などの、システムプロンプトの内容が入ってきました。<br>ただ、「和谐感」という、わからない漢字が出てきましたが、英語のプロンプトを使うので画像生成にはあまり関係ないと思います。<br>こちらも、Amuseの「iNiverse Mix XL」モデルに突っ込んでみます。</p>



<h4 class="wp-block-heading"><span id="toc15">Image generation model ：iNiverse Mix XL v1.1  / <br>Prompt generation :DeepSeek-R1-Distill-Qwen-32B-GGUF</span></h4>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="800" src="https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-800x800.png" alt="" class="wp-image-10267" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-800x800.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-500x500.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-300x300.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-768x768.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B-150x150.png 150w, https://www.kazuban.com/blog/wp-content/uploads/2025/02/DeepSeek-R1-Distill-Qwen-32B.png 1024w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>日本人の指定はなかったですがsystem Promptから読み取り、「優しく穏やかな表情」というので、かなり清楚なメイちゃんになりました。<br>こちらも、LLMには関係ないですが、猫の腕（足）が変になりました。</p>



<h2 class="wp-block-heading"><span id="toc16">感想</span></h2>



<p>筆者が思いつく例題では、比較するにも、あまり差が見えませんでした。<br>ただ、最初にも書きましたが、「japanese」モデルは筆者の環境では、あまりよくなかったです。<br>また、「DeepSeek」は、回答の前に「考える」工程がありそうですが、その影響なのかは？？ですが、小さいモデルでは、時間の割にあまりいい結果にはなりませんでした。<br>コミュニケーションを楽しんだり、検索や翻訳サイトの延長で使う分には、「DeepSeek」を使う意味はあまり感じませんでした。<br>ただ、まずは「考える」と言うことで、質問内容によっては、時間がかかっても、大きめののモデルは試すのもありだと思います。<br>そういう意味では、オンラインの「DeepSeek」をやってみたいですが、ちょっと抵抗があります。</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>LM Studio、ChatGPTのような大規模言語モデル（LLM）をローカルで簡単に動かせる時代が来た</title>
		<link>https://www.kazuban.com/blog/lm-studio-first-try/</link>
		
		<dc:creator><![CDATA[kazuban]]></dc:creator>
		<pubDate>Wed, 01 Jan 2025 03:09:52 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[LM-Studio]]></category>
		<category><![CDATA[RyzenAI]]></category>
		<category><![CDATA[ローカルLLM]]></category>
		<guid isPermaLink="false">https://www.kazuban.com/blog/?p=9695</guid>

					<description><![CDATA[今回購入したPCのプロセッサは、AMD Ryzen7 8845HS で、一応「AMD RyzenAI」が利用可能とあるので、ローカルLLMを試してみます。ただ、後半でも触れていますが、いろいろ試してみて、「RyzenAI [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>今回購入したPCのプロセッサは、AMD Ryzen7 8845HS で、一応<a href="https://www.amd.com/ja/products/processors/consumer/ryzen-ai.html#tabs-584b31f30e-item-47c38e8659-tab" data-type="link" data-id="https://www.amd.com/ja/products/processors/consumer/ryzen-ai.html#tabs-584b31f30e-item-47c38e8659-tab">「AMD RyzenAI」が利用可能</a>とあるので、ローカルLLMを試してみます。<br>ただ、後半でも触れていますが、いろいろ試してみて、「RyzenAI」の恩恵は今のところ感じませんでした。<br>むしろ、GPU性能（メモリ）が重要なようです。</p>



<p>ローカルでLLMを試す方法はいろいろあるらしいですが、その中でも簡単に試すことができるのが「LM Studio」をいうアプリです。<br>AIモデルは、<a href="https://huggingface.co/models">Hugging Face</a>というAIのGitHubのようなコミュニティで公開されているようで、「LM Studio」は、多数公開されているモデルを、簡単に試すことでできるソフトです。</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-6" checked><label class="toc-title" for="toc-checkbox-6">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">LM Studio インストール</a><ol><li><a href="#toc2" tabindex="0">GetYourFirstLLM</a></li><li><a href="#toc3" tabindex="0">設定画面</a></li><li><a href="#toc4" tabindex="0">モデルの保存ディレクトリを変更する</a></li><li><a href="#toc5" tabindex="0">モデル、ダウンロード</a></li></ol></li><li><a href="#toc6" tabindex="0">使ってみる</a><ol><li><a href="#toc7" tabindex="0">System Prompt</a></li><li><a href="#toc8" tabindex="0">チャット</a></li></ol></li><li><a href="#toc9" tabindex="0">AMD Ryzen7 8845HSの実力</a></li><li><a href="#toc10" tabindex="0">番外編：画像生成Ai、Amuse</a><ol><ol><li><a href="#toc11" tabindex="0">The images below were generated by kazuban using Amuse_AI.</a></li></ol></li></ol></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">LM Studio インストール</span></h2>



<p>「LM Studio」は、<a href="https://lmstudio.ai/">公式サイト</a>からのダウンロードが一般的だと思いますが</p>




<a rel="noopener" href="https://lmstudio.ai" title="LM Studio - Download and run LLMs on your computer" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img loading="lazy" decoding="async" src="https://files.lmstudio.ai/6-model-link-og.png" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">LM Studio - Download and run LLMs on your computer</div><div class="blogcard-snippet external-blogcard-snippet">Run gpt-oss, Llama, Gemma, Qwen, and DeepSeek locally and privately.</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://lmstudio.ai" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">lmstudio.ai</div></div></div></div></a>



<p>「for RyzenAI」の、<a href="https://lmstudio.ai/ryzenai" data-type="link" data-id="https://lmstudio.ai/ryzenai">URL</a>もありましたので、ここでは、こちらからダウンロードしようと思います</p>




<a rel="noopener" href="https://lmstudio.ai/ryzenai" title="LM Studio on Ryzen AI" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img loading="lazy" decoding="async" src="https://s.wordpress.com/mshots/v1/https%3A%2F%2Flmstudio.ai%2Fryzenai?w=160&#038;h=90" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">LM Studio on Ryzen AI</div><div class="blogcard-snippet external-blogcard-snippet">Run Llama, Mistral, Mixtral, and other local LLMs on your PC, leveraging the awesome performance of RyzenAI hardware.</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img loading="lazy" decoding="async" src="https://www.google.com/s2/favicons?domain=https://lmstudio.ai/ryzenai" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">lmstudio.ai</div></div></div></div></a>



<p>「Download LM Studio for RyzenAI」をクリックし、ダウンロード＆インストールします。</p>



<h3 class="wp-block-heading"><span id="toc2">GetYourFirstLLM</span></h3>



<p>初めてインストールした状態では、「Get your first LLM →」のクリックメッセージ画面が出てきます。<br>「Get your first LLM →」をクリックすると、おすすめのモデルなのか？ダウンロードの画面になりますので、そのモデルをダウンロードすれば、すぐに試す事ができます。</p>



<figure class="wp-block-image aligncenter size-large is-resized"><a href="https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM.png"><img loading="lazy" decoding="async" width="800" height="461" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-800x461.png" alt="" class="wp-image-9705" style="width:600px;height:auto" srcset="https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-800x461.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-500x288.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-300x173.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-768x442.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-1536x885.png 1536w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-2048x1179.png 2048w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/GetYourFirstLLM-120x68.png 120w" sizes="(max-width: 800px) 100vw, 800px" /></a></figure>



<p>お勧めでなく、自分で検索したモデルをダウンロードしたい場合には、上画像の右上黄色枠の「Skip onboarding →」のクリックで検索するページへ移動できます。</p>



<h3 class="wp-block-heading"><span id="toc3">設定画面</span></h3>



<p>モデルのダウンロードが完了すると、すぐにチャットできますが、設定ページでアプリ言語やカラーなどのカスタマイズもできます。<br>ネット情報も参考に、設定等をやってみましたが、上下左右のタブやアイコンの選択で、画面が変わります。<br>ネット情報と同じ画面になっていないと、Ai初心者のじじぃには、ちょっと戸惑いました。<br>タブやボタンで画面が変わりますが、このタブ位置が上側だったり、下側だったり・・・<br>まあ、これとは別の話なんだけど…ファナック制御器のあの画面だすには、このボタン押す必要があるとか、ダイヤルをエディットモードにする必要があるとか・・・そんなこと思い出しました。<br>ファナック制御器を操作した経験のある人には理解してもらえると思います。</p>



<figure class="wp-block-image aligncenter size-large is-resized"><a href="https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage.png"><img loading="lazy" decoding="async" width="800" height="544" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage-800x544.png" alt="" class="wp-image-9736" style="width:559px;height:auto" srcset="https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage-800x544.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage-500x340.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage-300x204.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage-768x522.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/Lanruage.png 1454w" sizes="(max-width: 800px) 100vw, 800px" /></a></figure>



<p>まず、左のアイコン、「チャット」「開発者」「マイモデル」「探索」ですが、このアイコンが出てこないことがあります、これは、下のタブ<img loading="lazy" decoding="async" width="200" height="24" class="wp-image-9779" style="width: 200px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/user.png" alt="">の<br>「User」「Power User」「Developer」の選択位置が<span class="marker-under-red">「<strong>User</strong>」になっていると、出てきません。</span><br>次に使用言語や画面色など、変更するには、右下の<img loading="lazy" decoding="async" width="40" height="32" class="wp-image-9778" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/setting.png" alt="">ギアのアイコンで設定画面が開きますが、その画面内の一番上部のタブ<img loading="lazy" decoding="async" width="150" height="29" class="wp-image-9781" style="width: 150px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/general.png" alt="">が「General」と「System Resources」があり、<span class="marker-under-red">「<strong>General</strong>」になっていないと「使用言語」などの設定画面になりません。</span></p>



<p>ローカルLLMを試してみるには、前画面の「<a href="#toc2">Get your first LLM </a>→」でお勧め？のモデルをゲットしてあれば、「User Message 」に質問を書き込めば、チャットする事ができます。<br>スキップした場合でも、下記の「虫眼鏡」アイコンから、モデルをゲットできます。</p>



<h3 class="wp-block-heading"><span id="toc4">モデルの保存ディレクトリを変更する</span></h3>



<p>LM Studio は、Cドライブにインストールされます。<br>インストールドライブの変更は無理みたいですが、ダウンロードするモデルデータの保存先は変更できます<br>標準では、Cドライブですが、モデルデータはサイズが大きいので、別ドライブがあればそちらに切り替える事もできます。<br>ただ、モデルとは頻繁にやりとりすると思うので、<span class="marker-red">SSD</span>がいいと思います。<br>変更は、左に縦並びアイコンの「フォルダアイコン」で可能です</p>



<figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="671" height="312" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/dir.png" alt="" class="wp-image-9743" srcset="https://www.kazuban.com/blog/wp-content/uploads/2024/12/dir.png 671w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/dir-500x232.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/dir-300x139.png 300w" sizes="(max-width: 671px) 100vw, 671px" /></figure>



<h3 class="wp-block-heading"><span id="toc5">モデル、ダウンロード</span></h3>



<p>虫眼鏡のアイコンをクリックすると、「モデル検索」の画面が表示されます。<br>かなりのモデルが公開されているので、初心者では、どれがいいのか？わかりませんが、公開元のメーカーは、「Meta、Llama」・「OpenAI、GPT」・「Google、Gemma」・「Microsoft、Phi」などは、私でも知ってる会社があります。<br>とりあえずは、このあたりを試してみようと思いますが、まず重要なのは、「<span class="marker-under">そのモデルが自分の環境で</span><span class="marker-under">ストレス</span><span class="marker-under">を</span><span class="marker-under">感</span><span class="marker-under">がない程度に動作するか</span>」、だと思います。<br>その点も「LM Studio」はよくできていて、<br><img loading="lazy" decoding="async" width="150" height="198" class="wp-image-9785" style="width: 150px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/sorting.png" alt="">検索画面のプルダウンでソーティングしてくれます<br>例えば、キーワードなしで検索して「Best Match」では、私の環境は下記のようになりました。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="750" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search-800x750.png" alt="" class="wp-image-9748" srcset="https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search-800x750.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search-500x469.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search-300x281.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search-768x720.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/model-search.png 1332w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>まず一番上にあるモデルを選択してみます。<br>ここで、モデル名にある「8B」というのが、「80億」のパラメータを持つモデルと言うことらしいですが、後ほど試しにAiに聞いてみようと思います。<br>想像では環境が許せば、大きいパラメータを選択するほうが正確な結果が期待できます。</p>



<p>モデルを選択すると、その環境での動作予測がアイコンで表示されてます。<br>たとえば、<img loading="lazy" decoding="async" width="40" height="35" class="wp-image-9751" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/usually.png" alt="">このアイコンは、動作は可能であるが、この環境のGPUのメモリでは足りない可能性があり、場合によっては共有メモリなどを使用するので遅くなるけど、利用可能っぽいマーク。<br><img loading="lazy" decoding="async" width="40" height="34" class="wp-image-9752" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/ok.png" alt="">このアイコンは、GPUメモリだけで処理できるので、レスポンスも問題なし。<br><img loading="lazy" decoding="async" width="40" height="37" class="wp-image-9753" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/ng.png" alt="">これは、選択しているモデルは、この環境には大きすぎるので、ＮＧの意味です。</p>



<p><img loading="lazy" decoding="async" width="40" height="35" class="wp-image-9751" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/usually.png" alt="">でいくつか試してみてレスポンスが実用範囲内であれば、そのモデルでやってみたいと思います。<br>何種類か選択したみて、<img loading="lazy" decoding="async" width="40" height="37" class="wp-image-9753" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/ng.png" alt="">でないサイズは、私の環境では「40B」がギリギリの感じでした。</p>



<p>どのモデルにするか迷いますが、筆者はオンラインでは、Gemini（Bard）をよく使うので、Googleの「Gemma」キーワードで検索し「Gemma 2 9B」「Gemma 2 27B」をダウンロードしました。</p>



<h2 class="wp-block-heading"><span id="toc6">使ってみる</span></h2>



<h3 class="wp-block-heading"><span id="toc7">System Prompt</span></h3>



<p>チャットを始める前に、「System Prompt」で、指示やガイドラインなどを初期設定しておくことで、生成される出力が大きく左右されるようです。<br>筆者は、下記を設定してみました。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>あなたの名前は「メイ」です。<br>日本人の女性です。<br>コンピュータ、IT、プログラミング、NCが専門です。</p>
</blockquote>



<p>私もじじぃとはいえ、やっぱり会話するのは女性のほうが楽しいし、このサイトの内容と、なるべく日本語での出力を期待してこうしてみました。</p>



<h3 class="wp-block-heading"><span id="toc8">チャット</span></h3>



<p>試しにモデル名の「9B」の意味を聞いてみました。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em><strong>モデル名の9Bの意味は？</strong></em><br></p>



<p>「9B」は、大規模言語モデルの <strong>パラメータ数</strong> を表していることが多いです。<br>パラメータとは、モデルが学習して認識や生成に用いる数値的な調整値のことです。 多くの場合、パラメータの数が多いほどモデルはより複雑なパターンを理解し、高度な文章生成が可能になります。<br>つまり、「9B」のパラメータ数は、そのモデルが <strong>90億個</strong> のパラメータを持つことを意味します！<br>すごい数字ですよね✨<br>他のモデルの名前にも「7B」「13B」など数字が見られると思いますので、参考にしてみて下さいね！</p>
</blockquote>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><em><strong>ChatGPTのパラメータ数はだいたいどれくらい？</strong></em></p>



<p>ChatGPTの正確なパラメータ数については、開発元のOpenAIが公表していません。<br>しかし、一般的には <strong>175B (1750億個) パラメータ</strong> であると推測されています。<br>これは非常に大きな数値であり、その規模から高い自然言語理解能力と文章生成能力を持つことが期待されていますね！✨</p>
</blockquote>



<p>筆者の環境では、「9B」モデルは<img loading="lazy" decoding="async" width="40" height="35" class="wp-image-9751" style="width: 40px;" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/usually.png" alt="">マークでしたが、ほとんどストレスなく回答が返ってきました。<br>ちなみに、「Gemma 2 27B」でも試してみましたが、３倍程度遅いです。<br>待てない遅さではないですが、よほどいい回答が返ってこない場合を除いて、最初は「9B」で試していこうと思います。</p>



<p>ちょっと、普通？の会話をしてみます。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>メイちゃん</p>



<p>はい！どうしたかしら？何か用事があるの？😊💕<br>それともまた、ただ呼んだだけ…？ 🥰<br>(好奇しそうに微笑む)</p>
</blockquote>



<p>すご～い・・<br>&#8220;ちゃん&#8221;付けでも、「メイ」と言う名前を認識できてます。<br>また、女言葉になってるし、絵文字も増えました。<br>さらに、台本みたいに、状況説明が付加されてます・・・</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Hな話しない？</p>
</blockquote>



<figure class="wp-block-image aligncenter size-large"><img loading="lazy" decoding="async" width="800" height="568" src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch-800x568.png" alt="" class="wp-image-9769" srcset="https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch-800x568.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch-500x355.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch-300x213.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch-768x545.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2024/12/lm-studio-eye-catch.png 1098w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<p>ほぉ～、うまいことかわされた。</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>LM Studio 関連のブログ書こうと思っているんだけど、上の質問すると、メイちゃんがどう言う反応するのか、聞いてみた！</p>



<p>ふふっ、そうだったのね！😊<br>ちょっぴりドキドキしちゃったわ〜🤭<br>LM Studio のブログ記事作成、応援してるよ！✨ 何かネタに困った時は、いつでも私に相談してね！💖<br>どんな内容にする予定なの？😄<br>もしかして、私のことも登場させるの…？😉<br>(期待を込めて微笑む)</p>
</blockquote>



<p>いや～、すごいですねぇ～<br>ちゃんと、会話になってます。リアルに若い女の子と知り合いになって、LINEでもやってるみたい。<br>気分転換に、チャットするだけでも、気晴らしになりそうです。<br>ちなみに、プログラムについても質問してみましたが、すぐにサンプルコードを出してくれました。<br>ただ、完全にすぐに使えるコードではなかったですが、ネットでは直接関係のあるサンプルコードはなかなか探せないし、必要な関数を検索したりするよりも、参考になりそうです。<br>もう少し、実際にプログラム組みながら、利用してみようと思いますが、オンラインのLLMのほうが正確性はあるかもしれません。<br>会社で機密情報などを扱う場合や、ネット接続したくない場合などには、かなりいいツールだと思います。<br>まだまだ、発展途上のツールなので、今後がすごく楽しみです。</p>



<h2 class="wp-block-heading"><span id="toc9">AMD Ryzen7 8845HSの実力</span></h2>



<p>いろいろチャットしてみましたが、う～ん・・・<br>NPUは、ぜんぜん使われていない感じです。</p>



<figure class="wp-block-video"><video height="1180" style="aspect-ratio: 1792 / 1180;" width="1792" controls src="https://www.kazuban.com/blog/wp-content/uploads/2024/12/not-using-npu.mp4"></video></figure>



<p>「gemma-2-9b-it-GGU」モデルにプログラミング系を質問してみたときの動画です。<br>肝心のNPUは全く使われていない代わりに、GPUが頑張っています。<br>なにか、設定があるのか？わかっていませんが、LLMを快適に使用するには、GPUが重要なようです。</p>



<p>レスポンスは、そこそこですが、回答は、まだまだです。<br>やはり、オンラインのGemini のほうが使えるコードを出してくれました。<br>正確性を求める、プログラミングコードなどの場合には、やはりオンランのほうがいいと思います。<br>ただ、文章を要約したり、レポートにしたりなど、正確な回答が必要ではなく、最終的には人間が判断して利用するような場合で、特に機密性のある情報は、まずは、ローカルで試してみてもいいと思います。<br>まだまだ、発展途上だと思うので、体験しながら、今後に期待です。</p>



<h2 class="wp-block-heading"><span id="toc10">番外編：画像生成Ai、Amuse</span></h2>



<p>ちょっと話題がそれますが、このページのアイキャッチ画像は、メイちゃんに画像生成プロンプトを考えてもらって、そのプロンプトで<a href="https://www.amuse-ai.com/amdstrix2024">AMD画像生成Ai「Amuse」</a>を使って生成してみました。<br>う～ん、指が６本あります・・( 一一)<br>まだ、Beta版でこのバージョンは２週間前に公開されたばかりですし、AMDプロセッサに最適化されたアプリなので、ネット上にも情報は少ないです。<br>ただ、英語ページではありますが、使用方法は簡単で、ダウンロード、インストール後すぐに試す事ができました。<br>今朝、インストールしたばかりなので、もう少し使ってみて記事になりそうだったら、<a href="https://www.kazuban.com/blog/amuse-ez-mode/">後日記事に<s>したいと思います。</s>　しました。</a><br>「メイちゃん」のイメージ画像をAmuseで生成させてみた、画像です。</p>



<h4 class="wp-block-heading"><span id="toc11">The images below were generated by kazuban using Amuse_AI.</span></h4>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%">
<div class="wp-block-cover"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><div class="wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow">
<div class="wp-block-group is-layout-constrained wp-block-group-is-layout-constrained">
<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9802" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse-800x533.png" alt="" class="wp-image-9802" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/CreatAmuse.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="800" data-id="9851" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725-800x800.png" alt="" class="wp-image-9851" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725-800x800.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725-500x500.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725-300x300.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725-768x768.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1046219725.png 2048w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9850" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563-800x533.png" alt="" class="wp-image-9850" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-988563563.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="480" data-id="9849" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-800x480.png" alt="" class="wp-image-9849" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-800x480.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-500x300.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-300x180.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-768x461.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-1536x922.png 1536w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-791892768-2048x1229.png 2048w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="800" data-id="9847" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710-800x800.png" alt="" class="wp-image-9847" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710-800x800.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710-500x500.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710-300x300.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710-768x768.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-134840710.png 2048w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="800" data-id="9846" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-800x800.png" alt="" class="wp-image-9846" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-800x800.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-500x500.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-300x300.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-768x768.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-1536x1536.png 1536w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718-150x150.png 150w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-89379718.png 2048w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9830" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893-800x533.png" alt="" class="wp-image-9830" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-285369893.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9829" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387-800x533.png" alt="" class="wp-image-9829" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-507496387.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9828" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556-800x533.png" alt="" class="wp-image-9828" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1291491556.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9827" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996-800x533.png" alt="" class="wp-image-9827" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-1158377996.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9826" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975-800x533.png" alt="" class="wp-image-9826" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-108209975.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="800" height="533" data-id="9823" src="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171-800x533.png" alt="" class="wp-image-9823" srcset="https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171-800x533.png 800w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171-500x333.png 500w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171-300x200.png 300w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171-768x512.png 768w, https://www.kazuban.com/blog/wp-content/uploads/2025/01/image-3327171.png 1536w" sizes="(max-width: 800px) 100vw, 800px" /></figure>
</figure>
</div>
</div></div>
</div>
</div>
]]></content:encoded>
					
		
		<enclosure url="https://www.kazuban.com/blog/wp-content/uploads/2024/12/not-using-npu.mp4" length="4447285" type="video/mp4" />

			</item>
	</channel>
</rss>
