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
5ef21866
Unverified
Commit
5ef21866
authored
Oct 14, 2022
by
0xflotus
Committed by
GitHub
Oct 14, 2022
Browse files
fix: small error (#19612)
* fix: small error * fix: another typo error
parent
78c1e7d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docs/source/en/quicktour.mdx
docs/source/en/quicktour.mdx
+3
-3
No files found.
docs/source/en/quicktour.mdx
View file @
5ef21866
...
...
@@ -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.
* [att
t
ention_mask](.glossary#attention-mask): indicates which tokens should be attended to.
* [input_ids](./glossary#input-ids): numerical represent
at
ions 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:
...
...
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