Spaces:
Runtime error
Runtime error
Update space
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def trim_adapter_weights(model_path):
|
|
81 |
Trims the last token from the adapter's lm_head.lora_B.default.weight
|
82 |
if there is a mismatch with the base model.
|
83 |
"""
|
84 |
-
model_path = "
|
85 |
# if not os.path.exists(model_path):
|
86 |
# raise FileNotFoundError(f"Adapter file not found: {model_path}")
|
87 |
|
|
|
81 |
Trims the last token from the adapter's lm_head.lora_B.default.weight
|
82 |
if there is a mismatch with the base model.
|
83 |
"""
|
84 |
+
model_path = "./adapter_model.safetensors"
|
85 |
# if not os.path.exists(model_path):
|
86 |
# raise FileNotFoundError(f"Adapter file not found: {model_path}")
|
87 |
|