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
Baichuan-13B_fastllm
Commits
a0171562
"vscode:/vscode.git/clone" did not exist on "cc41178bf58b868966bceb7c94266af83b4f3e50"
Commit
a0171562
authored
Jan 22, 2024
by
zhouxiang
Browse files
修复openai服务客户端脚本的问题
parent
d1b3158d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
api_server_demo/openai-client.py
api_server_demo/openai-client.py
+1
-1
No files found.
api_server_demo/openai-client.py
View file @
a0171562
...
...
@@ -35,7 +35,7 @@ if __name__ == "__main__":
stream
=
True
prompts
=
[
prompt
]
model
=
"baichuan2-fastllm"
"
model
=
"baichuan2-fastllm"
messages
=
[{
"role"
:
"user"
,
"content"
:
"你好"
}]
pool
=
ThreadPoolExecutor
(
max_workers
=
32
)
...
...
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