[GH-ISSUE #10887] qwen2.5-coder update #53668

Closed
opened 2026-04-29 04:26:40 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @sunhy0316 on GitHub (May 28, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10887

I noticed that some qwen2.5-coder models were updated today. What changes were made?

Originally created by @sunhy0316 on GitHub (May 28, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10887 I noticed that some qwen2.5-coder models were updated today. What changes were made?
Author
Owner

@rick-github commented on GitHub (May 28, 2025):

The template has changed, presumably to improve tool use:

< You are provided with function signatures within <tools></tools> XML tags:
---
> You are provided with function signatures within <tools></tools>:
20c20
< For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:
---
> For each function call, return a json object with function name and arguments within <tool_call></tool_call> with NO other text. Do not include any backticks or ```json.

There's also some changes to a small section of the tensors, about 0.03% of the file. Don't know what those are.

<!-- gh-comment-id:2916913880 --> @rick-github commented on GitHub (May 28, 2025): The template has changed, presumably to improve tool use: ```diff < You are provided with function signatures within <tools></tools> XML tags: --- > You are provided with function signatures within <tools></tools>: 20c20 < For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags: --- > For each function call, return a json object with function name and arguments within <tool_call></tool_call> with NO other text. Do not include any backticks or ```json. ``` There's also some changes to a small section of the tensors, about 0.03% of the file. Don't know what those are.
Author
Owner

@mchiang0610 commented on GitHub (May 28, 2025):

Thank you @sunhy0316 and @rick-github!

We updated the template to improve tool calling, especially for the new feature we added today in 0.8 (Streaming responses with tool calling).

more examples and explaination can be found:
https://ollama.com/blog/streaming-tool

Releases page:
https://github.com/ollama/ollama/releases/tag/v0.8.0

The feature PR:
https://github.com/ollama/ollama/pull/10415

<!-- gh-comment-id:2917665940 --> @mchiang0610 commented on GitHub (May 28, 2025): Thank you @sunhy0316 and @rick-github! We updated the template to improve tool calling, especially for the new feature we added today in 0.8 (Streaming responses with tool calling). more examples and explaination can be found: https://ollama.com/blog/streaming-tool Releases page: https://github.com/ollama/ollama/releases/tag/v0.8.0 The feature PR: https://github.com/ollama/ollama/pull/10415
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#53668