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
ModelZoo
Qwen1.5_vllm
Commits
88b5fd38
Commit
88b5fd38
authored
May 24, 2024
by
zhuwenwen
Browse files
update link url
parent
aedbe273
Pipeline
#1021
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
88b5fd38
...
...
@@ -145,13 +145,13 @@ curl http://localhost:8000/v1/models
curl http://localhost:8000/v1/completions
\
-H
"Content-Type: application/json"
\
-d
'{
"model": "Qwen/Qwen1.5-7B
-Chat
",
"model": "Qwen/Qwen1.5-7B",
"prompt": "What is deep learning?",
"max_tokens": 7,
"temperature": 0
}'
```
或者使用
[
vllm/examples/openai_completion_client.py
](
https://developer.hpccube.com/codes/OpenDAS/vllm/-/
tree/3e147e194e5a3b0fc25a61dd91fdc8a682cbba9d
/examples/openai_completion_client.py
)
或者使用
[
vllm/examples/openai_completion_client.py
](
https://developer.hpccube.com/codes/OpenDAS/vllm/-/
blob/675c0abe47eb9d29c126fbecda86fd5801162eba
/examples/openai_completion_client.py
)
### OpenAI Chat API和vllm结合使用
...
...
@@ -166,7 +166,7 @@ curl http://localhost:8000/v1/chat/completions \
]
}'
```
或者使用
[
vllm/examples/openai_chatcompletion_client.py
](
https://developer.hpccube.com/codes/OpenDAS/vllm/-/
tree/3e147e194e5a3b0fc25a61dd91fdc8a682cbba9d
/examples/openai_chatcompletion_client.py
)
或者使用
[
vllm/examples/openai_chatcompletion_client.py
](
https://developer.hpccube.com/codes/OpenDAS/vllm/-/
blob/675c0abe47eb9d29c126fbecda86fd5801162eba
/examples/openai_chatcompletion_client.py
)
## result
...
...
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