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
70a127a3
Unverified
Commit
70a127a3
authored
Dec 15, 2023
by
Cylis
Committed by
GitHub
Dec 15, 2023
Browse files
doc: Correct spelling mistake (#28064)
parent
c817c17d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/zh/preprocessing.md
docs/source/zh/preprocessing.md
+1
-1
No files found.
docs/source/zh/preprocessing.md
View file @
70a127a3
...
...
@@ -73,7 +73,7 @@ pip install datasets
`
tokenizer
`返回一个包含三个重要对象的字典:
* [input_ids](glossary#input-ids) 是与句子中每个`
token
`对应的索引。
* [attention_mask](glossary#attention-mask) 指示是否应该关注一个`
to
e
kn
`。
* [attention_mask](glossary#attention-mask) 指示是否应该关注一个`
tok
e
n
`。
* [token_type_ids](glossary#token-type-ids) 在存在多个序列时标识一个`
token
`属于哪个序列。
通过解码 `
input_ids
` 来返回您的输入:
...
...
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