Update README.md
Browse files41 unmodified lines424344454641 unmodified linesmodel = BLIPNet()model.load_state_dict(torch.load("best_model_wts_path"), strict=False)UsageYou need to input the sample in the same way as shown in the example provided at: BLIP-Math. Then you can get the generated text and classification score simultaneously.41 unmodified lines42434445464741 unmodified linesmodel = BLIPNet()model.load_state_dict(torch.load("best_model_wts_path"), strict=False)You need to input the sample in the same way as shown in the example provided at: https://huggingface.co/uf-aice-lab/BLIP-MathThen you can get the generated text and classification score simultaneously.
README.md+3-2