mobinln commited on
Commit
f548c4a
1 Parent(s): 68eded2

change to llama 3.1

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,16 +1,16 @@
1
  import gradio as gr
2
  from llama_cpp import Llama
3
 
4
- model = "MaziyarPanahi/Mistral-7B-Instruct-v0.3-GGUF"
5
  llm = Llama.from_pretrained(
6
  repo_id=model,
7
- filename="Mistral-7B-Instruct-v0.3.Q4_K_M.gguf",
8
  verbose=True,
9
  use_mmap=False,
10
  use_mlock=True,
11
  n_threads=2,
12
  n_threads_batch=2,
13
- n_ctx=32000,
14
  )
15
 
16
 
 
1
  import gradio as gr
2
  from llama_cpp import Llama
3
 
4
+ model = "lmstudio-community/Meta-Llama-3.1-8B-Instruct-GGUF"
5
  llm = Llama.from_pretrained(
6
  repo_id=model,
7
+ filename="Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf",
8
  verbose=True,
9
  use_mmap=False,
10
  use_mlock=True,
11
  n_threads=2,
12
  n_threads_batch=2,
13
+ n_ctx=80000,
14
  )
15
 
16