tykiww commited on
Commit
2f01a3b
1 Parent(s): 6b57d63

Update connections/model.py

Browse files
Files changed (1) hide show
  1. 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