Spaces:
Runtime error
Runtime error
Commit
·
8ec417a
1
Parent(s):
cb217fc
Update app.py
Browse files
app.py
CHANGED
|
@@ -192,10 +192,10 @@ def predict(
|
|
| 192 |
def proc_submission(
|
| 193 |
input_text: str,
|
| 194 |
model_name: str,
|
|
|
|
| 195 |
predrop_stopwords: bool = False,
|
| 196 |
repetition_penalty: float = 0.5,
|
| 197 |
no_repeat_ngram_size: int = 3,
|
| 198 |
-
length_penalty: float = 1.5,
|
| 199 |
token_batch_length: int = 1530,
|
| 200 |
num_beams: int = 3,
|
| 201 |
max_input_length: int = 8182,
|
|
|
|
| 192 |
def proc_submission(
|
| 193 |
input_text: str,
|
| 194 |
model_name: str,
|
| 195 |
+
length_penalty: float,
|
| 196 |
predrop_stopwords: bool = False,
|
| 197 |
repetition_penalty: float = 0.5,
|
| 198 |
no_repeat_ngram_size: int = 3,
|
|
|
|
| 199 |
token_batch_length: int = 1530,
|
| 200 |
num_beams: int = 3,
|
| 201 |
max_input_length: int = 8182,
|