yuzaa commited on
Commit
956319a
·
verified ·
1 Parent(s): 4ac69b4

Update modeling_minicpmo.py

Browse files
Files changed (1) hide show
  1. modeling_minicpmo.py +2 -2
modeling_minicpmo.py CHANGED
@@ -960,7 +960,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
960
  "top_k": 100,
961
  "temperature": 0.7,
962
  "do_sample": True,
963
- "repetition_penalty": 1.01,
964
  }
965
  else:
966
  generation_config = {
@@ -1163,7 +1163,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
1163
  "top_k": 100,
1164
  "temperature": 0.7,
1165
  "do_sample": True,
1166
- "repetition_penalty": 1.01,
1167
  }
1168
  else:
1169
  generation_config = {
 
960
  "top_k": 100,
961
  "temperature": 0.7,
962
  "do_sample": True,
963
+ "repetition_penalty": 1.05,
964
  }
965
  else:
966
  generation_config = {
 
1163
  "top_k": 100,
1164
  "temperature": 0.7,
1165
  "do_sample": True,
1166
+ "repetition_penalty": 1.05,
1167
  }
1168
  else:
1169
  generation_config = {