I am working on SequenceClassification task and dont know how to see the predictions
here is my code

from transformers import DistilBertTokenizer, TFDistilBertForMaskedLM
import tensorflow as tf
import torch
loaded_model = DistilBertForSequenceClassification.from_pretrained("/content/results/distillbert/model1",return_dict=True)
tokenizer = DistilBertTokenizer.from_pretrained(‘distilbert-base-cased’)
inputs = tokenizer(“Hello, this news is Not good for learning”, return_tensors=“pt”)
labels = torch.tensor([1]).unsqueeze(0)  # Batch size 1
outputs = loaded_model(**inputs, labels=labels)
loss = outputs.loss
logits = outputs.logits