pseudotensor commited on
Commit
190bc9c
1 Parent(s): e6b28a4

Recover line breaks

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def main(
62
  tgt_lang: str = "Russian",
63
 
64
  gradio: bool = True,
65
- gradio_avoid_processing_markdown: bool = True,
66
  chat: bool = True,
67
  chat_history: int = 4096, # character length of chat context/history
68
  stream_output: bool = True,
@@ -95,6 +95,10 @@ def main(
95
  share = False
96
  base_model = 'h2oai/h2ogpt-oasst1-512-12b'
97
  load_8bit = True
 
 
 
 
98
 
99
  # get defaults
100
  model_lower = base_model.lower()
 
62
  tgt_lang: str = "Russian",
63
 
64
  gradio: bool = True,
65
+ gradio_avoid_processing_markdown: bool = False,
66
  chat: bool = True,
67
  chat_history: int = 4096, # character length of chat context/history
68
  stream_output: bool = True,
 
95
  share = False
96
  base_model = 'h2oai/h2ogpt-oasst1-512-12b'
97
  load_8bit = True
98
+ temperature = 0.7
99
+ top_p = 1
100
+ top_k = 100
101
+ do_sample = True
102
 
103
  # get defaults
104
  model_lower = base_model.lower()