[PR #4800] [MERGED] detect chat template from KV #11590

Closed
opened 2026-04-12 23:32:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4800
Author: @mxyng
Created: 6/3/2024
Status: Merged
Merged: 6/6/2024
Merged by: @mxyng

Base: mainHead: mxyng/detect-chat-template


📝 Commits (1)

  • 9b6c2e6 detect chat template from KV

📊 Changes

26 files changed (+428 additions, -0 deletions)

View changed files

📝 go.mod (+1 -0)
📝 go.sum (+6 -0)
📝 llm/ggml.go (+5 -0)
📝 server/images.go (+16 -0)
templates/alfred.gotmpl (+1 -0)
templates/alpaca.gotmpl (+7 -0)
templates/chatml.gotmpl (+6 -0)
templates/chatqa.gotmpl (+5 -0)
templates/codellama-70b-instruct.gotmpl (+8 -0)
templates/falcon-instruct.gotmpl (+3 -0)
templates/gemma-instruct.gotmpl (+4 -0)
templates/granite-instruct.gotmpl (+9 -0)
templates/index.json (+138 -0)
templates/llama2-chat.gotmpl (+3 -0)
templates/llama3-instruct.gotmpl (+7 -0)
templates/magicoder.gotmpl (+7 -0)
templates/mistral-instruct.gotmpl (+6 -0)
templates/openchat.gotmpl (+1 -0)
templates/phi-3.gotmpl (+6 -0)
templates/solar-instruct.gotmpl (+8 -0)

...and 6 more files

📄 Description

No description provided


🔄 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/4800 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 6/3/2024 **Status:** ✅ Merged **Merged:** 6/6/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/detect-chat-template` --- ### 📝 Commits (1) - [`9b6c2e6`](https://github.com/ollama/ollama/commit/9b6c2e6eb62c234f8a44556984bbb680d7065e01) detect chat template from KV ### 📊 Changes **26 files changed** (+428 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -0) 📝 `go.sum` (+6 -0) 📝 `llm/ggml.go` (+5 -0) 📝 `server/images.go` (+16 -0) ➕ `templates/alfred.gotmpl` (+1 -0) ➕ `templates/alpaca.gotmpl` (+7 -0) ➕ `templates/chatml.gotmpl` (+6 -0) ➕ `templates/chatqa.gotmpl` (+5 -0) ➕ `templates/codellama-70b-instruct.gotmpl` (+8 -0) ➕ `templates/falcon-instruct.gotmpl` (+3 -0) ➕ `templates/gemma-instruct.gotmpl` (+4 -0) ➕ `templates/granite-instruct.gotmpl` (+9 -0) ➕ `templates/index.json` (+138 -0) ➕ `templates/llama2-chat.gotmpl` (+3 -0) ➕ `templates/llama3-instruct.gotmpl` (+7 -0) ➕ `templates/magicoder.gotmpl` (+7 -0) ➕ `templates/mistral-instruct.gotmpl` (+6 -0) ➕ `templates/openchat.gotmpl` (+1 -0) ➕ `templates/phi-3.gotmpl` (+6 -0) ➕ `templates/solar-instruct.gotmpl` (+8 -0) _...and 6 more files_ </details> ### 📄 Description _No description provided_ --- <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-12 23:32:58 -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#11590