Tonic commited on
Commit
ce60335
·
1 Parent(s): a3eaa33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ tokenizer.padding_side = 'left'
63
 
64
  peft_config = PeftConfig.from_pretrained("Tonic/GaiaMiniMed")
65
  peft_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-7b-instruct")
66
- peft_model = PeftModel.from_pretrained(model, "Tonic/GaiaMiniMed")
67
 
68
  # Specify the configuration class for the model
69
  #model_config = AutoConfig.from_pretrained(base_model_id)
 
63
 
64
  peft_config = PeftConfig.from_pretrained("Tonic/GaiaMiniMed")
65
  peft_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-7b-instruct")
66
+ peft_model = PeftModel.from_pretrained(peft_model, "Tonic/GaiaMiniMed")
67
 
68
  # Specify the configuration class for the model
69
  #model_config = AutoConfig.from_pretrained(base_model_id)