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
66954ea2
Unverified
Commit
66954ea2
authored
Jun 28, 2023
by
condor-cp
Committed by
GitHub
Jun 28, 2023
Browse files
Update masked_language_modeling.md (#24560)
See
https://github.com/huggingface/transformers/issues/24546
parent
fd673510
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
docs/source/en/tasks/masked_language_modeling.md
docs/source/en/tasks/masked_language_modeling.md
+0
-1
No files found.
docs/source/en/tasks/masked_language_modeling.md
View file @
66954ea2
...
...
@@ -168,7 +168,6 @@ You can now use a second preprocessing function to
...
k
:
[
t
[
i
:
i
+
block_size
]
for
i
in
range
(
0
,
total_length
,
block_size
)]
...
for
k
,
t
in
concatenated_examples
.
items
()
...
}
...
result
[
"labels"
]
=
result
[
"input_ids"
].
copy
()
...
return
result
```
...
...
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