Spaces:
Running
on
Zero
Running
on
Zero
Daemontatox
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from transformers import (
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
-
MODEL_ID = "
|
24 |
|
25 |
|
26 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
@@ -191,7 +191,7 @@ def chat_response(
|
|
191 |
system_prompt: str,
|
192 |
temperature: float = 0.2,
|
193 |
max_new_tokens: int = 32000,
|
194 |
-
top_p: float = 0.
|
195 |
top_k: int = 45,
|
196 |
penalty: float = 1.2,
|
197 |
):
|
|
|
20 |
)
|
21 |
|
22 |
# Configuration Constants
|
23 |
+
MODEL_ID = "internlm/internlm3-8b-instruct"
|
24 |
|
25 |
|
26 |
# Understand]: Analyze the question to identify key details and clarify the goal.
|
|
|
191 |
system_prompt: str,
|
192 |
temperature: float = 0.2,
|
193 |
max_new_tokens: int = 32000,
|
194 |
+
top_p: float = 0.1,
|
195 |
top_k: int = 45,
|
196 |
penalty: float = 1.2,
|
197 |
):
|