uf-aice-lab commited on
Commit
fbbf7b9
·
verified ·
1 Parent(s): a1c0234

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -41,7 +41,7 @@ class BLIPNet(torch.nn.Module):
41
  return outputs, logits
42
 
43
  model = BLIPNet()
44
- model.load_state_dict(torch.load("best_model_wts_path"), strict=False)
45
 
46
  You need to input the sample in the same way as shown in the example provided at: https://huggingface.co/uf-aice-lab/BLIP-Math
47
  Then you can get the generated text and classification score simultaneously.
 
41
  return outputs, logits
42
 
43
  model = BLIPNet()
44
+ model.load_state_dict(torch.load("BLILP_Generation_Classification.bin"), strict=False)
45
 
46
  You need to input the sample in the same way as shown in the example provided at: https://huggingface.co/uf-aice-lab/BLIP-Math
47
  Then you can get the generated text and classification score simultaneously.