Spaces:
Runtime error
Runtime error
Update space
Browse files
app.py
CHANGED
@@ -87,6 +87,9 @@ def trim_adapter_weights(model_path):
|
|
87 |
# raise FileNotFoundError(f"Adapter file not found: {model_path}")
|
88 |
|
89 |
checkpoint = load_file(model_path)
|
|
|
|
|
|
|
90 |
|
91 |
key_to_trim = "lm_head.lora_B.default.weight"
|
92 |
|
|
|
87 |
# raise FileNotFoundError(f"Adapter file not found: {model_path}")
|
88 |
|
89 |
checkpoint = load_file(model_path)
|
90 |
+
print('beginning of checkpoint')
|
91 |
+
print(checkpoint)
|
92 |
+
print('checkpoint end')
|
93 |
|
94 |
key_to_trim = "lm_head.lora_B.default.weight"
|
95 |
|