Last active
April 9, 2026 02:06
-
-
Save up1/fe8e8f4c970aa37b821fc0e4903a12e8 to your computer and use it in GitHub Desktop.
Gemma 4 in Ollaman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ollama run gemma4:e2b | |
| pulling manifest | |
| Error: pull model manifest: 412: | |
| The model you are attempting to pull requires a newer version of Ollama. | |
| Please download the latest version at: | |
| https://ollama.com/download |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Download mode | |
| $ollama run gemma4:e2b | |
| # 2. List model | |
| $ollama list | |
| NAME ID SIZE MODIFIED | |
| gemma4:e2b 7fbdbf8f5e45 7.2 GB 2 minutes ago | |
| # 3. Hello model | |
| $ollama run gemma4:e2b | |
| pulling manifest | |
| pulling 4e30e2665218: 100% ▕████████████████████▏ 7.2 GB | |
| pulling 7339fa418c9a: 100% ▕████████████████████▏ 11 KB | |
| pulling 56380ca2ab89: 100% ▕████████████████████▏ 42 B | |
| pulling c6bc3775a3fa: 100% ▕████████████████████▏ 473 B | |
| verifying sha256 digest | |
| writing manifest | |
| success | |
| >>> hello | |
| Thinking... | |
| Thinking Process: | |
| 1. **Analyze the input:** The input is "hello". | |
| 2. **Determine the user's intent:** The user is initiating a casual | |
| conversation or greeting. | |
| 3. **Formulate an appropriate response (as an AI):** | |
| * Acknowledge the greeting. | |
| * Offer a reciprocal greeting. | |
| * Indicate readiness for further interaction (open-ended question or | |
| statement). | |
| 4. **Refine the response:** Keep it friendly, concise, and standard. (e.g., | |
| "Hello! How can I help you today?" or simply "Hi there.") | |
| *(Self-Correction/Refinement: Keep it simple and welcoming.)* | |
| 5. **Final Output Generation.** | |
| ...done thinking. | |
| Hello! How can I help you today? | |
| # 4. ใช้งาน mode ผ่าน Claude code แบบง่าย ๆ | |
| $ollama launch claude --model gemma4:e2b | |
| Launching Claude Code with gemma4:e2b... | |
| ────────────────────────────────────────────────────────────────────────────────── | |
| Accessing workspace: | |
| Quick safety check: Is this a project you created or one you trust? (Like your | |
| own code, a well-known open source project, or work from your team). If not, | |
| take a moment to review what's in this folder first. | |
| Claude Code'll be able to read, edit, and execute files here. | |
| Security guide | |
| ❯ 1. Yes, I trust this folder | |
| 2. No, exit | |
| Enter to confirm · Esc to cancel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Task to read data from image | |
| try to extract text from image in file @kbank-slip.jpeg and dave result into file system | |
| ❯ write data from @kbank-slip.jpeg to file result.json | |
| ⎿ Read kbank-slip.jpeg (219.4KB) | |
| ⏺ Write(result.txt) | |
| ⎿ Wrote 3 lines to result.json | |
| 1 Transaction ID: 016036073725BQR4501 | |
| 2 Amount: 110.00 Baht | |
| 3 Fee: 0.00 Baht | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment