fix: small error (#19612)

* fix: small error

* fix: another typo error
This commit is contained in:
0xflotus
2022-10-14 17:10:33 +02:00
committed by GitHub
parent 78c1e7d253
commit 5ef2186692

View File

@@ -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: