From dd4654eab7593be34294dc16279f52e4efa8869e Mon Sep 17 00:00:00 2001 From: AP <108011872+apalkk@users.noreply.github.com> Date: Tue, 28 May 2024 09:50:45 +0000 Subject: [PATCH] Update quicktour.md to fix broken link to Glossary (#31072) Update quicktour.md to fix broken link Missing '/' in attention mask link in the transformers quicktour --- docs/source/en/quicktour.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/quicktour.md b/docs/source/en/quicktour.md index 9f8ae15700..d3770a18f9 100755 --- a/docs/source/en/quicktour.md +++ b/docs/source/en/quicktour.md @@ -204,7 +204,7 @@ Pass your text to the tokenizer: The tokenizer returns a dictionary containing: * [input_ids](./glossary#input-ids): numerical representations of your tokens. -* [attention_mask](.glossary#attention-mask): indicates which tokens should be attended to. +* [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: