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

Open Beginner friendly
#794 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
62/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Domain
documentation

Research direction

Open chapters/en/chapter11/2.mdx and read the two paragraphs about base models, instruct models, and chat templates together. Clarify the wording so the statements are consistent, then verify that the surrounding explanation still accurately communicates when chat templates apply.

Written by the indexing model from the issue text.

Description

In the NLP course

chapters/en/chapter11/2.mdx

"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)?

Dominant language
MDX
Stars
4.2k
Forks
1.4k
Avg merge
13m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from huggingface/course

All issues in huggingface/course

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.