johnpaulbin commited on
Commit
5c791f3
·
verified ·
1 Parent(s): 2d6f6bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ adapter_path = hf_hub_download(repo_id=adapter_repo, filename=adapter_file)
16
  llm = Llama(
17
  model_path=base_model_path,
18
  lora_path=adapter_path,
19
- n_ctx=1024, # Context length, set manually since adapter lacks it
20
- n_threads=4, # Adjust based on your system
21
  n_gpu_layers=0 # Set to >0 if GPU acceleration is desired and supported
22
  )
23
 
 
16
  llm = Llama(
17
  model_path=base_model_path,
18
  lora_path=adapter_path,
19
+ n_ctx=512, # Context length, set manually since adapter lacks it
20
+ n_threads=2, # Adjust based on your system
21
  n_gpu_layers=0 # Set to >0 if GPU acceleration is desired and supported
22
  )
23