Spaces:
Build error
Build error
fix: tweak readerlm
Browse files
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 |
frequency_penalty: 0.25,
|
| 91 |
max_tokens: 8192,
|
|
@@ -124,7 +124,7 @@ export class LmControl extends AsyncService {
|
|
| 124 |
modelSpecific: {
|
| 125 |
top_k: 1,
|
| 126 |
temperature: 0,
|
| 127 |
-
repetition_penalty: 1.
|
| 128 |
presence_penalty: 0.25,
|
| 129 |
frequency_penalty: 0.25,
|
| 130 |
max_tokens: 8192,
|
|
|
|
| 85 |
modelSpecific: {
|
| 86 |
top_k: 1,
|
| 87 |
temperature: 0,
|
| 88 |
+
repetition_penalty: 1.13,
|
| 89 |
presence_penalty: 0.25,
|
| 90 |
frequency_penalty: 0.25,
|
| 91 |
max_tokens: 8192,
|
|
|
|
| 124 |
modelSpecific: {
|
| 125 |
top_k: 1,
|
| 126 |
temperature: 0,
|
| 127 |
+
repetition_penalty: 1.13,
|
| 128 |
presence_penalty: 0.25,
|
| 129 |
frequency_penalty: 0.25,
|
| 130 |
max_tokens: 8192,
|