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
chenzhuo
lmdeployEx
Commits
b55dabc6
Commit
b55dabc6
authored
May 22, 2024
by
chenzhuo
Browse files
readme_20240522
parent
fea70571
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lmdeploy/model.py
lmdeploy/model.py
+1
-0
sugon_readme.md
sugon_readme.md
+7
-0
No files found.
lmdeploy/model.py
View file @
b55dabc6
...
...
@@ -452,6 +452,7 @@ If a question does not make any sense, or is not factually coherent, explain why
else
:
ret
+=
f
'
{
user
}
{
self
.
e_inst
}
'
return
ret
@
MODELS
.
register_module
(
name
=
'qwen2-110b'
)
@
MODELS
.
register_module
(
name
=
'qwen2-72b'
)
@
MODELS
.
register_module
(
name
=
'qwen2-14b'
)
...
...
sugon_readme.md
View file @
b55dabc6
...
...
@@ -196,4 +196,11 @@ class Qwen7BChat(BaseModel):
session_len
=
8192
,
top_p
=
0.5
,
top_k
=
40
,
```
### 命令部分(qwen1.5)
```
shell
convert2:
lmdeploy convert
--model_name
qwen2-7b
--model_path
/test_data/Qwen_Qwen1.5-32B-Chat
--tokenizer-path
/test_data/Qwen_Qwen1.5-32B-Chat/vocab.json
--model_format
hf
chat:
lmdeploy chat turbomind
--model_path
workspace
--tp
4
```
\ No newline at end of file
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