From 41ae3b5c02dde5fa67538cceb52efa6d190b6563 Mon Sep 17 00:00:00 2001 From: Corban Pendrak <125042151+CorbanPendrak@users.noreply.github.com> Date: Mon, 1 Jan 2024 14:43:53 -0500 Subject: [PATCH] Update 6.mdx Fixes several typos in chapter question --- chapters/en/chapter4/6.mdx | 46 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/chapters/en/chapter4/6.mdx b/chapters/en/chapter4/6.mdx index f52d064eb..dac30a7ac 100644 --- a/chapters/en/chapter4/6.mdx +++ b/chapters/en/chapter4/6.mdx @@ -25,7 +25,7 @@ Let's test what you learned in this chapter! }, { text: "There are no limits.", - explain: "Right! There are no limits when uploading models to the Hub.", + explain: "There are no limits when uploading models to the Hub.", correct: true }, { @@ -41,15 +41,15 @@ Let's test what you learned in this chapter! choices={[ { text: "Through a GCP account.", - explain: "Incorrect!" + explain: "While this can work for sending directly, the HuggingFace Hub uses git and git-lfs." }, { text: "Through peer-to-peer distribution.", - explain: "Incorrect!" + explain: "While this can work for sending directly, the HuggingFace Hub uses git and git-lfs." }, { text: "Through git and git-lfs.", - explain: "Correct! Models on the Hub are simple Git repositories, leveraging git-lfs for large files.", + explain: "Models on the Hub are simple Git repositories, leveraging git-lfs for large files.", correct: true } ]} @@ -65,22 +65,22 @@ Let's test what you learned in this chapter! }, { text: "Create a new model repository.", - explain: "Correct! That's not all you can do, though.", + explain: "That's not all you can do, though.", correct: true }, { text: "Manage and edit files.", - explain: "Correct! That's not the only right answer, though.", + explain: "That's not the only right answer, though.", correct: true }, { text: "Upload files.", - explain: "Right! But that's not all.", + explain: "But that's not all.", correct: true }, { text: "See diffs across versions.", - explain: "Correct! That's not all you can do, though.", + explain: "That's not all you can do, though.", correct: true } ]} @@ -91,12 +91,12 @@ Let's test what you learned in this chapter! push_to_hub method, and using it will push all the tokenizer files (vocabulary, architecture of the tokenizer, etc.) to a given repo. That's not the only right answer, though!", + explain: "All tokenizers have the push_to_hub method, and using it will push all the tokenizer files (vocabulary, architecture of the tokenizer, etc.) to a given repo. That's not the only right answer, though!", correct: true }, { text: "A model configuration", - explain: "Right! All model configurations have the push_to_hub method, and using it will push them to a given repo. What else can you share?", + explain: "All model configurations have the push_to_hub method, and using it will push them to a given repo. What else can you share?", correct: true }, { text: "A model", - explain: "Correct! All models have the push_to_hub method, and using it will push them and their configuration files to a given repo. That's not all you can share, though.", + explain: "All models have the push_to_hub method, and using it will push them and their configuration files to a given repo. That's not all you can share, though.", correct: true }, { text: "A Trainer", - explain: "That's right — the Trainer also implements the push_to_hub method, and using it will upload the model, its configuration, the tokenizer, and a model card draft to a given repo. Try another answer!", + explain: "The Trainer also implements the push_to_hub method, and using it will upload the model, its configuration, the tokenizer, and a model card draft to a given repo. Try another answer!", correct: true } ]} @@ -138,22 +138,22 @@ Let's test what you learned in this chapter! choices={[ { text: "A tokenizer", - explain: "Correct! All tokenizers have the push_to_hub method, and using it will push all the tokenizer files (vocabulary, architecture of the tokenizer, etc.) to a given repo. That's not the only right answer, though!", + explain: "All tokenizers have the push_to_hub method, and using it will push all the tokenizer files (vocabulary, architecture of the tokenizer, etc.) to a given repo. That's not the only right answer, though!", correct: true }, { text: "A model configuration", - explain: "Right! All model configurations have the push_to_hub method, and using it will push them to a given repo. What else can you share?", + explain: "All model configurations have the push_to_hub method, and using it will push them to a given repo. What else can you share?", correct: true }, { text: "A model", - explain: "Correct! All models have the push_to_hub method, and using it will push them and their configuration files to a given repo. That's not all you can share, though.", + explain: "All models have the push_to_hub method, and using it will push them and their configuration files to a given repo. That's not all you can share, though.", correct: true }, { text: "All of the above with a dedicated callback", - explain: "That's right — the PushToHubCallback will regularly send all of those objects to a repo during training.", + explain: "The PushToHubCallback will regularly send all of those objects to a repo during training.", correct: true } ]} @@ -170,12 +170,12 @@ Let's test what you learned in this chapter! }, { text: "Run 'huggingface-cli login' in a terminal.", - explain: "Correct — this will download and cache your personal token.", + explain: "This will download and cache your personal token.", correct: true }, { text: "Run 'notebook_login()' in a notebook.", - explain: "Correct — this will display a widget to let you authenticate.", + explain: "This will display a widget to let you authenticate.", correct: true }, ]} @@ -186,8 +186,8 @@ Let's test what you learned in this chapter! git_commit() method is there for that.", + explain: "The git_commit() method is there for that.", correct: true }, {