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
"git@developer.sourcefind.cn:modelzoo/mixtral_vllm.git" did not exist on "3409b209be22fb397a46503a56f9901dd7895164"
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):
...
@@ -262,7 +262,7 @@ class BatchEncoding(UserDict):
:class:`~transformers.BatchEncoding`. Currently can be one of :obj:`None` (unknown), :obj:`1` (a single
:class:`~transformers.BatchEncoding`. Currently can be one of :obj:`None` (unknown), :obj:`1` (a single
sentence) or :obj:`2` (a pair of sentences)
sentence) or :obj:`2` (a pair of sentences)
"""
"""
return
self
.
n_sequences
return
self
.
_
n_sequences
@
property
@
property
def
is_fast
(
self
)
->
bool
:
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