change to gemma 2 2b
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
|
4 |
-
model = "
|
5 |
llm = Llama.from_pretrained(
|
6 |
repo_id=model,
|
7 |
-
filename="
|
8 |
verbose=True,
|
9 |
use_mmap=False,
|
10 |
use_mlock=True,
|
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
|
4 |
+
model = "lmstudio-community/gemma-2-2b-it-GGUF"
|
5 |
llm = Llama.from_pretrained(
|
6 |
repo_id=model,
|
7 |
+
filename="gemma-2-2b-it-Q8_0.gguf",
|
8 |
verbose=True,
|
9 |
use_mmap=False,
|
10 |
use_mlock=True,
|