HemaAM commited on
Commit
6f58c22
·
1 Parent(s): e199dfe
Files changed (1) hide show
  1. utils.py +0 -1
utils.py CHANGED
@@ -172,7 +172,6 @@ model = AutoModelForCausalLM.from_pretrained(
172
  "microsoft/phi-2",
173
  torch_dtype=torch.float32,
174
  device_map="cpu",
175
- device_map="cpu",
176
  trust_remote_code=True
177
  )
178
  model.load_adapter('checkpoint-1100')
 
172
  "microsoft/phi-2",
173
  torch_dtype=torch.float32,
174
  device_map="cpu",
 
175
  trust_remote_code=True
176
  )
177
  model.load_adapter('checkpoint-1100')