Chris Alexiuk commited on
Commit
8622dcd
1 Parent(s): 88c346b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -8,6 +8,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)
13
 
 
8
  config.base_model_name_or_path,
9
  return_dict=True,
10
  device_map="auto",
11
+ load_in_4bit=True,
12
  )
13
  tokenizer = AutoTokenizer.from_pretrained(config.base_model_name_or_path)
14