Commit
·
0247d00
1
Parent(s):
4ade823
Update main.py
Browse files
main.py
CHANGED
|
@@ -15,7 +15,7 @@ from ctransformers import AutoModelForCausalLM
|
|
| 15 |
from pydantic import BaseModel
|
| 16 |
|
| 17 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/WizardCoder-15B-1.0-GGML",
|
| 18 |
-
model_file="WizardCoder-15B-1.0.ggmlv3.
|
| 19 |
model_type="starcoder",
|
| 20 |
threads=8)
|
| 21 |
app = fastapi.FastAPI(title="🪄WizardCoder💫")
|
|
|
|
| 15 |
from pydantic import BaseModel
|
| 16 |
|
| 17 |
llm = AutoModelForCausalLM.from_pretrained("TheBloke/WizardCoder-15B-1.0-GGML",
|
| 18 |
+
model_file="WizardCoder-15B-1.0.ggmlv3.q5_0.bin",
|
| 19 |
model_type="starcoder",
|
| 20 |
threads=8)
|
| 21 |
app = fastapi.FastAPI(title="🪄WizardCoder💫")
|