Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -14,7 +14,6 @@ if torch.cuda.is_available():
|
|
14 |
model = AutoModelForCausalLM.from_pretrained(
|
15 |
model_id,
|
16 |
load_in_4bit=True,
|
17 |
-
local_files_only=True,
|
18 |
torch_dtype=torch.float16
|
19 |
)
|
20 |
else:
|
|
|
14 |
model = AutoModelForCausalLM.from_pretrained(
|
15 |
model_id,
|
16 |
load_in_4bit=True,
|
|
|
17 |
torch_dtype=torch.float16
|
18 |
)
|
19 |
else:
|