--- 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.