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