How to generate predictions from this model?

#3
by vivasvan100 - opened

sentence = tokenizer("god bless you",return_tensors="pt")
outputs = model(**inputs)
print(outputs.logits)

tensor([[ 1.9721, -1.8041]], grad_fn=<AddmmBackward0>)

is this how to generate the outputs?

Sign up or log in to comment