srijaydeshpande commited on
Commit
61a98ee
·
1 Parent(s): 0f8b928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,8 +15,8 @@ subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
15
  from llama_cpp import Llama
16
 
17
  hf_hub_download(
18
- repo_id="bartowski/Meta-Llama-3-70B-Instruct-GGUF",
19
- filename="Meta-Llama-3-70B-Instruct-IQ3_XXS.gguf",
20
  local_dir = "./models"
21
  )
22
 
@@ -130,7 +130,7 @@ def pdf_to_text(files, output_folder, prompt, maxtokens=2048, temperature=0, top
130
 
131
 
132
  # model_id = "Meta-Llama-3-8B-Instruct.Q8_0.gguf"
133
- model_id = "models/Meta-Llama-3-70B-Instruct-IQ3_XXS.gguf"
134
  model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=-1, n_batch=128)
135
 
136
  css = ".gradio-container {background: 'logo.png'}"
 
15
  from llama_cpp import Llama
16
 
17
  hf_hub_download(
18
+ repo_id="QuantFactory/Meta-Llama-3-8B-Instruct-GGUF",
19
+ filename="Meta-Llama-3-8B-Instruct.Q8_0.gguf",
20
  local_dir = "./models"
21
  )
22
 
 
130
 
131
 
132
  # model_id = "Meta-Llama-3-8B-Instruct.Q8_0.gguf"
133
+ model_id = "models/Meta-Llama-3-8B-Instruct.Q8_0.gguf"
134
  model = Llama(model_path=model_id, n_ctx=2048, n_threads=8, n_gpu_layers=-1, n_batch=128)
135
 
136
  css = ".gradio-container {background: 'logo.png'}"