File size: 650 Bytes
67c350c
 
 
 
 
 
 
 
 
 
 
 
 
 
57c8491
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: ViT Visualizer
emoji: 🦀
colorFrom: red
colorTo: green
sdk: gradio
sdk_version: 5.44.1
app_file: app.py
pinned: false
license: apache-2.0
short_description: Visualizes cosine-similarity of CLS-token with image patches
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference


# Dynamic ViT Visualizer
Upload a Hugging Face ViT model and an image.  
Visualize the cosine similarity between the CLS token and image patches.

**How to use:**
1. Enter the model repo ID. 
2. Upload an image.
3. Get visualization of cosine-similarity between CLS-token and tokens/patches of the uploaded image.