Spaces:
Sleeping
Sleeping
Jyotiyadav
commited on
Update main.py
Browse files
main.py
CHANGED
@@ -3,10 +3,7 @@ from fastapi import FastAPI
|
|
3 |
from pydantic import BaseModel
|
4 |
|
5 |
|
6 |
-
llm = AutoModelForCausalLM.from_pretrained("zephyr-7b-beta.Q4_K_S.gguf",
|
7 |
-
model_type='mistral',
|
8 |
-
max_new_tokens = 1096,
|
9 |
-
threads = 3,
|
10 |
)
|
11 |
|
12 |
#Pydantic object
|
|
|
3 |
from pydantic import BaseModel
|
4 |
|
5 |
|
6 |
+
llm = AutoModelForCausalLM.from_pretrained("zephyr-7b-beta.Q4_K_S.gguf",max_new_tokens = 1096,threads = 3,
|
|
|
|
|
|
|
7 |
)
|
8 |
|
9 |
#Pydantic object
|