Token classification

i followed token classification tutorial on above link trained completed successufully then i predicted

model = DistilBertForTokenClassification.from_pretrained('./results/checkpoint-500', num_labels=len(unique_tags))
trainer = Trainer(
    model=model,                         # the instantiated 🤗 Transformers model to be trained

res = trainer.predict(new_dataset)
predictions = res.predictions```
i am getting an numpy array of d dimension how to convert predicted values to its corresponding tokens and i am assuming that res.predictions is numerical value of tags not tokens if i am wrong correct me

You can check out this thread I just wrote on how to convert predictions to actual labels for token classification models.