lakxs commited on
Commit
cde5754
โ€ข
1 Parent(s): 0b78609

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -294,7 +294,7 @@ def get_conversation_chain(vectorstore):
294
  model_path = hf_hub_download(repo_id=model_name_or_path, filename=model_basename)
295
 
296
  llm = LlamaCpp(model_path=model_path,
297
- n_ctx=4086,
298
  input={"temperature": 0.75, "max_length": 2000, "top_p": 1},
299
  verbose=True, )
300
  # ๋Œ€ํ™” ๊ธฐ๋ก์„ ์ €์žฅํ•˜๊ธฐ ์œ„ํ•œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
 
294
  model_path = hf_hub_download(repo_id=model_name_or_path, filename=model_basename)
295
 
296
  llm = LlamaCpp(model_path=model_path,
297
+ n_ctx=9000,
298
  input={"temperature": 0.75, "max_length": 2000, "top_p": 1},
299
  verbose=True, )
300
  # ๋Œ€ํ™” ๊ธฐ๋ก์„ ์ €์žฅํ•˜๊ธฐ ์œ„ํ•œ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.