<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ZoneTwelve Dev]]></title><description><![CDATA[ZoneTwelve Dev]]></description><link>https://blog.z12.tw</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 08:37:15 GMT</lastBuildDate><atom:link href="https://blog.z12.tw/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Moshi: 開源版 GPT-4 級語音 AI 問世 - ALM]]></title><description><![CDATA[在 2024年9月
@kyutai_labs 在 Huggingface 以及 GitHub 上釋出了即時語音對話模型，該模型是個 7B 模型，如果你有張 RTX 3090 24GB 或者與之大小相符的顯卡就可以跑這顆 Model 了，再來就可能要選擇量化模型了。


相信大家可能或多或少都有看到這篇在 Ｘ 上的貼文，這是一個來自法國的初創團隊 Kyutai，在七月初發佈對標 GPT-4o 的神奇模型。經歷兩個多月的時間，他們也對兌現自己的承諾，不僅把模型開源，甚至程式碼也開源了！
論文: ht...]]></description><link>https://blog.z12.tw/moshi-alm-open-source-gpt4</link><guid isPermaLink="true">https://blog.z12.tw/moshi-alm-open-source-gpt4</guid><category><![CDATA[AudioLanguageModel]]></category><category><![CDATA[GPT 4]]></category><category><![CDATA[alm]]></category><category><![CDATA[llm]]></category><category><![CDATA[Open Source]]></category><category><![CDATA[huggingface]]></category><category><![CDATA[pytorch]]></category><category><![CDATA[MLX]]></category><category><![CDATA[candle]]></category><dc:creator><![CDATA[ZoneTwelve]]></dc:creator><pubDate>Wed, 25 Sep 2024 02:48:58 GMT</pubDate><content:encoded><![CDATA[<p>在 2024年9月</p>
<p><a target="_blank" href="https://x.com/kyutai_labs">@kyutai_labs</a> 在 Huggingface 以及 GitHub 上釋出了即時語音對話模型，該模型是個 7B 模型，如果你有張 RTX 3090 24GB 或者與之大小相符的顯卡就可以跑這顆 Model 了，再來就可能要選擇量化模型了。</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727230477705/73756cb6-6a79-4789-9dbe-a8d054db0f87.png" alt class="image--center mx-auto" /></p>
<hr />
<p>相信大家可能或多或少都有看到這篇在 Ｘ 上的貼文，這是一個來自法國的初創團隊 Kyutai，在七月初發佈對標 GPT-4o 的神奇模型。經歷兩個多月的時間，他們也對兌現自己的承諾，不僅把模型開源，甚至程式碼也開源了！</p>
<p><strong>論文:</strong> <a target="_blank" href="https://kyutai.org/Moshi.pdf">https://kyutai.org/Moshi.pdf</a><br /><strong>開源程式碼:</strong> <a target="_blank" href="https://github.com/kyutai-labs/moshi">https://github.com/kyutai-labs/moshi</a><br /><strong>開源模型:</strong> <a target="_blank" href="https://huggingface.co/collections/kyutai/moshi-v01-release-66eaeaf3302bef6bd9ad7acd">https://huggingface.co/collections/kyutai/moshi-…</a><br /><strong>線上體驗:</strong> <a target="_blank" href="http://moshi.chat">moshi.chat</a></p>
<p>大家可以去官網體驗看看 (<a target="_blank" href="http://moshi.chat">moshi.chat</a>)，能夠在落地的環境採用這些像人一般的模型，還是很奇妙的。</p>
<p>甚至我心目中的 AI 英雄 Andrej Karpathy 也在 X 上給出了讚賞</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727231925969/a66edd00-454c-4362-84f7-a61d7ac1a0d4.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-5oqa6kgt57sw56a">技術細節</h2>
<ul>
<li><p>模型參數量: 7.69B</p>
</li>
<li><p>支援平台: PyTorch、Candle、MLX</p>
</li>
<li><p>語音輸入處理: Mimi; a neural audio codec (paper:3)</p>
</li>
<li><p>ALM 架構: 結合 Helium 和較小的 Transformer 模型</p>
</li>
</ul>
<p>模型的參數量約為 7.96B，模型支援以下三種平台 PyTorch、MLX(An array framework for Apple silicon) 以及 Candle (Minimalist ML framework for Rust)，如果你想執行 Quantized 的模型，則 Candle 提供了 8bit 的版本，MLX 則還有 4bit 的可以使用。</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727231364811/3886104a-ba4c-427a-9243-b61da0496cbd.png" alt class="image--center mx-auto" /></p>
<h2 id="heading-python-mlx-for-local-inference-on-macos">Python (MLX) for local inference on macOS</h2>
<h3 id="heading-installation">Installation</h3>
<p>假如你想在自己電腦上執行 moshi，以下是 Mac 的快速安裝。</p>
<p>你至少需要 Python 3.10，建議使用 3.12。有關具體需求，請查看個別狀況而定。<br />你可以使用下列方式安裝 PyTorch 和 MLX 用戶端：</p>
<pre><code class="lang-bash">pip install moshi      <span class="hljs-comment"># moshi PyTorch, from PyPI</span>
pip install moshi_mlx  <span class="hljs-comment"># moshi MLX, from PyPI, best with Python 3.12.</span>
<span class="hljs-comment"># Or the bleeding edge versions for Moshi and Moshi-MLX.</span>
pip install -e <span class="hljs-string">"git+https://git@github.com/kyutai-labs/moshi.git#egg=moshi&amp;subdirectory=moshi"</span>
pip install -e <span class="hljs-string">"git+https://git@github.com/kyutai-labs/moshi.git#egg=moshi_mlx&amp;subdirectory=moshi_mlx"</span>

