Skip to content

Commit

Permalink
Fixed typo (#18921)
Browse files Browse the repository at this point in the history
Fixed typo itmes --> items
  • Loading branch information
tnusser authored Sep 12, 2022
1 parent 1182b94 commit 4c2e983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/preprocessing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4c2e983

Please sign in to comment.