Spaces:
Paused
Paused
change model
Browse files
app.py
CHANGED
@@ -5,8 +5,8 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
-
tokenizer = AutoTokenizer.from_pretrained("Intel/neural-chat-7b-v3")
|
9 |
-
model = AutoModelForCausalLM.from_pretrained("Intel/neural-chat-7b-v3")
|
10 |
|
11 |
class ChatInput(BaseModel):
|
12 |
system_input: str
|
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
+
tokenizer = AutoTokenizer.from_pretrained("Intel/neural-chat-7b-v3-1")
|
9 |
+
model = AutoModelForCausalLM.from_pretrained("Intel/neural-chat-7b-v3-1")
|
10 |
|
11 |
class ChatInput(BaseModel):
|
12 |
system_input: str
|