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
59da3f27
"tests/splinter/test_modeling_splinter.py" did not exist on "5deed37f9f1a0f5794a2a7cd02164ff265c59524"
Unverified
Commit
59da3f27
authored
Dec 15, 2020
by
Lysandre Debut
Committed by
GitHub
Dec 15, 2020
Browse files
Fix stack overflow (#9114)
parent
14c79c3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/tokenization_utils_base.py
src/transformers/tokenization_utils_base.py
+1
-1
No files found.
src/transformers/tokenization_utils_base.py
View file @
59da3f27
...
...
@@ -262,7 +262,7 @@ class BatchEncoding(UserDict):
:class:`~transformers.BatchEncoding`. Currently can be one of :obj:`None` (unknown), :obj:`1` (a single
sentence) or :obj:`2` (a pair of sentences)
"""
return
self
.
n_sequences
return
self
.
_
n_sequences
@
property
def
is_fast
(
self
)
->
bool
:
...
...
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