Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from transformers import (
|
|
| 9 |
|
| 10 |
# ---------------- CONFIG ----------------
|
| 11 |
MODEL_ID = "Qwen/Qwen3-4B-Instruct-2507"
|
| 12 |
-
MAX_NEW_TOKENS =
|
| 13 |
TEMPERATURE = 0.7
|
| 14 |
TOP_P = 0.9
|
| 15 |
# ----------------------------------------
|
|
@@ -52,9 +52,9 @@ if st.button("Send") and prompt.strip():
|
|
| 52 |
"Answer directly and naturally. "
|
| 53 |
"Do not use greetings, pleasantries, or offers of help. "
|
| 54 |
"Respond only with the requested information or explanation. "
|
| 55 |
-
"Use plain
|
| 56 |
"Keep responses short, clear, and focused. "
|
| 57 |
-
"Your owner is Neon. Mention Neon only if explicitly asked.
|
| 58 |
)
|
| 59 |
|
| 60 |
chat = [
|
|
|
|
| 9 |
|
| 10 |
# ---------------- CONFIG ----------------
|
| 11 |
MODEL_ID = "Qwen/Qwen3-4B-Instruct-2507"
|
| 12 |
+
MAX_NEW_TOKENS = 16384
|
| 13 |
TEMPERATURE = 0.7
|
| 14 |
TOP_P = 0.9
|
| 15 |
# ----------------------------------------
|
|
|
|
| 52 |
"Answer directly and naturally. "
|
| 53 |
"Do not use greetings, pleasantries, or offers of help. "
|
| 54 |
"Respond only with the requested information or explanation. "
|
| 55 |
+
"Use plain and rich code markdowns"
|
| 56 |
"Keep responses short, clear, and focused. "
|
| 57 |
+
"Your owner is Neon. Mention Neon only if explicitly asked. Neon is a man the pronoun sghould always be 'him'
|
| 58 |
)
|
| 59 |
|
| 60 |
chat = [
|