Spaces:
Runtime error
Runtime error
Calvin
commited on
Commit
·
64fa7c2
1
Parent(s):
fb8c2d8
updated model and interface
Browse files
app.py
CHANGED
@@ -38,7 +38,6 @@ config = PeftConfig.from_pretrained(PEFT_MODEL)
|
|
38 |
model = AutoModelForCausalLM.from_pretrained(
|
39 |
config.base_model_name_or_path,
|
40 |
return_dict=True,
|
41 |
-
quantization_config=bnb_config,
|
42 |
device_map="auto",
|
43 |
trust_remote_code=True, load_in_8bit=False
|
44 |
)
|
|
|
38 |
model = AutoModelForCausalLM.from_pretrained(
|
39 |
config.base_model_name_or_path,
|
40 |
return_dict=True,
|
|
|
41 |
device_map="auto",
|
42 |
trust_remote_code=True, load_in_8bit=False
|
43 |
)
|