Spaces:
Runtime error
Runtime error
Commit
ยท
3a52b13
1
Parent(s):
b4b2e81
Update demo.py
Browse files
demo.py
CHANGED
@@ -3,8 +3,8 @@ from ctransformers import AutoModelForCausalLM
|
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
-
llm = AutoModelForCausalLM.from_pretrained("TheBloke/falcon-7b-instruct-GGML", model_file="falcon7b-instruct.ggmlv3.
|
7 |
-
model_type="falcon", threads=
|
8 |
|
9 |
|
10 |
TITLE = """<h2 align="center">๐๏ธ Falcon-Chat ggml ๐๏ธ"""
|
|
|
3 |
import gradio as gr
|
4 |
|
5 |
|
6 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/falcon-7b-instruct-GGML", model_file="falcon7b-instruct.ggmlv3.q4_0.bin",
|
7 |
+
model_type="falcon", threads=10)
|
8 |
|
9 |
|
10 |
TITLE = """<h2 align="center">๐๏ธ Falcon-Chat ggml ๐๏ธ"""
|