# jina-embeddings-v2-small-en

Hugging Face: `jinaai/jina-embeddings-v2-small-en`
Reconstructed from `config.json` alone. No weights were read.

| | |
|---|---|
| Derived from structure | 32,430,080 |
| In the published checkpoint | 32,690,688 (safetensors.total, 2025-01-06) |
| Delta | -0.80% |
| Comparability | custom-code |
| Layers | 18 |
| Priced on | A10G (24GB) |
| Est. one run | $9.05 |

> This repository ships its own modeling code (`auto_map`), so `config.json` names a class in the repo rather than an architecture `transformers` defines. The graph below is what those config keys mean under `transformers` semantics, which is not necessarily what the repo's own file builds. A gap here is a statement about what we read, not about the checkpoint.

## Structure

| # | Layer | Type | Output shape |
|---|---|---|---|
| 1 | Input | Input | 1 × 8192 |
| 2 | Embedding | Embedding | 1 × 8192 × 512 |
| 3 | Positional_Embedding | Learned Pos Embed | 1 × 8192 × 512 |
| 4 | Attention_1 | Multi-Head Attention | 1 × 8192 × 512 |
| 5 | Add_1 | Add | 1 × 8192 × 512 |
| 6 | LayerNorm_1_1 | LayerNorm | 1 × 8192 × 512 |
| 7 | FFN_1 | Feed Forward | 1 × 8192 × 512 |
| 8 | Attention_2 | Multi-Head Attention | 1 × 8192 × 512 |
| 9 | Add_2 | Add | 1 × 8192 × 512 |
| 10 | LayerNorm_2_1 | LayerNorm | 1 × 8192 × 512 |
| 11 | FFN_2 | Feed Forward | 1 × 8192 × 512 |
| 12 | Attention_3 | Multi-Head Attention | 1 × 8192 × 512 |
| 13 | Add_3 | Add | 1 × 8192 × 512 |
| 14 | LayerNorm_3_1 | LayerNorm | 1 × 8192 × 512 |
| 15 | FFN_3 | Feed Forward | 1 × 8192 × 512 |
| 16 | Attention_4 | Multi-Head Attention | 1 × 8192 × 512 |
| 17 | Add_4 | Add | 1 × 8192 × 512 |
| 18 | LayerNorm_4_1 | LayerNorm | 1 × 8192 × 512 |
| 19 | FFN_4 | Feed Forward | 1 × 8192 × 512 |
| 20 | Output | Output | 1 × 8192 × 512 |

## Do this to your own model

```
pip install neurarch-trace
neurarch-trace jinaai/jina-embeddings-v2-small-en --plan --share
```

- Page: https://neurarch.com/m/jina-embeddings-v2-small-en.html
- All models: https://neurarch.com/m/index.json
- The checks: https://neurarch.com/r/index.json
