ljsabc commited on
Commit
f494a07
1 Parent(s): 31c18b1

Added a debugging line to ensure the dump of peft config.

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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