Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
43a6acfb
Unverified
Commit
43a6acfb
authored
Nov 04, 2025
by
CSWYF3634076
Committed by
GitHub
Nov 04, 2025
Browse files
[Model] fix ernie45 reasoning_parser (#27973)
Signed-off-by:
wangyafeng
<
wangyafeng@baidu.com
>
parent
58279c60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vllm/reasoning/ernie45_reasoning_parser.py
vllm/reasoning/ernie45_reasoning_parser.py
+2
-2
No files found.
vllm/reasoning/ernie45_reasoning_parser.py
View file @
43a6acfb
...
@@ -36,8 +36,8 @@ class Ernie45ReasoningParser(BaseThinkingReasoningParser):
...
@@ -36,8 +36,8 @@ class Ernie45ReasoningParser(BaseThinkingReasoningParser):
"""The token that ends reasoning content."""
"""The token that ends reasoning content."""
return
"</think>"
return
"</think>"
def
__init__
(
self
,
tokenizer
:
PreTrainedTokenizerBase
):
def
__init__
(
self
,
tokenizer
:
PreTrainedTokenizerBase
,
*
args
,
**
kwargs
):
super
().
__init__
(
tokenizer
)
super
().
__init__
(
tokenizer
,
*
args
,
**
kwargs
)
if
not
self
.
model_tokenizer
:
if
not
self
.
model_tokenizer
:
raise
ValueError
(
raise
ValueError
(
...
...
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