Aleksandr Maiorov commited on
Commit
c2f54d4
·
1 Parent(s): 9f503a4

- правка настроек

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ llm = LlamaCPP(
40
  # optionally, you can set the path to a pre-downloaded model instead of model_url
41
  model_path=None,
42
  temperature=0.1,
43
- max_new_tokens=256,
44
  # llama2 has a context window of 4096 tokens, but we set it lower to allow for some wiggle room
45
  context_window=1638,
46
  # kwargs to pass to __call__()
 
40
  # optionally, you can set the path to a pre-downloaded model instead of model_url
41
  model_path=None,
42
  temperature=0.1,
43
+ max_new_tokens=64,
44
  # llama2 has a context window of 4096 tokens, but we set it lower to allow for some wiggle room
45
  context_window=1638,
46
  # kwargs to pass to __call__()