eswardivi commited on
Commit
d141da3
·
verified ·
1 Parent(s): e003367

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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 = [