Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct chat template examples and formatting #802

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

muzzlol
Copy link

@muzzlol muzzlol commented Feb 27, 2025

  • Fix incorrect closing tags in ChatML examples (<|im_start|> -> <|im_end|>)
  • Correct Mistral template example to show proper message order and formatting
  • Add missing Llama 3 template format example with proper role tags
  • Fix template examples in details section to use proper closing tags

These changes improve accuracy and clarity of the chat template documentation.

- Fix incorrect closing tags in ChatML examples (<|im_start|> -> <|im_end|>)
- Correct Mistral template example to show proper message order and formatting
- Add missing Llama 3 template format example with proper role tags
- Fix template examples in details section to use proper closing tags

These changes improve accuracy and clarity of the chat template documentation.
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@muzzlol
Copy link
Author

muzzlol commented Feb 28, 2025

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

changes are on this page https://moon-ci-docs.huggingface.co/learn/nlp-course/pr_802/en/chapter11/2?fw=pt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants