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