Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ 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 = [
|
|
|
24 |
"microsoft/phi-4",
|
25 |
token=token,
|
26 |
trust_remote_code=True,
|
27 |
+
torch_dtype=torch.bfloat16
|
28 |
)
|
29 |
tok = AutoTokenizer.from_pretrained("microsoft/phi-4", token=token)
|
30 |
terminators = [
|