[PR #6065] [MERGED] Update and Fix example models #12005

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6065
Author: @thinkverse
Created: 7/29/2024
Status: Merged
Merged: 7/30/2024
Merged by: @jmorganca

Base: mainHead: update-example-models


📝 Commits (2)

📊 Changes

19 files changed (+32 additions, -24 deletions)

View changed files

📝 examples/go-chat/main.go (+1 -1)
📝 examples/go-generate-streaming/main.go (+1 -1)
📝 examples/go-generate/main.go (+1 -1)
examples/go-http-generate/README.md (+0 -0)
📝 examples/langchain-python-rag-document/README.md (+8 -0)
📝 examples/langchain-python-rag-document/main.py (+1 -1)
📝 examples/langchain-python-rag-websummary/README.md (+2 -2)
📝 examples/langchain-python-rag-websummary/main.py (+2 -2)
📝 examples/langchain-python-simple/README.md (+2 -2)
📝 examples/langchain-python-simple/main.py (+1 -1)
📝 examples/modelfile-mario/Modelfile (+1 -1)
📝 examples/modelfile-mario/readme.md (+3 -3)
📝 examples/python-dockerit/dockerit.py (+1 -1)
📝 examples/python-json-datagenerator/predefinedschema.py (+1 -1)
📝 examples/python-json-datagenerator/randomaddresses.py (+1 -1)
📝 examples/python-json-datagenerator/readme.md (+2 -2)
📝 examples/python-simplechat/client.py (+1 -1)
📝 examples/python-simplechat/readme.md (+2 -2)
📝 examples/typescript-simplechat/client.ts (+1 -1)

📄 Description

I updated the llama2/3 models to llama3.1 and gemma models to gemma2 in examples where needed and where I could test the example work. Fixed the dockerit example, it was pointing to a non-existing model. Lastly, I removed a blank unused README.md file in one of the Go examples.


🔄 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/6065 **Author:** [@thinkverse](https://github.com/thinkverse) **Created:** 7/29/2024 **Status:** ✅ Merged **Merged:** 7/30/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `update-example-models` --- ### 📝 Commits (2) - [`cbe4d5c`](https://github.com/ollama/ollama/commit/cbe4d5c336f4ad837e5163f145d5bb0e4c0e6487) Update example models - [`58dc3c9`](https://github.com/ollama/ollama/commit/58dc3c921b161b16e025e1ec203cfa52b29c16fe) Remove unused README.md ### 📊 Changes **19 files changed** (+32 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `examples/go-chat/main.go` (+1 -1) 📝 `examples/go-generate-streaming/main.go` (+1 -1) 📝 `examples/go-generate/main.go` (+1 -1) ➖ `examples/go-http-generate/README.md` (+0 -0) 📝 `examples/langchain-python-rag-document/README.md` (+8 -0) 📝 `examples/langchain-python-rag-document/main.py` (+1 -1) 📝 `examples/langchain-python-rag-websummary/README.md` (+2 -2) 📝 `examples/langchain-python-rag-websummary/main.py` (+2 -2) 📝 `examples/langchain-python-simple/README.md` (+2 -2) 📝 `examples/langchain-python-simple/main.py` (+1 -1) 📝 `examples/modelfile-mario/Modelfile` (+1 -1) 📝 `examples/modelfile-mario/readme.md` (+3 -3) 📝 `examples/python-dockerit/dockerit.py` (+1 -1) 📝 `examples/python-json-datagenerator/predefinedschema.py` (+1 -1) 📝 `examples/python-json-datagenerator/randomaddresses.py` (+1 -1) 📝 `examples/python-json-datagenerator/readme.md` (+2 -2) 📝 `examples/python-simplechat/client.py` (+1 -1) 📝 `examples/python-simplechat/readme.md` (+2 -2) 📝 `examples/typescript-simplechat/client.ts` (+1 -1) </details> ### 📄 Description I updated the llama2/3 models to llama3.1 and gemma models to gemma2 in examples where needed and where I could test the example work. Fixed the dockerit example, it was pointing to a non-existing model. Lastly, I removed a blank unused README.md file in one of the Go examples. --- <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:45:42 -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#12005