From 5ef21866920e7353a5616b6a0eafc58a90a04824 Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Fri, 14 Oct 2022 17:10:33 +0200 Subject: [PATCH] fix: small error (#19612) * fix: small error * fix: another typo error --- docs/source/en/quicktour.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/en/quicktour.mdx b/docs/source/en/quicktour.mdx index 3fcdb4fff2..4f17485342 100644 --- a/docs/source/en/quicktour.mdx +++ b/docs/source/en/quicktour.mdx @@ -193,8 +193,8 @@ Pass your text to the tokenizer: The tokenizer returns a dictionary containing: -* [input_ids](./glossary#input-ids): numerical representions of your tokens. -* [atttention_mask](.glossary#attention-mask): indicates which tokens should be attended to. +* [input_ids](./glossary#input-ids): numerical representations of your tokens. +* [attention_mask](.glossary#attention-mask): indicates which tokens should be attended to. A tokenizer can also accept a list of inputs, and pad and truncate the text to return a batch with uniform length: @@ -525,4 +525,4 @@ All models are a standard [`tf.keras.Model`](https://www.tensorflow.org/api_docs ## What's next? -Now that you've completed the 🤗 Transformers quick tour, check out our guides and learn how to do more specific things like writing a custom model, fine-tuning a model for a task, and how to train a model with a script. If you're interested in learning more about 🤗 Transformers core concepts, grab a cup of coffee and take a look at our Conceptual Guides! \ No newline at end of file +Now that you've completed the 🤗 Transformers quick tour, check out our guides and learn how to do more specific things like writing a custom model, fine-tuning a model for a task, and how to train a model with a script. If you're interested in learning more about 🤗 Transformers core concepts, grab a cup of coffee and take a look at our Conceptual Guides!