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
278be671
Unverified
Commit
278be671
authored
Nov 28, 2024
by
罗泽轩
Committed by
GitHub
Nov 27, 2024
Browse files
[Doc] Update model in arch_overview.rst to match comment (#10701)
Signed-off-by:
spacewander
<
spacewanderlzx@gmail.com
>
parent
70dc14fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/design/arch_overview.rst
docs/source/design/arch_overview.rst
+1
-1
No files found.
docs/source/design/arch_overview.rst
View file @
278be671
...
...
@@ -42,7 +42,7 @@ Here is a sample of `LLM` class usage:
sampling_params
=
SamplingParams
(
temperature
=
0.8
,
top_p
=
0.95
)
#
Initialize
the
LLM
engine
with
the
OPT
-
125
M
model
llm
=
LLM
(
model
=
"
Qwen/Qwen2.5-1.5B-Instruct
"
)
llm
=
LLM
(
model
=
"
facebook/opt-125m
"
)
#
Generate
outputs
for
the
input
prompts
outputs
=
llm
.
generate
(
prompts
,
sampling_params
)
...
...
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