Spaces:
Sleeping
Sleeping
Update connections/model.py
Browse files- connections/model.py +1 -1
connections/model.py
CHANGED
@@ -18,7 +18,7 @@ class InferencePipeline:
|
|
18 |
|
19 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
20 |
self.conf["model"]["model_name"],
|
21 |
-
load_in_4bit = self.conf["model"]["load_in_4bit"],
|
22 |
)
|
23 |
tokenizer = AutoTokenizer.from_pretrained(self.path)
|
24 |
|
|
|
18 |
|
19 |
model = AutoPeftModelForCausalLM.from_pretrained(
|
20 |
self.conf["model"]["model_name"],
|
21 |
+
load_in_4bit = not self.conf["model"]["load_in_4bit"],
|
22 |
)
|
23 |
tokenizer = AutoTokenizer.from_pretrained(self.path)
|
24 |
|