huggingface / huggingface/course

Contradicting statements about chat templates in chapters/en/chapter11/2.mdx

Open
#794 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Description

In the NLP course

[chapters/en/chapter11/2.mdx](https://huggingface.co/learn/nlp-course/en/chapter11/2)

"To make a base model behave like an instruct model, we need to format our prompts in a consistent way that the model can understand. This is where chat templates come in. "

This implies a chat template is used with a base model. However, the next paragraph says

"When using an instruct model, always verify you're using the correct chat template format".

These two statement contradict each other. Please clarify if chat templates are used with base models or with instruct models (or both)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.