dpaul93 commited on
Commit
87a94a4
·
verified ·
1 Parent(s): a8cc6dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ config.base_model_name_or_path = "tiiuae/falcon-7b"
42
  trust_remote_code=True
43
  )'''
44
 
45
- model = AutoModelForCausalLM.from_pretrained(PEFT_MODEL, device_map="auto")
46
 
47
  tokenizer=AutoTokenizer.from_pretrained(config.base_model_name_or_path)
48
  tokenizer.pad_token = tokenizer.eos_token
 
42
  trust_remote_code=True
43
  )'''
44
 
45
+ model = AutoModelForCausalLM.from_pretrained(PEFT_MODEL, device_map="auto",offload_folder="offload")
46
 
47
  tokenizer=AutoTokenizer.from_pretrained(config.base_model_name_or_path)
48
  tokenizer.pad_token = tokenizer.eos_token