Expand OAI Setting Compatibility
This commit is contained in:
parent
f6c95f18fa
commit
7434c9221b
|
@ -4332,6 +4332,11 @@ def oairequest(txt, min, max):
|
||||||
'max_tokens': max,
|
'max_tokens': max,
|
||||||
'temperature': vars.temp,
|
'temperature': vars.temp,
|
||||||
'top_p': vars.top_p,
|
'top_p': vars.top_p,
|
||||||
|
'top_k': vars.top_k,
|
||||||
|
'tfs': vars.tfs,
|
||||||
|
'repetition_penalty': vars.rep_pen,
|
||||||
|
'repetition_penalty_slope': vars.rep_pen_slope,
|
||||||
|
'repetition_penalty_range': vars.rep_pen_range,
|
||||||
'n': 1,
|
'n': 1,
|
||||||
'stream': False
|
'stream': False
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue