gdnartea commited on
Commit
fb0a016
·
verified ·
1 Parent(s): 0bc1879

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ torch.random.manual_seed(0)
19
  proc_model_name = "microsoft/Phi-3-mini-4k-instruct"
20
  proc_model = AutoModelForCausalLM.from_pretrained(
21
  proc_model_name,
 
22
  trust_remote_code=True,
23
  low_cpu_mem_usage=True,
24
  )
 
19
  proc_model_name = "microsoft/Phi-3-mini-4k-instruct"
20
  proc_model = AutoModelForCausalLM.from_pretrained(
21
  proc_model_name,
22
+ torch_dtype=torch.float16,
23
  trust_remote_code=True,
24
  low_cpu_mem_usage=True,
25
  )