CogVLM
CogVLM copied to clipboard
Confidence score
trafficstars
Hi, How to check the confidence score or probability score of the generated text? Throwing me error when I try to find the logits
Apply normal ligits using torch and you need to pass output_scores=True to the model.gen function