Skip to content

Commit

Permalink
fix openai extension not working because of absent new defaults (ooba…
Browse files Browse the repository at this point in the history
  • Loading branch information
kabachuha committed Nov 4, 2023
1 parent b7a409e commit e18a046
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions extensions/openai/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
'auto_max_new_tokens': False,
'max_tokens_second': 0,
'temperature': 1.0,
'temperature_last': False,
'top_p': 1.0,
'min_p': 0,
'top_k': 1, # choose 20 for chat in absence of another default
'repetition_penalty': 1.18,
'presence_penalty': 0,
Expand Down

0 comments on commit e18a046

Please sign in to comment.