Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update .env.local.template
Browse files- .env.local.template +5 -1
.env.local.template
CHANGED
@@ -46,11 +46,15 @@ MODELS=`[
|
|
46 |
"parameters": {
|
47 |
"temperature": 0.4,
|
48 |
"repetition_penalty": 1.2,
|
49 |
-
"max_new_tokens": 2000
|
50 |
"stop":["<|im_end|>"]
|
|
|
|
|
|
|
51 |
}
|
52 |
}
|
53 |
]`
|
|
|
54 |
|
55 |
TASK_MODEL=`{
|
56 |
"name": "czearing/article-title-generator",
|
|
|
46 |
"parameters": {
|
47 |
"temperature": 0.4,
|
48 |
"repetition_penalty": 1.2,
|
49 |
+
"max_new_tokens": 2000,
|
50 |
"stop":["<|im_end|>"]
|
51 |
+
},
|
52 |
+
"extraBody":{
|
53 |
+
"presence_penalty":-0.9
|
54 |
}
|
55 |
}
|
56 |
]`
|
57 |
+
#Repetition penality = presence_penalty + 2
|
58 |
|
59 |
TASK_MODEL=`{
|
60 |
"name": "czearing/article-title-generator",
|