Spaces:
Build error
Build error
fix: readerlm repetition_penalty
Browse files- backend/functions/src/services/lm.ts +2 -2
- thinapps-shared +1 -1
backend/functions/src/services/lm.ts
CHANGED
|
@@ -85,7 +85,7 @@ export class LmControl extends AsyncService {
|
|
| 85 |
modelSpecific: {
|
| 86 |
top_k: 1,
|
| 87 |
temperature: 0,
|
| 88 |
-
repetition_penalty: 1.
|
| 89 |
presence_penalty: 0.25,
|
| 90 |
max_tokens: 8192,
|
| 91 |
}
|
|
@@ -123,7 +123,7 @@ export class LmControl extends AsyncService {
|
|
| 123 |
modelSpecific: {
|
| 124 |
top_k: 1,
|
| 125 |
temperature: 0,
|
| 126 |
-
repetition_penalty: 1.
|
| 127 |
presence_penalty: 0.25,
|
| 128 |
max_tokens: 8192,
|
| 129 |
}
|
|
|
|
| 85 |
modelSpecific: {
|
| 86 |
top_k: 1,
|
| 87 |
temperature: 0,
|
| 88 |
+
repetition_penalty: 1.2,
|
| 89 |
presence_penalty: 0.25,
|
| 90 |
max_tokens: 8192,
|
| 91 |
}
|
|
|
|
| 123 |
modelSpecific: {
|
| 124 |
top_k: 1,
|
| 125 |
temperature: 0,
|
| 126 |
+
repetition_penalty: 1.2,
|
| 127 |
presence_penalty: 0.25,
|
| 128 |
max_tokens: 8192,
|
| 129 |
}
|
thinapps-shared
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
Subproject commit
|
|
|
|
| 1 |
+
Subproject commit 1463a18b1c039e5c0d1073998a8d6953f811406d
|