Views
No views yet
Vision Encoder (CNN-based):
├── Stem: Conv7x7 → BatchNorm → ReLU → MaxPool
├── Layer1: 3x ResBlocks (64 channels)
├── Layer2: 4x ResBlocks (128 channels)
├── Layer3: 6x ResBlocks (256 channels)
├── Layer4: 3x ResBlocks (512 channels)
└── AdaptiveAvgPool → Linear(512 → 768)
Text Encoder (Hybrid):
├── Token Embedding (vocab_size → 768)
├── Positional Embedding (77 positions)
├── 12x RWKV Blocks (parallel linear attention)
├── 4x Transformer Blocks (12 heads, multi-head attention)
└── Layer Norm → Take last token
Output:
└── Normalized embeddings → Contrastive losstorch.jit.script implementation of parallel RWKV attention