From 4c2e983f44ce4d3b9c8502d42cc568e45897bd15 Mon Sep 17 00:00:00 2001 From: Tobias Nusser Date: Mon, 12 Sep 2022 21:03:48 +0200 Subject: [PATCH] Fixed typo (#18921) Fixed typo itmes --> items --- docs/source/en/preprocessing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/en/preprocessing.mdx b/docs/source/en/preprocessing.mdx index e67741633acb7a..d710d41f660286 100644 --- a/docs/source/en/preprocessing.mdx +++ b/docs/source/en/preprocessing.mdx @@ -54,7 +54,7 @@ Then pass your sentence to the tokenizer: 'attention_mask': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} ``` -The tokenizer returns a dictionary with three important itmes: +The tokenizer returns a dictionary with three important items: * [input_ids](glossary#input-ids) are the indices corresponding to each token in the sentence. * [attention_mask](glossary#attention-mask) indicates whether a token should be attended to or not.