<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nikkie-ftnext</author_name>
  <author_url>https://blog.hatena.ne.jp/nikkie-ftnext/</author_url>
  <blog_title>nikkie-ftnextの日記</blog_title>
  <blog_url>https://nikkie-ftnext.hatenablog.com/</blog_url>
  <categories>
    <anon>LLM</anon>
  </categories>
  <description>はじめに 愛衣ちゃん大勝利〜！！ nikkieです。 世はまさに大規模言語モデル1時代！ ollamaを使ってLLMをもふもふ手元のPC（CPUのみ）でも動かしています2が、その秘密は量子化。 今回は、今まで利用するだけだった量子化を自分でもやってみます 目次 はじめに 目次 「非力なパソコンでもLLMを動かしたい!? llama.cppの紹介」 cyberagent/calm2-7b-chatをq5_k_mに量子化 環境構築 1. Hugging Faceに置いてあるモデルをGGUF形式に変換 2. GGUF形式から量子化 3. 量子化したモデルをllama.cppで動かす 量子化したモデル…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnikkie-ftnext.hatenablog.com%2Fentry%2Fllm-quantize-first-step-cyberagent-calm2-7b-chat&quot; title=&quot;llama.cppでLLMを量子化し、ollamaで動かせた！これで勝つる！（cyberagent/calm2-7b-chat量子化記事の再現編） - nikkie-ftnextの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-20 08:02:00</published>
  <title>llama.cppでLLMを量子化し、ollamaで動かせた！これで勝つる！（cyberagent/calm2-7b-chat量子化記事の再現編）</title>
  <type>rich</type>
  <url>https://nikkie-ftnext.hatenablog.com/entry/llm-quantize-first-step-cyberagent-calm2-7b-chat</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
