Update README.md
Browse files40 unmodified lines414243444445464740 unmodified lines return outputs, logits model = BLIPNet()model.load_state_dict(torch.load("best_model_wts_path"), strict=False)model.load_state_dict(torch.load("BLILP_Generation_Classification.bin"), 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+1-1