<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Clip on Debimate</title><link>https://debimate.jp/tags/clip/</link><description>Recent content in Clip on Debimate</description><image><title>Debimate</title><url>https://debimate.jp/images/default-ogp.webp</url><link>https://debimate.jp/images/default-ogp.webp</link></image><generator>Hugo -- 0.166.0</generator><language>ja-JP</language><lastBuildDate>Wed, 11 Nov 2026 19:03:32 +0900</lastBuildDate><atom:link href="https://debimate.jp/tags/clip/index.xml" rel="self" type="application/rss+xml"/><item><title>CLIP Token Limit - 長いプロンプトの区切りと、効いている語の探し方</title><link>https://debimate.jp/notes/generative-ai/clip-token-limit/</link><pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/generative-ai/clip-token-limit/</guid><description>&lt;p&gt;Stable Diffusion 系の画像生成では、text encoder と呼ぶ部品がプロンプト（描きたい絵の内容を語で並べた文面）を数値に変え、その数値を手がかりに絵を作ります。&lt;/p&gt;
&lt;p&gt;text encoder には &lt;a href="https://arxiv.org/abs/2103.00020"&gt;CLIP&lt;/a&gt;（画像と文章を同じベクトルの空間に対応付けるよう学習したモデル）の文章側が使われていて、一度に 77 トークン（語や語の断片。分け方は &lt;a href="https://debimate.jp/notes/generative-ai/tokenizer/"&gt;Tokenizer のノート&lt;/a&gt;を参照）までしか読めません。&lt;/p&gt;</description></item><item><title>Attribute Binding - 色などの属性が別の物に移る問題</title><link>https://debimate.jp/notes/generative-ai/attribute-binding/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/generative-ai/attribute-binding/</guid><description>&lt;p&gt;Attribute Binding（属性の束縛）は、画像生成のプロンプトに書いた色や素材などの属性が、その語の修飾する対象に正しく付くことです。例えば &lt;code&gt;black hair, aqua eyes&lt;/code&gt; と書いたら、青緑（aqua）は目に付き、髪は黒のままであってほしいわけです。&lt;/p&gt;</description></item><item><title>Prompt Weighting - 語の重みと打ち消しが画像を崩す仕組み</title><link>https://debimate.jp/notes/generative-ai/prompt-weighting/</link><pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate><guid>https://debimate.jp/notes/generative-ai/prompt-weighting/</guid><description>&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;masterpiece, best quality, no humans, still life, (blue ceramic teapot:1.4), lemons, glass bottle
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;上記は、画像生成のプロンプト（描きたい絵の内容を語で並べた文面）の 1 行です。&lt;code&gt;(blue ceramic teapot:1.4)&lt;/code&gt; の括弧と数字が Prompt Weighting（プロンプトの重み付け）の書式で、括弧で囲んだ語の効き具合を 1.4 倍に強める、という意味で書きます。描きたくないものを並べる打ち消し（ネガティブプロンプト）にも、同じ書式で重みを付けられます。&lt;/p&gt;</description></item></channel></rss>