mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-05 10:29:36 +00:00
fix problems
This commit is contained in:
parent
a644d3ac6c
commit
c022e70a50
@ -106,7 +106,7 @@ class FalconAdapater(BaseLLMAdaper):
|
||||
|
||||
def loader(self, model_path: str, from_pretrained_kwagrs: dict):
|
||||
tokenizer = AutoTokenizer.from_pretrained(model_path, use_fast=False)
|
||||
if QLORA == True:
|
||||
if QLORA:
|
||||
model = AutoModelForCausalLM.from_pretrained(
|
||||
model_path,
|
||||
load_in_4bit=True, #quantize
|
||||
|
Loading…
Reference in New Issue
Block a user