litagin commited on
Commit
7a1d956
β€’
1 Parent(s): e8dc53b

Change ngram 5

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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": 0,
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": 0,
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
  """