ai:ollama

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ai:ollama [2025/09/06 04:56] – 作成 ともやんai:ollama [2025/10/01 08:51] (現在) – [モデルのバックアップ/リストア] ともやん
行 1: 行 1:
 ====== Ollama ====== ====== Ollama ======
 +{{:ai:ollama_logo.svg|Ollama Logo}}\\
 本家: [[https://ollama.com/|Ollama]]\\ 本家: [[https://ollama.com/|Ollama]]\\
 ソースコード: [[https://github.com/ollama/ollama|GitHub - ollama/ollama: Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.]]\\ ソースコード: [[https://github.com/ollama/ollama|GitHub - ollama/ollama: Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.]]\\
行 9: 行 10:
 </pre></html></WRAP> </pre></html></WRAP>
 <WRAP color_result><html><pre> <WRAP color_result><html><pre>
 +&gt;&gt;&gt; Cleaning up old version at /usr/local/lib/ollama
 &gt;&gt;&gt; Installing ollama to /usr/local &gt;&gt;&gt; Installing ollama to /usr/local
 &gt;&gt;&gt; Downloading Linux amd64 bundle &gt;&gt;&gt; Downloading Linux amd64 bundle
-##################################################################################                                 73.4%+######################################################################## 100.0% 
 +&gt;&gt;&gt; Adding ollama user to render group... 
 +&gt;&gt;&gt; Adding ollama user to video group... 
 +&gt;&gt;&gt; Adding current user to ollama group... 
 +&gt;&gt;&gt; Creating ollama systemd service... 
 +&gt;&gt;&gt; Enabling and starting ollama service... 
 +&gt;&gt;&gt; The Ollama API is now available at 127.0.0.1:11434. 
 +&gt;&gt;&gt; Install complete. Run &quot;ollama&quot; from the command line. 
 +<font color="#C01C28"><b>WARNING:</b></font> No NVIDIA/AMD GPU detected. Ollama will run in CPU-only mode. 
 +</pre></html></WRAP> 
 +<WRAP color_command><html><pre> 
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> <font color="#A347BA">-v</font> 
 +</pre></html></WRAP> 
 +<WRAP color_result><html><pre> 
 +ollama version is 0.11.10
 </pre></html></WRAP> </pre></html></WRAP>
 </WRAP> </WRAP>
  
 +===== Ollama は Systemd に統合される =====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">grep</font> ollama <u style="text-decoration-style:solid">/etc/passwd</u>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#C01C28"><b>ollama</b></font>:x:977:977::/usr/share/<font color="#C01C28"><b>ollama</b></font>:/bin/false
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tree</font> /usr/share/ollama/.<font color="#9E9E9E">ollama/</font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre><font color="#12488B"><b>/usr/share/ollama/.ollama/</b></font>
 +├── id_ed25519
 +├── id_ed25519.pub
 +└── <font color="#12488B"><b>models</b></font>
 +    ├── <font color="#12488B"><b>blobs</b></font>
 +    │   ├── sha256-097a36493f718248845233af1d3fefe7a303f864fae13bc31a3a9704229378ca
 +    │   ├── sha256-2490e7468436707d5156d7959cf3c6341cc46ee323084cfa3fcf30fe76e397dc
 +    │   ├── sha256-28bfdfaeba9f51611c00ed322ba684ce6db076756dbc46643f98a8a748c5199e
 +    │   ├── sha256-37c99d4c7b605f0ebce03962ea9051ea770cf2c8f86c0e75bc728582d18fdd0d
 +    │   ├── sha256-3b190e68fefe043e95b25825d7ebb8d2d61b154678765a2ab0d4a3a7a5b9733e
 +    │   ├── sha256-4ec42cd966c9d5cf067cc4438869e0737679203b4d6fc551c226c15a1c2d7997
 +    │   ├── sha256-7462734796d67c40ecec2ca98eddf970e171dbb6b370e43fd633ee75b69abe1b
 +    │   ├── sha256-9211f2fea414654e0c3039ea44cdc0cd74124dfecffee03dd760b9fee654998b
 +    │   ├── sha256-e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348
 +    │   └── sha256-e18ad7af7efbfaecd8525e356861b84c240ece3a3effeb79d2aa7c0f258f71bd
 +    └── <font color="#12488B"><b>manifests</b></font>
 +        └── <font color="#12488B"><b>registry.ollama.ai</b></font>
 +            └── <font color="#12488B"><b>library</b></font>
 +                ├── <font color="#12488B"><b>gemma2</b></font>
 +                │   ├── 2b
 +                │   └── 2b-instruct-q4_0
 +                └── <font color="#12488B"><b>starcoder2</b></font>
 +                    ├── 3b
 +                    └── 3b-q4_0
 +
 +8 directories, 16 files
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">systemctl</font><font color="#9E9E9E"> status ollama</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +<font color="#26A269"><b>●</b></font> ollama.service - Ollama Service
 +     Loaded: loaded (/etc/systemd/system/ollama.service; <font color="#26A269"><b>enabled</b></font>; preset: <font color="#D7D75F"><b>disabled</b></font>)
 +    Drop-In: /usr/lib/systemd/system/service.d
 +             └─10-timeout-abort.conf, 50-keep-warm.conf
 +     Active: <font color="#26A269"><b>active (running)</b></font> since Sun 2025-09-07 08:49:24 JST; 6h ago
 + Invocation: 54796031f1e94e4cad06edc8c53160e7
 +   Main PID: 1699021 (ollama)
 +      Tasks: 23<font color="#8A8A8A"> (limit: 1091)</font>
 +     Memory: 1.5M (peak: 174.8M swap: 26.5M swap peak: 32.2M)
 +        CPU: 44.069s
 +     CGroup: /system.slice/ollama.service
 +             └─<font color="#8A8A8A">1699021 /usr/local/bin/ollama serve</font>
 +
 + 9月 07 15:04:06 skv001.monsters-g.com ollama[1699021]: time=2025-09-07T15:04:06.992+09:00 level=INFO source=server.go:5<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:04:07 skv001.monsters-g.com ollama[1699021]: time=2025-09-07T15:04:07.192+09:00 level=WARN source=server.go:5<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:04:07 skv001.monsters-g.com ollama[1699021]: time=2025-09-07T15:04:07.596+09:00 level=INFO source=sched.go:44<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:04:07 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:04:07 | 500 |  3.102677285s |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:05:55 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:05:55 | 200 |     632.423µs |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:05:55 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:05:55 | 200 |   190.04235ms |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:16:12 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:16:12 | 200 |     879.453µs |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:16:12 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:16:12 | 200 |    9.200163ms |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:16:24 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:16:24 | 200 |     323.691µs |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 + 9月 07 15:16:24 skv001.monsters-g.com ollama[1699021]: [GIN] 2025/09/07 - 15:16:24 | 200 |  132.683418ms |       127.0.<font color="#A2734C"><b>&gt;</b></font>
 +</pre></html></WRAP>
 +</WRAP>
 +
 +===== モデルのバックアップ/リストア =====
 +
 +==== バックアップ ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tar</font> cvf ollama_models.tar /usr/share/ollama/.ollama/models
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +tar: メンバ名から先頭の `/&apos; を取り除きます
 +/usr/share/ollama/.ollama/models/
 +/usr/share/ollama/.ollama/models/blobs/
 +/usr/share/ollama/.ollama/models/blobs/sha256-7462734796d67c40ecec2ca98eddf970e171dbb6b370e43fd633ee75b69abe1b
 +/usr/share/ollama/.ollama/models/blobs/sha256-e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348
 +/usr/share/ollama/.ollama/models/blobs/sha256-097a36493f718248845233af1d3fefe7a303f864fae13bc31a3a9704229378ca
 +/usr/share/ollama/.ollama/models/blobs/sha256-2490e7468436707d5156d7959cf3c6341cc46ee323084cfa3fcf30fe76e397dc
 +/usr/share/ollama/.ollama/models/blobs/sha256-e18ad7af7efbfaecd8525e356861b84c240ece3a3effeb79d2aa7c0f258f71bd
 +/usr/share/ollama/.ollama/models/blobs/sha256-28bfdfaeba9f51611c00ed322ba684ce6db076756dbc46643f98a8a748c5199e
 +/usr/share/ollama/.ollama/models/blobs/sha256-4ec42cd966c9d5cf067cc4438869e0737679203b4d6fc551c226c15a1c2d7997
 +/usr/share/ollama/.ollama/models/blobs/sha256-3b190e68fefe043e95b25825d7ebb8d2d61b154678765a2ab0d4a3a7a5b9733e
 +/usr/share/ollama/.ollama/models/blobs/sha256-37c99d4c7b605f0ebce03962ea9051ea770cf2c8f86c0e75bc728582d18fdd0d
 +/usr/share/ollama/.ollama/models/blobs/sha256-9211f2fea414654e0c3039ea44cdc0cd74124dfecffee03dd760b9fee654998b
 +/usr/share/ollama/.ollama/models/manifests/
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/2b
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/2b-instruct-q4_0
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/3b
 +/usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/3b-q4_0
 +</pre></html></WRAP>
 +</WRAP>
 +
 +==== リストア ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tar</font> xvf <u style="text-decoration-style:solid">ollama_models.tar</u> <font color="#A347BA">-C</font> <u style="text-decoration-style:solid">/</u>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +
 +usr/share/ollama/.ollama/models/
 +usr/share/ollama/.ollama/models/blobs/
 +usr/share/ollama/.ollama/models/blobs/sha256-7462734796d67c40ecec2ca98eddf970e171dbb6b370e43fd633ee75b69abe1b
 +usr/share/ollama/.ollama/models/blobs/sha256-e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348
 +usr/share/ollama/.ollama/models/blobs/sha256-097a36493f718248845233af1d3fefe7a303f864fae13bc31a3a9704229378ca
 +usr/share/ollama/.ollama/models/blobs/sha256-2490e7468436707d5156d7959cf3c6341cc46ee323084cfa3fcf30fe76e397dc
 +usr/share/ollama/.ollama/models/blobs/sha256-e18ad7af7efbfaecd8525e356861b84c240ece3a3effeb79d2aa7c0f258f71bd
 +usr/share/ollama/.ollama/models/blobs/sha256-28bfdfaeba9f51611c00ed322ba684ce6db076756dbc46643f98a8a748c5199e
 +usr/share/ollama/.ollama/models/blobs/sha256-4ec42cd966c9d5cf067cc4438869e0737679203b4d6fc551c226c15a1c2d7997
 +usr/share/ollama/.ollama/models/blobs/sha256-3b190e68fefe043e95b25825d7ebb8d2d61b154678765a2ab0d4a3a7a5b9733e
 +usr/share/ollama/.ollama/models/blobs/sha256-37c99d4c7b605f0ebce03962ea9051ea770cf2c8f86c0e75bc728582d18fdd0d
 +usr/share/ollama/.ollama/models/blobs/sha256-9211f2fea414654e0c3039ea44cdc0cd74124dfecffee03dd760b9fee654998b
 +usr/share/ollama/.ollama/models/manifests/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/2b
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/gemma2/2b-instruct-q4_0
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/3b
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/starcoder2/3b-q4_0
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tree</font> /usr/share/ollama/.ollama/
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +<font color="#12488B"><b>/usr/share/ollama/.ollama/</b></font>
 +├── id_ed25519
 +├── id_ed25519.pub
 +└── <font color="#12488B"><b>models</b></font>
 +    ├── <font color="#12488B"><b>blobs</b></font>
 +    │   ├── sha256-097a36493f718248845233af1d3fefe7a303f864fae13bc31a3a9704229378ca
 +    │   ├── sha256-2490e7468436707d5156d7959cf3c6341cc46ee323084cfa3fcf30fe76e397dc
 +    │   ├── sha256-28bfdfaeba9f51611c00ed322ba684ce6db076756dbc46643f98a8a748c5199e
 +    │   ├── sha256-37c99d4c7b605f0ebce03962ea9051ea770cf2c8f86c0e75bc728582d18fdd0d
 +    │   ├── sha256-3b190e68fefe043e95b25825d7ebb8d2d61b154678765a2ab0d4a3a7a5b9733e
 +    │   ├── sha256-4ec42cd966c9d5cf067cc4438869e0737679203b4d6fc551c226c15a1c2d7997
 +    │   ├── sha256-7462734796d67c40ecec2ca98eddf970e171dbb6b370e43fd633ee75b69abe1b
 +    │   ├── sha256-9211f2fea414654e0c3039ea44cdc0cd74124dfecffee03dd760b9fee654998b
 +    │   ├── sha256-e0a42594d802e5d31cdc786deb4823edb8adff66094d49de8fffe976d753e348
 +    │   └── sha256-e18ad7af7efbfaecd8525e356861b84c240ece3a3effeb79d2aa7c0f258f71bd
 +    └── <font color="#12488B"><b>manifests</b></font>
 +        └── <font color="#12488B"><b>registry.ollama.ai</b></font>
 +            └── <font color="#12488B"><b>library</b></font>
 +                ├── <font color="#12488B"><b>gemma2</b></font>
 +                │   ├── 2b
 +                │   └── 2b-instruct-q4_0
 +                └── <font color="#12488B"><b>starcoder2</b></font>
 +                    ├── 3b
 +                    └── 3b-q4_0
 +
 +8 directories, 16 files
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> list
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +NAME                       ID              SIZE      MODIFIED
 +starcoder2:3b-q4_0         9f4ae0aff61e    1.7 GB    11 hours ago
 +gemma2:2b-instruct-q4_0    8ccf136fdd52    1.6 GB    11 hours ago
 +starcoder2:3b              9f4ae0aff61e    1.7 GB    16 hours ago
 +gemma2:2b                  8ccf136fdd52    1.6 GB    16 hours ago
 +</pre></html></WRAP>
 +</WRAP>
 +
 +==== 追加リストア ====
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269"><u style="text-decoration-style:solid">sudo</u></font> <font color="#26A269">tar</font><font color="#999999"> xvf </font><font color="#999999"><u style="text-decoration-style:solid">ollama_models_002.tar</u></font><font color="#999999"> </font><font color="#A347BA">-C</font><font color="#999999"> </font><font color="#999999"><u style="text-decoration-style:solid">/</u></font>
 +</pre></html></WRAP>
 +<WRAP color_result_hlong><html><pre>
 +usr/share/ollama/.ollama/models/
 +usr/share/ollama/.ollama/models/blobs/
 +usr/share/ollama/.ollama/models/blobs/sha256-3a43f93b78ec50f7c4e4dc8bd1cb3fff5a900e7d574c51a6f7495e48486e0dac
 +usr/share/ollama/.ollama/models/blobs/sha256-8c17c2ebb0ea011be9981cc3922db8ca8fa61e828c5d3f44cb6ae342bf80460b
 +usr/share/ollama/.ollama/models/blobs/sha256-590d74a5569b8a20eb2a8b0aa869d1d1d3faf6a7fdda1955ae827073c7f502fc
 +usr/share/ollama/.ollama/models/blobs/sha256-2e0493f67d0c8c9c68a8aeacdf6a38a2151cb3c4c1d42accf296e19810527988
 +usr/share/ollama/.ollama/models/blobs/sha256-7f6a57943a88ef021326428676fe749d38e82448a858433f41dae5e05ac39963
 +usr/share/ollama/.ollama/models/blobs/sha256-316526ac7323d6f42305c5bbf1939e1197487c1e6ea1f01292ceb5e3040b707a
 +usr/share/ollama/.ollama/models/blobs/sha256-d040cc18521592f70c199396aeaa44cdc40224079156dc09d4283d745d9dc5fd
 +usr/share/ollama/.ollama/models/blobs/sha256-a3a0e9449cb691a12f4de1d03725fd41326614fdeaf5d80b28c51187da0bed0e
 +usr/share/ollama/.ollama/models/blobs/sha256-8893e08fa9f91f7dc39e24d27bdfaece4e9c86bb3269293ff8cea6cba98c872d
 +usr/share/ollama/.ollama/models/blobs/sha256-8972a96b8ff1957ca24ff839aeb54411e6849de68609857a3fa17a4e78114247
 +usr/share/ollama/.ollama/models/blobs/sha256-d55c9eb1669a22f75956872166c676634c77cd8dfb94900640bd09a474dfcd0c
 +usr/share/ollama/.ollama/models/blobs/sha256-59bb50d8116b6a1f9bfbb940d6bb946a05554e591e30c8c2429ed6c854867ecb
 +usr/share/ollama/.ollama/models/blobs/sha256-772f510b95588aeb9fbd2298b2b647bceba48aceb05e3a26ff14812eb1f6dc14
 +usr/share/ollama/.ollama/models/blobs/sha256-dd0c6f2ea876e4c433325df3398386f24e00d321abf6cec197c1bc1fcf1e0025
 +usr/share/ollama/.ollama/models/blobs/sha256-097a36493f718248845233af1d3fefe7a303f864fae13bc31a3a9704229378ca
 +usr/share/ollama/.ollama/models/blobs/sha256-9be8862a36378dff002b5114ffa6f5b30054cfb4875ed58195449e1848ae6e09
 +usr/share/ollama/.ollama/models/blobs/sha256-48d9a8140749f940a218cb55fe7074cc6b776b93bac231bd9ef02cf6d26a5964
 +usr/share/ollama/.ollama/models/blobs/sha256-ea4a24c038f59ed9a94db50d23d32dd36e73a85c10097b4b9fed9c70c3a5158d
 +usr/share/ollama/.ollama/models/manifests/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/codellama/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/codellama/7b
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/deepseek-coder/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/deepseek-coder/1.3b
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/deepseek-coder/6.7b
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/codegemma/
 +usr/share/ollama/.ollama/models/manifests/registry.ollama.ai/library/codegemma/2b
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font><font color="#999999"> list</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>NAME                         ID              SIZE      MODIFIED
 +codegemma:2b                 926331004170    1.6 GB    15 hours ago
 +deepseek-coder:6.7b          ce298d984115    3.8 GB    15 hours ago
 +deepseek-coder:1.3b          3ddd2d3fc8d2    776 MB    15 hours ago
 +codellama:7b                 8fdf8f752f6e    3.8 GB    15 hours ago
 +llama3.2:3b-instruct-q4_0    9b9453afbdd6    1.9 GB    3 weeks ago
 +llama3.2:3b                  a80c4f17acd5    2.0 GB    3 weeks ago
 +starcoder2:3b-q4_0           9f4ae0aff61e    1.7 GB    3 weeks ago
 +gemma2:2b-instruct-q4_0      8ccf136fdd52    1.6 GB    3 weeks ago
 +starcoder2:3b                9f4ae0aff61e    1.7 GB    3 weeks ago
 +gemma2:2b                    8ccf136fdd52    1.6 GB    3 weeks ago
 +</pre></html></WRAP>
 +</WRAP>
 +===== モデルのダウンロード =====
 +[[https://ollama.com/library/llama3.2:3b|llama3.2:3b]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> pull llama3.2:3b
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +pulling manifest 
 +pulling dde5aa3fc5ff: 100% ▕███████████████████████████████████████████████████████████▏ 2.0 GB
 +pulling 966de95ca8a6: 100% ▕███████████████████████████████████████████████████████████▏ 1.4 KB
 +pulling fcc5a6bec9da: 100% ▕███████████████████████████████████████████████████████████▏ 7.7 KB
 +pulling a70ff7e570d9: 100% ▕███████████████████████████████████████████████████████████▏ 6.0 KB
 +pulling 56bb8bd477a5: 100% ▕███████████████████████████████████████████████████████████▏   96 B
 +pulling 34bb5ab01051: 100% ▕███████████████████████████████████████████████████████████▏  561 B
 +verifying sha256 digest 
 +writing manifest 
 +success</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/library/gemma2:2b|gemma2:2b]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> pull gemma2:2b
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +pulling manifest 
 +pulling 7462734796d6: 100% ▕███████████████████████████████████████████████████████████▏ 1.6 GB
 +pulling e0a42594d802: 100% ▕███████████████████████████████████████████████████████████▏  358 B
 +pulling 097a36493f71: 100% ▕███████████████████████████████████████████████████████████▏ 8.4 KB
 +pulling 2490e7468436: 100% ▕███████████████████████████████████████████████████████████▏   65 B
 +pulling e18ad7af7efb: 100% ▕███████████████████████████████████████████████████████████▏  487 B
 +verifying sha256 digest 
 +writing manifest 
 +success
 +</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/library/starcoder2:3b|starcoder2:3b]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> pull starcoder2:3b
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +pulling manifest 
 +pulling 28bfdfaeba9f: 100% ▕███████████████████████████████████████████████████████████▏ 1.7 GB
 +pulling 4ec42cd966c9: 100% ▕███████████████████████████████████████████████████████████▏  12 KB
 +pulling 3b190e68fefe: 100% ▕███████████████████████████████████████████████████████████▏  142 B
 +pulling 37c99d4c7b60: 100% ▕███████████████████████████████████████████████████████████▏   41 B
 +pulling 9211f2fea414: 100% ▕███████████████████████████████████████████████████████████▏  345 B
 +verifying sha256 digest 
 +writing manifest 
 +success
 +</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/library/llama3.2:3b-instruct-q4_0|llama3.2:3b-instruct-q4_0]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> run llama3.2:3b-instruct-q4_0
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>pulling manifest 
 +pulling 9c8a9ab5edab: 100% ▕███████████████████████████████████████████████████████████▏ 1.9 GB                         
 +pulling 966de95ca8a6: 100% ▕███████████████████████████████████████████████████████████▏ 1.4 KB                         
 +pulling fcc5a6bec9da: 100% ▕███████████████████████████████████████████████████████████▏ 7.7 KB                         
 +pulling a70ff7e570d9: 100% ▕███████████████████████████████████████████████████████████▏ 6.0 KB                         
 +pulling 56bb8bd477a5: 100% ▕███████████████████████████████████████████████████████████▏   96 B                         
 +pulling c5b3569010e2: 100% ▕███████████████████████████████████████████████████████████▏  559 B                         
 +verifying sha256 digest 
 +writing manifest 
 +success
 +</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/library/gemma2:2b-instruct-q4_0|gemma2:2b-instruct-q4_0]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> pull gemma2:2b-instruct-q4_0
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +pulling manifest 
 +pulling 7462734796d6: 100% ▕███████████████████████████████████████████████████████████▏ 1.6 GB
 +pulling e0a42594d802: 100% ▕███████████████████████████████████████████████████████████▏  358 B
 +pulling 097a36493f71: 100% ▕███████████████████████████████████████████████████████████▏ 8.4 KB
 +pulling 2490e7468436: 100% ▕███████████████████████████████████████████████████████████▏   65 B
 +pulling e18ad7af7efb: 100% ▕███████████████████████████████████████████████████████████▏  487 B
 +verifying sha256 digest 
 +writing manifest 
 +success
 +</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/library/starcoder2:3b-q4_0|starcoder2:3b-q4_0]]\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> pull starcoder2:3b-q4_0
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +pulling manifest 
 +pulling 28bfdfaeba9f: 100% ▕███████████████████████████████████████████████████████████▏ 1.7 GB
 +pulling 4ec42cd966c9: 100% ▕███████████████████████████████████████████████████████████▏  12 KB
 +pulling 3b190e68fefe: 100% ▕███████████████████████████████████████████████████████████▏  142 B
 +pulling 37c99d4c7b60: 100% ▕███████████████████████████████████████████████████████████▏   41 B
 +pulling 9211f2fea414: 100% ▕███████████████████████████████████████████████████████████▏  345 B
 +verifying sha256 digest 
 +writing manifest 
 +success
 +</pre></html></WRAP>
 +</WRAP>
 +
 +[[https://ollama.com/eramax/gemma-3-27b-it-qat|eramax/gemma-3-27b-it-qat-q4_0-gguf]]\\
 +
 +===== 動作確認 =====
 +バカボンのパパのヒゲの本数を聞いてみる...🤔\\
 +<WRAP color_term>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> run llama3.2:3b-instruct-q4_0 <font color="#A2734C">&quot;バカボンのパパのヒゲの本数は?&quot;</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +おはやー! バカボンのパパのヒゲの数は、1つです。
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> run llama3.2:3b <font color="#A2734C">&quot;バカボンのパパのヒゲの本数は?&quot;</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 +バカボンの父親のヒゲの数は「100」と表現されることが知られています。
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> run gemma2:2b-instruct-q4_0 <font color="#A2734C">&quot;バカボンのパパのヒゲの本数は?&quot;</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>バカボンのパパのヒゲの本数は、**公式に発表されていません**。
 +
 +しかし、漫画やアニメで描かれる通り、**パパは非常に特徴的なヒゲをしており、その本数は多く推測されています**。
 +
 +* **一般的には、3~4本**と推定されることが多い。
 +* しかし、アニメの「バカボン」公式ウェブサイトには、パパのヒゲの本数に関する情報はありません。
 +
 +
 +最終的に、パパのヒゲの本数については、**個人の想像力や解釈によって異なります**。
 +</pre></html></WRAP>
 +<WRAP color_command><html><pre>
 +<font color="#0087FF"><b>$</b></font> <font color="#26A269">ollama</font> run gemma2:2b <font color="#A2734C">&quot;バカボンのパパのヒゲの本数は?&quot;</font>
 +</pre></html></WRAP>
 +<WRAP color_result><html><pre>
 + バカボンのパパのヒゲの本数、実は **決まっていない** です!
 +
 +作者の**「アニメ」**や**「漫画」**は、バカボンのパパの姿や特徴を自由に描き換えてくれるところが面白いところですよね。
 +😊 
 +
 +だから、彼のヒゲの本数は、あなたの想像力次第で無限大!
 +</pre></html></WRAP>
 +</WRAP>
  • ai/ollama.1757102170.txt.gz
  • 最終更新: 2025/09/06 04:56
  • by ともやん