mirror of
https://www.modelscope.cn/OpenBMB/MiniCPM-o-2_6.git
synced 2025-08-16 21:56:00 +08:00
update repetition_penalty
This commit is contained in:
parent
93050d4b8c
commit
6b5482cdfa
@ -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