Spaces:
Running
Running
Update modules/config_settings_public.py
Browse files
modules/config_settings_public.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
# FILE: modules/config_settings_public.py (Hugging Face Demo
|
2 |
|
3 |
import os
|
4 |
import sys
|
@@ -58,7 +58,7 @@ MODEL_SPECIFIC_PARAMS = {
|
|
58 |
"qwen": { "chat_format": "chatml" }
|
59 |
}
|
60 |
|
61 |
-
# --- ✅
|
62 |
INFERENCE_PRESETS = {
|
63 |
"balanced": {"temperature": 0.7, "top_p": 0.9, "max_tokens": 1024, "repeat_penalty": 1.1 },
|
64 |
"precise": {"temperature": 0.2, "top_p": 0.7, "top_k": 20, "max_tokens": 1536, "repeat_penalty": 1.05 },
|
@@ -66,7 +66,7 @@ INFERENCE_PRESETS = {
|
|
66 |
}
|
67 |
DEFAULT_INFERENCE_PRESET = "balanced"
|
68 |
|
69 |
-
# --- ✅
|
70 |
DEFAULT_SYSTEM_PROMPT = "You are ZOTHEOS, an ethical AI developed to help humanity. Be clear, respectful, and helpful. Respond only in English."
|
71 |
MODEL_ROLES = {"mistral": "analyst", "gemma": "humanist", "qwen": "skeptic"}
|
72 |
MODEL_ROLE_SYSTEM_PROMPTS = {
|
|
|
1 |
+
# FILE: modules/config_settings_public.py (Hugging Face Demo)
|
2 |
|
3 |
import os
|
4 |
import sys
|
|
|
58 |
"qwen": { "chat_format": "chatml" }
|
59 |
}
|
60 |
|
61 |
+
# --- ✅ TIER INFERENCE PRESETS ---
|
62 |
INFERENCE_PRESETS = {
|
63 |
"balanced": {"temperature": 0.7, "top_p": 0.9, "max_tokens": 1024, "repeat_penalty": 1.1 },
|
64 |
"precise": {"temperature": 0.2, "top_p": 0.7, "top_k": 20, "max_tokens": 1536, "repeat_penalty": 1.05 },
|
|
|
66 |
}
|
67 |
DEFAULT_INFERENCE_PRESET = "balanced"
|
68 |
|
69 |
+
# --- ✅ TIER MODEL ROLES AND PROMPTS ---
|
70 |
DEFAULT_SYSTEM_PROMPT = "You are ZOTHEOS, an ethical AI developed to help humanity. Be clear, respectful, and helpful. Respond only in English."
|
71 |
MODEL_ROLES = {"mistral": "analyst", "gemma": "humanist", "qwen": "skeptic"}
|
72 |
MODEL_ROLE_SYSTEM_PROMPTS = {
|