Spaces:
Sleeping
Sleeping
xavierbarbier
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ import torch
|
|
35 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
36 |
|
37 |
|
38 |
-
model_name = "microsoft/Phi-3.5-mini-
|
39 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
40 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.int8, device_map="auto")
|
41 |
|
|
|
35 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
36 |
|
37 |
|
38 |
+
model_name = "microsoft/Phi-3.5-mini-instruct"
|
39 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
40 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.int8, device_map="auto")
|
41 |
|