pip install rustymimi  <span class="hljs-comment"># mimi, rust implementation with Python bindings from PyPI</span>
</code></pre>
<h3 id="heading-local-inference">local inference</h3>
<pre><code class="lang-bash">python -m moshi_mlx.local -q 4   <span class="hljs-comment"># 執行 4bit 模型;weights quantized to 4 bits</span>
python -m moshi_mlx.local -q 8   <span class="hljs-comment"># 執行 8bit 模型;weights quantized to 8 bits</span>
<span class="hljs-comment"># 使用其他不同的預訓練模型:</span>
python -m moshi_mlx.local -q 4 --hf-repo kyutai/moshika-mlx-q4
python -m moshi_mlx.local -q 8 --hf-repo kyutai/moshika-mlx-q8
<span class="hljs-comment"># 請注意要配合使用 "-q" 以及 "--hf-repo"</span>
</code></pre>
<p>如果想了解 Moshi 更細緻的技術細節，可以透過下方訂閱我的 News letter 即時追蹤 AI 產業的最新趨勢。</p>
]]></content:encoded></item><item><title><![CDATA[A Beginner's Guide to Starting a Blog on Hashnode 1/2]]></title><description><![CDATA[Introduction
What if you're looking for a new blog platform for various purposes, whether it's for development logs, personal growth, or more? Here's a beginner's guide to using Hashnode as your blogging platform.
I want to guide everyone through reg...]]></description><link>https://blog.z12.tw/a-beginners-guide-to-starting-a-blog-on-hashnode-12</link><guid isPermaLink="true">https://blog.z12.tw/a-beginners-guide-to-starting-a-blog-on-hashnode-12</guid><category><![CDATA[ZoneTwelve]]></category><category><![CDATA[hackermind]]></category><category><![CDATA[AI]]></category><category><![CDATA[Hashnode]]></category><category><![CDATA[guide]]></category><category><![CDATA[beginner]]></category><dc:creator><![CDATA[ZoneTwelve]]></dc:creator><pubDate>Tue, 24 Sep 2024 12:57:43 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-introduction">Introduction</h2>
<p>What if you're looking for a new blog platform for various purposes, whether it's for development logs, personal growth, or more? Here's a beginner's guide to using Hashnode as your blogging platform.</p>
<p>I want to guide everyone through registering, setting up a custom domain, and exploring the AI features offered. It's a simple, step-by-step approach to quickly getting your blog up and running with these AI tools.</p>
<h3 id="heading-registration">Registration</h3>
<p>To register, you can only go to <a target="_blank" href="https://hashnode.com/">https://hashnode.com/</a> and click Sign up for free.</p>
<p>You can choose from several options to sign up. They support GitHub, Apple ID, LinkedIn, Facebook, Google, and even SSO on your custom domain.</p>
<p>If you prefer not to use those accounts, you can also sign up using just your email.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727165677937/4ccb5a7b-7cf4-471f-9bfb-29915000f380.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-create-your-first-blog-with-just-one-click">Create your first blog with just one click</h3>
<p>At the top, you'll see a <strong>New Blog</strong> button. Click it, enter your blog name and the URL you want, and then hit Create. That's it — you're all set!</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727166389774/3a2f3ab8-af17-4a55-8cac-6f78ba81fd3d.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-writing-your-first-post">Writing Your First Post</h3>
<p>You can see the "New Article" button on the top right to create a new article and start writing.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727166662993/674093c1-5ba2-4743-a909-cd4637bf6173.png" alt class="image--center mx-auto" /></p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727166739494/2003d21e-cb72-40e0-9f06-6783901391e8.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-ai-powered-features">AI-Powered features</h3>
<p>Forget about <s>ChatGPT</s>;</p>
<p>Here, you just need to <strong>Select</strong> and <strong>Click</strong>. I've never used Generative AI that's this fast and easy.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1727167528986/97d7ce21-b406-4cf1-86cd-7505f0c13914.png" alt class="image--center mx-auto" /></p>
<h3 id="heading-conclusion">Conclusion</h3>
<p>Embarking on your blogging journey with Hashnode is both easy and rewarding. From a seamless registration process using your preferred sign-up method to effortlessly creating your first blog with just a few clicks, Hashnode makes it simple to get started. Once your blog is up and running, you can dive right into writing engaging content using the intuitive "New Article" feature.</p>
<p>The AI-powered tools available on Hashnode elevate your writing experience, allowing you to generate ideas, enhance your drafts, and maintain a consistent publishing schedule with minimal effort. Whether you're sharing development insights, personal growth stories, or exploring other topics, Hashnode provides the essential tools and flexibility to help your blog thrive.</p>
<p>Stay tuned for our next post, where we'll guide you through setting up a custom domain to further personalize your blog and establish your unique online presence. Until then, take advantage of the powerful features Hashnode offers and start creating content that resonates with your audience. Happy blogging!</p>
]]></content:encoded></item></channel></rss>