Spaces:
Runtime error
Runtime error
Update models/baize.py
Browse files- models/baize.py +1 -1
models/baize.py
CHANGED
@@ -67,7 +67,7 @@ def load_model(
|
|
67 |
model = LlamaForCausalLM.from_pretrained(
|
68 |
base,
|
69 |
load_in_8bit=mode_8bit,
|
70 |
-
load_in_4bit=mode_4bit,
|
71 |
torch_dtype=torch.float16,
|
72 |
device_map="auto",
|
73 |
use_safetensors=False
|
|
|
67 |
model = LlamaForCausalLM.from_pretrained(
|
68 |
base,
|
69 |
load_in_8bit=mode_8bit,
|
70 |
+
# load_in_4bit=mode_4bit,
|
71 |
torch_dtype=torch.float16,
|
72 |
device_map="auto",
|
73 |
use_safetensors=False
|