Spaces:
Runtime error
Runtime error
Change temperature to 0.35 per Mistral recommendation (#1)
Browse files- Change temperature to 0.35 per Mistral recommendation (43d0c5961a63c19060279f041a469d3ee98447a5)
Co-authored-by: Thaddée Tyl <[email protected]>
app.py
CHANGED
@@ -44,7 +44,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
44 |
def stream_chat(
|
45 |
message: str,
|
46 |
history: list,
|
47 |
-
temperature: float = 0.
|
48 |
max_new_tokens: int = 1024,
|
49 |
top_p: float = 1.0,
|
50 |
top_k: int = 20,
|
|
|
44 |
def stream_chat(
|
45 |
message: str,
|
46 |
history: list,
|
47 |
+
temperature: float = 0.35,
|
48 |
max_new_tokens: int = 1024,
|
49 |
top_p: float = 1.0,
|
50 |
top_k: int = 20,
|