Chris Alexiuk
commited on
Commit
·
88c346b
1
Parent(s):
746e733
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ config = PeftConfig.from_pretrained(peft_model_id)
|
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|
9 |
return_dict=True,
|
10 |
-
load_in_8bit=True,
|
11 |
device_map="auto",
|
12 |
)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|
|
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|
9 |
return_dict=True,
|
|
|
10 |
device_map="auto",
|
11 |
)
|
12 |
tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
|