Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi import FastAPI, Form
|
|
3 |
from pydantic import BaseModel
|
4 |
|
5 |
#Model loading
|
6 |
-
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Toppy-M-7B-GGUF", model_file="toppy-m-7b.
|
7 |
model_type='mistral',
|
8 |
max_new_tokens = 1096,
|
9 |
threads = 3,
|
|
|
3 |
from pydantic import BaseModel
|
4 |
|
5 |
#Model loading
|
6 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/Toppy-M-7B-GGUF", model_file="toppy-m-7b.Q5_K_S.gguf",
|
7 |
model_type='mistral',
|
8 |
max_new_tokens = 1096,
|
9 |
threads = 3,
|