Repository navigation
Conversation
…2 quiz - Add the missing closing quote of the AutoTrain href in question 5 (both framework branches). Without it the anchor tag is never closed and the word "AutoTrain" is dropped from the explanation. - Translate the TensorFlow-branch heading of question 5, which was still in English. The last English version with a TensorFlow branch (92c615d) titled it after TFAutoModel, which the French answer already uses. - Use the same spacing before "?" as the other headings of the quiz.
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes question 5 of the French end-of-chapter quiz,
chapters/fr/chapter2/8.mdx(4 lines changed, none added or removed).hrefattribute lacked its closing quote (<a href='https://huggingface.co/autotrain>AutoTrain</a>). The doc-builderQuestioncomponent inserts the explanation with{@html}; when the string is parsed as HTML, the unclosed attribute absorbs the rest of it, so the explanation readsVous confondez cela avec notre produitwith neither the link nor the word "AutoTrain". The English quiz (chapters/en/chapter2/9.mdx) has the correct link.### 5. What is an AutoModel?was still in English, and it appears in the table of contents of the page next to the French heading (checked in the HTML served at https://huggingface.co/learn/llm-course/fr/chapter2/8). It becomes### 5. Qu'est-ce qu'un TFAutoModel ?: the last English version with a TensorFlow branch (92c615d) usedTFAutoModelin this heading, and the French answer below it already namesTFAutoModel.Qu'est-ce qu'un AutoModel?becomesQu'est-ce qu'un AutoModel ?, consistent with the other headings of this quiz.Verification:
html5lib(an implementation of the HTML parsing specification) before and after the change. Before, the link and the word "AutoTrain" are lost; after, the string parses to a link to https://huggingface.co/autotrain with the text "AutoTrain". The JS bundle of the page, as served on 2026-10-07, still contains the malformed string.python utils/code_formatter.py --check_only(the command run bymake quality) passes with black 24.8.0. No code block is modified.doc-builder(the README notes thatpreviewdoes not work on Windows).#1294 also edits this file (lines 31 and 198). The hunks do not overlap, and
git merge-treereports no conflict between the two branches.Related to #44.
@stevhliu, for review, as suggested in the README.