<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gemma on Umi4Life's Blog</title><link>https://umi4.life/th/tags/gemma/</link><description>Recent content from Umi4Life's Blog</description><generator>Hugo</generator><language>th-th</language><managingEditor>zekamashi@umi4.life (Umi4Life / Zekamashi)</managingEditor><webMaster>zekamashi@umi4.life (Umi4Life / Zekamashi)</webMaster><copyright>บทความทั้งหมดในบล็อกนี้อยู่ภายใต้สัญญาอนุญาต BY-NC-SA เว้นแต่จะระบุไว้เป็นอย่างอื่น กรุณาระบุแหล่งที่มาเมื่อนำไปเผยแพร่ซ้ำ!</copyright><lastBuildDate>Fri, 05 Jun 2026 17:28:00 +0700</lastBuildDate><atom:link href="https://umi4.life/th/tags/gemma/index.xml" rel="self" type="application/rss+xml"/><item><title>ลดการเรียก GPT Vision ด้วย Gemma Router แบบ Fail-Closed</title><link>https://umi4.life/th/posts/gemma-vision-router/</link><pubDate>Fri, 05 Jun 2026 17:28:00 +0700</pubDate><author>zekamashi@umi4.life (Umi4Life / Zekamashi)</author><guid>https://umi4.life/th/posts/gemma-vision-router/</guid><description>
<![CDATA[<h1>ลดการเรียก GPT Vision ด้วย Gemma Router แบบ Fail-Closed</h1><p>ผู้เขียน: Umi4Life / Zekamashi(zekamashi@umi4.life)</p>
        
          <blockquote>
<p>local multimodal model จะช่วยลดการใช้ GPT/Codex vision ได้ไหม โดยไม่ทำให้ assistant ไม่น่าเชื่อถือ?</p>
</blockquote>
<h2 id="สรป">
<a class="header-anchor" href="#%e0%b8%aa%e0%b8%a3%e0%b8%9b"></a>
สรุป
</h2><p>ผมทดลองว่า local Gemma multimodal model ที่ serve ผ่าน LiteLLM จะทำหน้าที่เป็น image interpretation helper รอบแรกให้ Hermes/Sky Feather ได้แค่ไหน</p>
<p>เป้าหมายไม่ใช่การแทนที่ GPT-5.5/Codex vision ทั้งหมด แต่เป็นคำถามที่ใช้งานจริงมากกว่า:</p>
<blockquote>
<p>ให้ Gemma จัดการคำอธิบายรูปภาพทั่วไปได้ไหม แล้วค่อย escalate รูปที่ไม่มั่นใจ มี text เยอะ หรือมีความเสี่ยงกลับไปหา GPT?</p>
</blockquote>
<p>คำตอบคือ: <strong>ได้ แต่ต้องมี router ที่ conservative และ fail closed เท่านั้น</strong></p>
<p>ใน benchmark 20 รูปแบบ clean run:</p>
<div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">GPT-only baseline:     20 GPT/Codex vision calls
</span></span><span class="line"><span class="cl">Gemma-first router:   20 Gemma calls + 12 GPT/Codex escalations
</span></span><span class="line"><span class="cl">GPT calls avoided:     8 / 20 = 40%
</span></span><span class="line"><span class="cl">Gemma empty outputs:   5 / 20 = 25%
</span></span></code></pre></div><p>Gemma มีประโยชน์สำหรับ visual triage ที่ความเสี่ยงต่ำ แต่ก็มีหลายเคสที่ output ที่มองเห็นได้ว่างเปล่า นั่นทำให้มันไม่ปลอดภัยพอจะเป็น vision backend เดี่ยว ๆ</p>
        
        <hr><p>เผยแพร่เมื่อ 2026-06-05 ที่ <a href='https://umi4.life/'>Umi4Life's Blog</a> แก้ไขล่าสุดเมื่อ 2026-06-05</p>]]></description><category>automation</category><category>ai</category><category>homelab</category></item></channel></rss>