Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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)
|