[PR #5443] [MERGED] add conversion for microsoft phi 3 mini/medium 4k, 128k #11782

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5443
Author: @mxyng
Created: 7/2/2024
Status: Merged
Merged: 8/12/2024
Merged by: @mxyng

Base: mainHead: mxyng/convert-phi3


📝 Commits (3)

  • 6ffb5cb add conversion for microsoft phi 3 mini/medium 4k, 128
  • aec77d6 support new "longrope" attention factor
  • bd5e432 update import.md

📊 Changes

8 files changed (+375 additions, -12 deletions)

View changed files

📝 convert/convert.go (+6 -0)
📝 convert/convert_llama.go (+0 -4)
convert/convert_phi3.go (+125 -0)
📝 convert/convert_test.go (+2 -0)
convert/testdata/Phi-3-mini-128k-instruct.json (+225 -0)
📝 docs/import.md (+2 -0)
📝 llm/ggml.go (+8 -0)
📝 llm/gguf.go (+7 -8)

📄 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/5443 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/2/2024 **Status:** ✅ Merged **Merged:** 8/12/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/convert-phi3` --- ### 📝 Commits (3) - [`6ffb5cb`](https://github.com/ollama/ollama/commit/6ffb5cb017a1c81970ac637907a8ba6fd151e0e7) add conversion for microsoft phi 3 mini/medium 4k, 128 - [`aec77d6`](https://github.com/ollama/ollama/commit/aec77d6a05c3cd13732eab7decc9794bbed670d9) support new "longrope" attention factor - [`bd5e432`](https://github.com/ollama/ollama/commit/bd5e432630a0c1d1ca5795052355a45014e71a2a) update import.md ### 📊 Changes **8 files changed** (+375 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `convert/convert.go` (+6 -0) 📝 `convert/convert_llama.go` (+0 -4) ➕ `convert/convert_phi3.go` (+125 -0) 📝 `convert/convert_test.go` (+2 -0) ➕ `convert/testdata/Phi-3-mini-128k-instruct.json` (+225 -0) 📝 `docs/import.md` (+2 -0) 📝 `llm/ggml.go` (+8 -0) 📝 `llm/gguf.go` (+7 -8) </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:38:51 -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#11782