habdine commited on
Commit
50c0f11
1 Parent(s): 227b1f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,7 +36,7 @@ def generate(
36
  temperature: float = 0.6,
37
  top_p: float = 0.9,
38
  top_k: int = 50,
39
- repetition_penalty: float = 1.2,
40
  ) -> Iterator[str]:
41
  conversation = chat_history.copy()
42
  conversation.append({"role": "user", "content": message})
@@ -105,7 +105,7 @@ chat_interface = gr.ChatInterface(
105
  minimum=1.0,
106
  maximum=2.0,
107
  step=0.05,
108
- value=1.2,
109
  ),
110
  ],
111
  stop_btn=None,
@@ -113,7 +113,7 @@ chat_interface = gr.ChatInterface(
113
  ['شكون لي صنعك؟'],
114
  ["شنو كيتسمى المنتخب المغربي ؟"],
115
  ["أشنو كايمييز المملكة المغربية."],
116
- ["ترجم للدارجة:\nAtlas Chat is the first open source large language model that talks in Darija."],
117
  ],
118
  cache_examples=False,
119
  type="messages",
 
36
  temperature: float = 0.6,
37
  top_p: float = 0.9,
38
  top_k: int = 50,
39
+ repetition_penalty: float = 1.0,
40
  ) -> Iterator[str]:
41
  conversation = chat_history.copy()
42
  conversation.append({"role": "user", "content": message})
 
105
  minimum=1.0,
106
  maximum=2.0,
107
  step=0.05,
108
+ value=1.0,
109
  ),
110
  ],
111
  stop_btn=None,
 
113
  ['شكون لي صنعك؟'],
114
  ["شنو كيتسمى المنتخب المغربي ؟"],
115
  ["أشنو كايمييز المملكة المغربية."],
116
+ ["ترجم للدارجة:\nAtlas-Chat is the first open source large language model that talks in Darija."],
117
  ],
118
  cache_examples=False,
119
  type="messages",