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
1b76936d
"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "c108d0b5a43fee12e1ef578fe871f0f123b06018"
Unverified
Commit
1b76936d
authored
Sep 08, 2020
by
Manuel Romero
Committed by
GitHub
Sep 08, 2020
Browse files
Fix typo (#6994)
parent
8235426e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/distillation/lm_seqs_dataset.py
examples/distillation/lm_seqs_dataset.py
+1
-1
No files found.
examples/distillation/lm_seqs_dataset.py
View file @
1b76936d
...
@@ -101,7 +101,7 @@ class LmSeqsDataset(Dataset):
...
@@ -101,7 +101,7 @@ class LmSeqsDataset(Dataset):
def
remove_empty_sequences
(
self
):
def
remove_empty_sequences
(
self
):
"""
"""
Too short sequences are simply removed. This could be tuned
d
.
Too short sequences are simply removed. This could be tuned.
"""
"""
init_size
=
len
(
self
)
init_size
=
len
(
self
)
indices
=
self
.
lengths
>
11
indices
=
self
.
lengths
>
11
...
...
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