Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4c2e983f
Unverified
Commit
4c2e983f
authored
Sep 12, 2022
by
Tobias Nusser
Committed by
GitHub
Sep 12, 2022
Browse files
Fixed typo (#18921)
Fixed typo itmes --> items
parent
1182b945
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/en/preprocessing.mdx
docs/source/en/preprocessing.mdx
+1
-1
No files found.
docs/source/en/preprocessing.mdx
View file @
4c2e983f
...
...
@@ -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 it
m
es:
The tokenizer returns a dictionary with three important ite
m
s:
* [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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment