[PR #12181] [MERGED] embedding gemma model #13729

Closed
opened 2026-04-13 00:34:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12181
Author: @mxyng
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @mxyng

Base: mainHead: mxyng/embeddinggemma


📝 Commits (2)

📊 Changes

10 files changed (+175 additions, -27 deletions)

View changed files

📝 model/bytepairencoding.go (+1 -2)
📝 model/model.go (+5 -0)
model/models/gemma3/embed.go (+73 -0)
📝 model/models/gemma3/model.go (+3 -4)
📝 model/models/gemma3/model_text.go (+6 -3)
📝 model/sentencepiece.go (+1 -2)
📝 model/vocabulary.go (+2 -2)
📝 runner/ollamarunner/cache.go (+5 -1)
📝 runner/ollamarunner/cache_test.go (+1 -1)
📝 runner/ollamarunner/runner.go (+78 -12)

📄 Description

extend gemma3 model to support embedding gemma


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/12181 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/embeddinggemma` --- ### 📝 Commits (2) - [`f386ee8`](https://github.com/ollama/ollama/commit/f386ee85d57f233a8114a97087cadbecddcf4c9d) update logging - [`ad631bc`](https://github.com/ollama/ollama/commit/ad631bcb0c73f3f8e7c576b9ae535319390668b1) ollama: add embeddings ### 📊 Changes **10 files changed** (+175 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `model/bytepairencoding.go` (+1 -2) 📝 `model/model.go` (+5 -0) ➕ `model/models/gemma3/embed.go` (+73 -0) 📝 `model/models/gemma3/model.go` (+3 -4) 📝 `model/models/gemma3/model_text.go` (+6 -3) 📝 `model/sentencepiece.go` (+1 -2) 📝 `model/vocabulary.go` (+2 -2) 📝 `runner/ollamarunner/cache.go` (+5 -1) 📝 `runner/ollamarunner/cache_test.go` (+1 -1) 📝 `runner/ollamarunner/runner.go` (+78 -12) </details> ### 📄 Description extend gemma3 model to support embedding gemma --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:34:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13729