Spaces:
Running
Running
Update src/parameters.py
Browse files- src/parameters.py +1 -1
src/parameters.py
CHANGED
@@ -7,7 +7,7 @@ wx_url = os.getenv("WX_URL") or "https://eu-de.ml.cloud.ibm.com"
|
|
7 |
system_prompt = os.getenv("SYSTEM_PROMPT") or ""
|
8 |
params = {
|
9 |
"temperature": os.getenv("TEMPERATURE") or 0.7,
|
10 |
-
"max_tokens": os.getenv("
|
11 |
"top_p": os.getenv("TOP_P") or 1.0,
|
12 |
"stop": (
|
13 |
os.getenv("STOP_SEQUENCES", "").split(",")
|
|
|
7 |
system_prompt = os.getenv("SYSTEM_PROMPT") or ""
|
8 |
params = {
|
9 |
"temperature": os.getenv("TEMPERATURE") or 0.7,
|
10 |
+
"max_tokens": os.getenv("MAX_TOKENS") or 4096,
|
11 |
"top_p": os.getenv("TOP_P") or 1.0,
|
12 |
"stop": (
|
13 |
os.getenv("STOP_SEQUENCES", "").split(",")
|