yurezsml commited on
Commit
a8786dc
1 Parent(s): ee85bfb

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ model = AutoModelForCausalLM.from_pretrained(
41
  trust_remote_code=True
42
  )
43
 
44
- ft_model = PeftModel.from_pretrained(model, "yurezsml/phi2_chan")
45
 
46
  def remove_accents(input_str):
47
  nfkd_form = unicodedata.normalize('NFKD', input_str)
 
41
  trust_remote_code=True
42
  )
43
 
44
+ ft_model = PeftModel.from_pretrained(model, "yurezsml/phi2_chan", offload_dir="")
45
 
46
  def remove_accents(input_str):
47
  nfkd_form = unicodedata.normalize('NFKD', input_str)