File size: 728 Bytes
f8ac2e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---

license: apache-2.0
tags:
- approx-gelu
- blip
- contrastive
- lamb
- scalenorm
- sliding-window
- step
- tensor-fusion
- tiny
- xavier
---


# model.py

## Model Overview

A **tiny**-scale implementation of the **blip** architecture, built for **contrastive** tasks.

## Architecture

- **Architecture**: blip
- **Scale**: tiny
- **Attention**: sliding window
- **Fusion strategy**: tensor fusion
- **Task head**: contrastive
- **Activation**: approx gelu
- **Normalization**: scalenorm
- **Initialization**: xavier

## Training

- **Optimizer**: lamb
- **LR scheduler**: step

## Files

- `model.py` — main artifact of this repository

## License

See the license field above.