Spaces:
Build error
Build error
noelstan99
commited on
Commit
·
3b12eaa
1
Parent(s):
f90506e
model change-phi
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ st.set_page_config(
|
|
| 12 |
# Load model and tokenizer
|
| 13 |
@st.cache_resource
|
| 14 |
def load_model():
|
| 15 |
-
model_name = "ML-GT/
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 17 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float32)
|
| 18 |
return tokenizer, model
|
|
|
|
| 12 |
# Load model and tokenizer
|
| 13 |
@st.cache_resource
|
| 14 |
def load_model():
|
| 15 |
+
model_name = "ML-GT/CS4641-7641-finetuned-phi-3-mini-128k-instruct"
|
| 16 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 17 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float32)
|
| 18 |
return tokenizer, model
|