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
change
sglang
Commits
2432ad40
Unverified
Commit
2432ad40
authored
Oct 04, 2024
by
FredericOdermatt
Committed by
GitHub
Oct 04, 2024
Browse files
[Minifix] Remove extra space in cot example (#1569)
parent
45473d4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/frontend_language/usage/cot_decoding.py
examples/frontend_language/usage/cot_decoding.py
+1
-1
No files found.
examples/frontend_language/usage/cot_decoding.py
View file @
2432ad40
...
@@ -108,7 +108,7 @@ def cot_decoding(s, question, get_top_k, is_chat_model, verbose):
...
@@ -108,7 +108,7 @@ def cot_decoding(s, question, get_top_k, is_chat_model, verbose):
sgl
.
set_default_backend
(
sgl
.
RuntimeEndpoint
(
"http://localhost:30000"
))
sgl
.
set_default_backend
(
sgl
.
RuntimeEndpoint
(
"http://localhost:30000"
))
state
=
cot_decoding
.
run
(
state
=
cot_decoding
.
run
(
question
=
r
"Claire makes a 3 egg omelet every morning for breakfast. How many dozens of eggs will she eat in 4
weeks?"
,
question
=
r
"Claire makes a 3 egg omelet every morning for breakfast. How many dozens of eggs will she eat in 4 weeks?"
,
get_top_k
=
10
,
get_top_k
=
10
,
is_chat_model
=
True
,
is_chat_model
=
True
,
verbose
=
False
,
verbose
=
False
,
...
...
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