Spaces:
Running
on
Zero
Running
on
Zero
Change ngram 5
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ generate_kwargs = {
|
|
18 |
"language": "Japanese",
|
19 |
"do_sample": False,
|
20 |
"num_beams": 1,
|
21 |
-
"no_repeat_ngram_size":
|
22 |
"max_new_tokens": 64,
|
23 |
}
|
24 |
|
@@ -99,8 +99,8 @@ generate_kwargs = {
|
|
99 |
"language": "Japanese",
|
100 |
"do_sample": False,
|
101 |
"num_beams": 1,
|
102 |
-
"no_repeat_ngram_size":
|
103 |
-
"max_new_tokens": 64, #
|
104 |
}
|
105 |
```
|
106 |
"""
|
|
|
18 |
"language": "Japanese",
|
19 |
"do_sample": False,
|
20 |
"num_beams": 1,
|
21 |
+
"no_repeat_ngram_size": 5,
|
22 |
"max_new_tokens": 64,
|
23 |
}
|
24 |
|
|
|
99 |
"language": "Japanese",
|
100 |
"do_sample": False,
|
101 |
"num_beams": 1,
|
102 |
+
"no_repeat_ngram_size": 5,
|
103 |
+
"max_new_tokens": 64, # η΅ζγι·γγ¨γγ―ιδΈγ§ζγ‘εγγγ
|
104 |
}
|
105 |
```
|
106 |
"""
|