model.py
Model Overview
A nano-scale implementation of the vit architecture, built for contrastive tasks.
Architecture
- Architecture: vit
- Scale: nano
- Attention: linear
- Fusion strategy: cross attention
- Task head: contrastive
- Activation: gelu
- Normalization: batchnorm
- Initialization: kaiming normal
Training
- Optimizer: adamw
- LR scheduler: step
Files
model.py — main artifact of this repository
License
See the license field above.