Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
from llama_cpp import Llama
|
6 |
|
7 |
|
8 |
-
llm = Llama(model_path="Wizard-Vicuna-13B-Uncensored.ggmlv3.
|
9 |
|
10 |
def generate_text(prompt):
|
11 |
output = llm(prompt, max_tokens=468, temperature=0.1, top_p=0.5, echo=False, stop=["#"])
|
|
|
5 |
from llama_cpp import Llama
|
6 |
|
7 |
|
8 |
+
llm = Llama(model_path="Wizard-Vicuna-13B-Uncensored.ggmlv3.q4_K_M.bin", n_ctx=2048, n_batch=126)
|
9 |
|
10 |
def generate_text(prompt):
|
11 |
output = llm(prompt, max_tokens=468, temperature=0.1, top_p=0.5, echo=False, stop=["#"])
|