# Relevance score in ViT model

**URL:** <https://discuss.pytorch.org/t/relevance-score-in-vit-model/215470>\
**Category:** PyTorch Live\
**Created:** [January 16, 2025, 11:46am UTC](https://discuss.pytorch.org/t/relevance-score-in-vit-model/215470 "2025-01-16T11:46:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kallel\_Mariem](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/kallel_mariem/32/64790_2.png) [@Kallel\_Mariem](https://discuss.pytorch.org/u/Kallel_Mariem)\
**Post date:** [January 16, 2025, 11:46am UTC](https://discuss.pytorch.org/t/relevance-score-in-vit-model/215470/1 "2025-01-16T11:46:40Z")

</div>

i work on a pretrained vit model for image classification and i want to store the relevance scores in the forward pass how can i do that ?
