Spaces:
Runtime error
Runtime error
Added a debugging line to ensure the dump of peft config.
Browse files
app.py
CHANGED
@@ -32,6 +32,8 @@ model = PeftModel.from_pretrained(
|
|
32 |
torch_dtype=torch.float,
|
33 |
)
|
34 |
|
|
|
|
|
35 |
# We have to use full precision, as some tokens are >65535
|
36 |
model.eval()
|
37 |
|
|
|
32 |
torch_dtype=torch.float,
|
33 |
)
|
34 |
|
35 |
+
# dump a log to ensure everything works well
|
36 |
+
print(model.peft_config)
|
37 |
# We have to use full precision, as some tokens are >65535
|
38 |
model.eval()
|
39 |
|