ffreemt commited on
Commit
2987cd6
·
1 Parent(s): 79b022b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -153,12 +153,12 @@ def bot_stream(chat_history, **kwargs):
153
 
154
  SYSTEM_PROMPT = "You are a helpful assistant."
155
  MAX_MAX_NEW_TOKENS = 1024
156
- MAX_NEW_TOKENS = 128
157
 
158
 
159
  @dataclass
160
  class Config:
161
- max_new_tokens: int = 64
162
  repetition_penalty: float = 1.1
163
  temperature: float = 1.0
164
  top_k: int = 0
 
153
 
154
  SYSTEM_PROMPT = "You are a helpful assistant."
155
  MAX_MAX_NEW_TOKENS = 1024
156
+ MAX_NEW_TOKENS = 256
157
 
158
 
159
  @dataclass
160
  class Config:
161
+ max_new_tokens: int = MAX_NEW_TOKENS
162
  repetition_penalty: float = 1.1
163
  temperature: float = 1.0
164
  top_k: int = 0