Luigi commited on
Commit
1aba000
·
1 Parent(s): cc08312

reduce n_ctx to 512

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def update_llm(size, model_file, clip_file, verbose_mode):
98
  llm = Llama(
99
  model_path=mf,
100
  chat_handler=handler,
101
- n_ctx=8192,
102
  verbose=verbose_mode,
103
  n_threads=max(2, os.cpu_count())
104
  )
 
98
  llm = Llama(
99
  model_path=mf,
100
  chat_handler=handler,
101
+ n_ctx=512,
102
  verbose=verbose_mode,
103
  n_threads=max(2, os.cpu_count())
104
  )