Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ peft_config = PeftConfig.from_pretrained("Tonic/GaiaMiniMed")
|
|
65 |
|
66 |
# Using Optimum
|
67 |
|
68 |
-
peft_model =
|
69 |
peft_model = PeftModel.from_pretrained(peft_model, "Tonic/GaiaMiniMed")
|
70 |
|
71 |
|
|
|
65 |
|
66 |
# Using Optimum
|
67 |
|
68 |
+
peft_model = peft_model.to_bettertransformer("tiiuae/falcon-7b-instruct")
|
69 |
peft_model = PeftModel.from_pretrained(peft_model, "Tonic/GaiaMiniMed")
|
70 |
|
71 |
|