taufiqdp commited on
Commit
c96c1a0
1 Parent(s): 161110e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ model_id = "microsoft/Phi-3-mini-128k-instruct"
16
  tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
17
  model = AutoModelForCausalLM.from_pretrained(
18
  model_id,
19
- dtype=torch.bfloat16,
20
  device_map="auto",
21
  trust_remote_code=True,
22
  attn_implementation="flash_attention_2"
 
16
  tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
17
  model = AutoModelForCausalLM.from_pretrained(
18
  model_id,
19
+ torch_dtype=torch.bfloat16,
20
  device_map="auto",
21
  trust_remote_code=True,
22
  attn_implementation="flash_attention_2"