Spaces:
Runtime error
Runtime error
bug fix
Browse files
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')
|