Skip to content

Commit

Permalink
Update quicktour.md to fix broken link to Glossary (huggingface#31072)
Browse files Browse the repository at this point in the history
Update quicktour.md to fix broken link

Missing '/' in attention mask link in the transformers quicktour
  • Loading branch information
apalkk authored and zucchini-nlp committed Jun 11, 2024
1 parent a22fba7 commit 72a977c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/quicktour.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 72a977c

Please sign in to comment.