Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix typo in the Llama3.1 prompt template#2258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
wizzard0 wants to merge1 commit intohuggingface:main
base:main
Choose a base branch
Loading
fromwizzard0:patch-1

Conversation

wizzard0
Copy link

The llama 3.1 tool calling template says "orginal user question" instead of the "original user question".

Unless it's the actual prompt pattern the model is trained with, this should affect the tool use performance; and I see this typo spreading to other tutorials and tools using Llama 3.1

The llama 3.1 tool calling template says "orginal user question" instead of the "original user question". Unless it's the actual prompt pattern the model is trained with, this should affect the tool use performance; and I see this typo spreading to other tutorials and tools using Llama 3.1
@pcuenca
Copy link
Member

Hi@wizzard0! Actually, the typo is also present in the official documentation (see Step 3 in theJSON-based tool calling section). I doubt that the system prompt has to be supplied verbatim like that and I'd prefer to have the typo fixed, but I haven't really tested it comprehensively. Have you observed differences one way or another?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@wizzard0@pcuenca

[8]ページ先頭

©2009-2025 Movatter.jp