mirror of
https://www.modelscope.cn/OpenBMB/MiniCPM-o-2_6-int4.git
synced 2025-08-15 04:35:53 +08:00
update
This commit is contained in:
parent
1ab8c4a23f
commit
47d04c823c
@ -960,7 +960,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
|
|||||||
"top_k": 100,
|
"top_k": 100,
|
||||||
"temperature": 0.7,
|
"temperature": 0.7,
|
||||||
"do_sample": True,
|
"do_sample": True,
|
||||||
"repetition_penalty": 1.01,
|
"repetition_penalty": 1.05,
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
generation_config = {
|
generation_config = {
|
||||||
@ -1163,7 +1163,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
|
|||||||
"top_k": 100,
|
"top_k": 100,
|
||||||
"temperature": 0.7,
|
"temperature": 0.7,
|
||||||
"do_sample": True,
|
"do_sample": True,
|
||||||
"repetition_penalty": 1.01,
|
"repetition_penalty": 1.05,
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
generation_config = {
|
generation_config = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user