Spaces:
Sleeping
Sleeping
SMeyersMrOvkill
commited on
Commit
·
f8c3ed7
1
Parent(s):
6847a4d
reddy
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
|
4 |
-
llm = Llama.from_pretrained("", filename="", n_ctx=16384, n_gpu_layers=99)
|
5 |
|
6 |
def code_block(txt, mdn):
|
7 |
return txt + (res := llm(
|
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
|
4 |
+
llm = Llama.from_pretrained("bartowski/starcoder2-15b-instruct-v0.1-GGUF", filename="starcoder2-15b-instruct-v0.1-Q6_K.gguf", n_ctx=16384, n_gpu_layers=99)
|
5 |
|
6 |
def code_block(txt, mdn):
|
7 |
return txt + (res := llm(
|