Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -21,11 +21,11 @@ token = os.environ["HF_TOKEN"]
|
|
21 |
|
22 |
|
23 |
model = AutoModelForCausalLM.from_pretrained(
|
24 |
-
"microsoft/
|
25 |
token=token,
|
26 |
trust_remote_code=True,
|
27 |
)
|
28 |
-
tok = AutoTokenizer.from_pretrained("microsoft/
|
29 |
terminators = [
|
30 |
tok.eos_token_id,
|
31 |
]
|
|
|
21 |
|
22 |
|
23 |
model = AutoModelForCausalLM.from_pretrained(
|
24 |
+
"microsoft/phi-4",
|
25 |
token=token,
|
26 |
trust_remote_code=True,
|
27 |
)
|
28 |
+
tok = AutoTokenizer.from_pretrained("microsoft/phi-4", token=token)
|
29 |
terminators = [
|
30 |
tok.eos_token_id,
|
31 |
]
|