Spaces:
Paused
Paused
Commit
·
dceb191
1
Parent(s):
2ffd26f
Update main.py
Browse files
main.py
CHANGED
|
@@ -10,11 +10,11 @@ from pydantic import BaseModel, Field
|
|
| 10 |
from typing_extensions import Literal
|
| 11 |
from dialogue import DialogueTemplate
|
| 12 |
|
| 13 |
-
llm = AutoModelForCausalLM.from_pretrained("
|
| 14 |
-
model_file="starchat-
|
| 15 |
model_type="starcoder")
|
| 16 |
|
| 17 |
-
app = fastapi.FastAPI(title="Starchat
|
| 18 |
app.add_middleware(
|
| 19 |
CORSMiddleware,
|
| 20 |
allow_origins=["*"],
|
|
|
|
| 10 |
from typing_extensions import Literal
|
| 11 |
from dialogue import DialogueTemplate
|
| 12 |
|
| 13 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/starchat-alpha-GGML",
|
| 14 |
+
model_file="starchat-beta.ggmlv3.q4_0.bin",
|
| 15 |
model_type="starcoder")
|
| 16 |
|
| 17 |
+
app = fastapi.FastAPI(title="Starchat Beta")
|
| 18 |
app.add_middleware(
|
| 19 |
CORSMiddleware,
|
| 20 |
allow_origins=["*"],
|