Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
@@ -12,8 +12,12 @@ from pydantic import BaseModel, Field
|
|
12 |
from typing_extensions import Literal
|
13 |
from dialogue import DialogueTemplate
|
14 |
|
15 |
-
llm = AutoModelForCausalLM.from_pretrained("gsaivinay/airoboros-13B-gpt4-1.3-GGML",
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
model_type="llama")
|
18 |
|
19 |
app = fastapi.FastAPI(title="Starchat Beta")
|
|
|
12 |
from typing_extensions import Literal
|
13 |
from dialogue import DialogueTemplate
|
14 |
|
15 |
+
# llm = AutoModelForCausalLM.from_pretrained("gsaivinay/airoboros-13B-gpt4-1.3-GGML",
|
16 |
+
# model_file="airoboros-13b-gpt4-1.3.ggmlv3.q4_1.bin",
|
17 |
+
# model_type="llama")
|
18 |
+
|
19 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Llama-2-13B-chat-GGML",
|
20 |
+
model_file="llama-2-13b-chat.ggmlv3.q2_K.bin",
|
21 |
model_type="llama")
|
22 |
|
23 |
app = fastapi.FastAPI(title="Starchat Beta")
|