abtonmoy commited on
Commit
59cd63a
·
verified ·
1 Parent(s): 9fdb6b6

model card: add model overview figure

Browse files
Files changed (1) hide show
  1. README.md +230 -226
README.md CHANGED
@@ -1,226 +1,230 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- language:
4
- - en
5
- pipeline_tag: feature-extraction
6
- tags:
7
- - embeddings
8
- - multimodal
9
- - audio
10
- - retrieval
11
- - matryoshka
12
- - qwen3-vl
13
- - adapters
14
- base_model: Qwen/Qwen3-VL-Embedding-2B
15
- ---
16
-
17
- # fusion-embedding-2-2b-preview
18
-
19
- <div align="center">
20
-
21
- [![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
22
- [![PyTorch](https://img.shields.io/badge/PyTorch-2.x-ee4c2c.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
23
- [![Weights](https://img.shields.io/badge/weights-CC--BY--NC--4.0-green.svg)](#license)
24
- [![Status](https://img.shields.io/badge/status-research%20preview%20v0.1-orange.svg)](#)
25
- [![Code](https://img.shields.io/badge/code-GitHub-black.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
26
-
27
- </div>
28
-
29
- `fusion-embedding-2-2b-preview` is the second generation of Eximius Labs' unified
30
- multimodal embedding models: **text, images, video, and audio in one vector space**.
31
- It extends the first generation with modality-gated deep adapters — in-layer audio
32
- capacity added to a byte-frozen base. For the first-generation architecture, see
33
- [fusion-embedding-1-2b-preview](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview)
34
- (that line is final at v0.3).
35
-
36
- [GitHub](https://github.com/Eximius-Labs/fusion-embedding-1) | [fusion-embedding-1](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview) | Technical report: in preparation
37
-
38
- ## Model Overview
39
-
40
- `fusion-embedding-2-2b-preview` embeds all four modalities with a
41
- [Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-2B) base that is
42
- **byte-identical to its original release** — its text, image, and video behaviour (and
43
- benchmark scores) carry over exactly. Audio is added by training 60.6M parameters
44
- (~2.3% of the stack): a perceiver-resampler that translates frozen
45
- [Qwen2.5-Omni](https://huggingface.co/Qwen/Qwen2.5-Omni-7B) audio-tower features into
46
- the base's input space, and — new in this generation — **28 gated adapters** (44.2M)
47
- that give the frozen language model in-layer capacity to process audio. The adapters
48
- are active only while encoding audio; every other forward pass returns the frozen
49
- layers' output untouched, so the invariance is bitwise, not approximate
50
- (`base_drift == 0` is asserted on every training run, and this model reproduces the
51
- base's text→image retrieval scores to four decimal places). Trained on 518K
52
- audio–caption pairs with a full-corpus frozen-text negative bank, it leads every
53
- unified embedding model we measured on audio↔text retrieval — ahead of ImageBind,
54
- LanguageBind, and Gemini Embedding 2 in both directions — and improves on
55
- fusion-embedding-1 v0.3 in 9 of 12 measured cells, with the largest gains in
56
- text→audio search. Audio↔image alignment is emergent (zero audio–image pairs in
57
- training).
58
-
59
- | Feature | Value |
60
- | --- | --- |
61
- | Parameters | ~2.06B frozen base + 640M frozen audio tower; **60.6M trained** |
62
- | Modalities | text, image, video, audio |
63
- | Supported tasks | `retrieval` (all modality pairs), `zero-shot classification` |
64
- | Max input | 254 text tokens · 30 s audio per window (up to 8 windows) |
65
- | Embedding dimension | 2048 |
66
- | Matryoshka dimensions | 64, 128, 256, 512, 1024, 1536, 2048 |
67
- | Pooling strategy | Last-token pooling |
68
- | Base model | Qwen/Qwen3-VL-Embedding-2B (byte-frozen) |
69
- | Audio tower | Qwen/Qwen2.5-Omni-7B audio encoder (frozen) |
70
- | Trained components | FusionResampler 16.4M + 28× gated adapters 44.2M |
71
- | Distribution | ~250 MB trained components; frozen towers download from their original repos |
72
-
73
- ## Training and Evaluation
74
-
75
- Contrastive training (InfoNCE over the Matryoshka ladder, symmetric) against the
76
- frozen base's native chat-template text embeddings: 518,183 audio–caption pairs from
77
- six sources (73,716 clips with content-free metadata excluded), a full-corpus
78
- frozen-text negative bank, soft labels 0.3, false-negative masking 0.98, bf16, 3,900
79
- steps at effective batch 1,024, then a 400-step in-domain fine-tune on the AudioCaps
80
- train split. All evaluation-set audio (Clotho, ESC-50, UrbanSound8K, VGGSound,
81
- AudioCaps test/val) is excluded from training by ID blacklists at ingestion. A
82
- technical report is in preparation.
83
-
84
- All numbers below use the release protocol (bf16 base precision, native chat-template
85
- text). Bold marks the better value per row/column.
86
-
87
- <details open>
88
- <summary><b>Versus fusion-embedding-1 v0.3</b></summary>
89
-
90
- | Board / direction | fusion-embedding-1 v0.3 | fusion-embedding-2 (this repo) |
91
- |---|---|---|
92
- | AudioCaps A→T R@1 | **0.332** | 0.302 |
93
- | AudioCaps A→T R@10 | 0.741 | **0.743** |
94
- | AudioCaps T→A R@1 | — | **0.292** |
95
- | AudioCaps T→A R@10 | 0.746 | **0.775** |
96
- | Clotho (zero-shot) A→T R@1 | **0.135** | 0.127 |
97
- | Clotho (zero-shot) A→T R@10 | **0.433** | 0.421 |
98
- | Clotho (zero-shot) T→A R@1 | ~0.13 | **0.151** |
99
- | Clotho (zero-shot) T→A R@10 | 0.460 | **0.482** |
100
- | VGGSound audio→text R@1 | **0.213** | 0.211 |
101
- | VGGSound audio→text R@10 | 0.625 | **0.665** |
102
- | VGGSound text→audio R@1 | 0.213 | **0.266** |
103
- | VGGSound text→audio R@10 | 0.645 | **0.681** |
104
- | VGGSound audio→image R@10 (emergent) | **0.407** | 0.392 |
105
-
106
- fusion-embedding-2 takes the majority of cells, with its largest gains in the
107
- text→audio direction (searching audio with a text query) and on the cross-modal
108
- audio↔text pair. fusion-embedding-1 v0.3 retains the AudioCaps and Clotho A→T R@1
109
- cells and a ~1.5-point edge on emergent audio→image at this fine-tuned operating
110
- point; the pre-fine-tune fusion-embedding-2 checkpoint scores 0.443 on that cell — the
111
- project record — and may be released separately as the emergent-alignment operating
112
- point.
113
-
114
- </details>
115
-
116
- <details>
117
- <summary><b>Cross-modal retrieval — versus unified embedding models</b> (VGGSound-AV, 696 pairs, chance R@10 = 0.014)</summary>
118
-
119
- R@10 shown as audio-side → other / other → audio-side:
120
-
121
- | Model | audio↔image | audio↔text | text↔image |
122
- |---|---|---|---|
123
- | ImageBind-Huge | **0.718 / 0.720** | 0.404 / 0.348 | 0.243 / 0.282 |
124
- | LanguageBind | 0.365 / 0.415 | 0.547 / 0.331 | 0.221 / 0.283 |
125
- | Gemini Embedding 2 (API, 2026-07-09) | 0.312 / 0.316 | 0.379 / 0.374 | 0.273 / **0.366** |
126
- | fusion-embedding-1-2b-preview v0.3 | 0.407 / 0.428 | 0.625 / 0.645 | **0.331** / 0.319 |
127
- | **fusion-embedding-2-2b-preview** | 0.392 / 0.430 | **0.665 / 0.681** | **0.331** / 0.319 |
128
-
129
- ImageBind trains directly on audio–image pairs, so that pair is its supervised
130
- direction; its audio–text alignment is emergent. LanguageBind trains audio against
131
- language; its audio↔image is emergent. Both fusion-embedding generations train on
132
- audio–text only; their audio–image alignment is emergent. All models evaluated with
133
- identical clips, frames, and scoring, using the released imagebind_huge checkpoint and
134
- revision-pinned LanguageBind checkpoints. Gemini Embedding 2 is Google's natively
135
- multimodal embedding API, evaluated at its documented default invocation on the date
136
- shown; API models may change after that date. fusion-embedding-2's text↔image cells
137
- are identical to fusion-embedding-1's by construction — text and images never touch
138
- the trained components — and this is verified: its own readout run reproduces
139
- fusion-embedding-1 v0.3's text→image scores to four decimal places.
140
-
141
- </details>
142
-
143
- <details>
144
- <summary><b>Audio–text retrieval — versus specialist CLAP models</b></summary>
145
-
146
- Specialist CLAP models fine-tune their text towers on audio captions — the direct
147
- trade this architecture declines in order to keep one shared space for all four
148
- modalities. They remain ahead on the audio-caption boards (e.g., AudioCaps T→A R@1:
149
- M2D-CLAP 41.4 vs 29.2 here); this model family is the strongest option we measured
150
- when one model must serve text, images, video, and audio together. See the
151
- [fusion-embedding-1 card](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview)
152
- for the full CLAP comparison tables; fusion-embedding-2 improves on fusion-embedding-1
153
- in the text→audio direction on every board.
154
-
155
- </details>
156
-
157
- ## Usage
158
-
159
- <details>
160
- <summary>Requirements</summary>
161
-
162
- - `fusion_embedding` package: `pip install git+https://github.com/Eximius-Labs/fusion-embedding-1`
163
- - `transformers>=4.46`, `torch` (CUDA), `torchvision`, `pillow`, `soundfile`, `librosa`
164
- - ~14 GB GPU memory at bf16
165
-
166
- </details>
167
-
168
- <details open>
169
- <summary>via <code>inference.py</code> (this repository)</summary>
170
-
171
- ```python
172
- from inference import FusionEmbedder
173
-
174
- fe = FusionEmbedder.from_pretrained(
175
- "EximiusLabs/fusion-embedding-2-2b-preview",
176
- revision="v0.1-preview", # pin a tag if you build on this model
177
- )
178
-
179
- a = fe.embed_audio("dog.wav") # audio file or (array, sr=...)
180
- t = fe.embed_text("a dog barks") # uses the base's native chat template
181
- i = fe.embed_image("dog.jpg") # PIL image or path
182
-
183
- print((a @ t).item(), (a @ i).item()) # cosine similarities in the shared space
184
-
185
- # Matryoshka: pass dim= for smaller embeddings (64..2048)
186
- t_small = fe.embed_text("a dog barks", dim=256)
187
- ```
188
-
189
- The checkpoint contains the gated adapters and the loader refuses to run without them —
190
- an adapter checkpoint can never be silently executed as the first-generation
191
- architecture. All inputs use the base model's chat-template format; embedding quality
192
- is sensitive to this formatting, so use the templates provided by `FusionEmbedder`
193
- rather than constructing your own.
194
-
195
- </details>
196
-
197
- <details>
198
- <summary>Cross-modal ranking tip</summary>
199
-
200
- When ranking a gallery of one modality against queries of another, per-modality
201
- mean-centering of the gallery improves cross-modal recall by roughly two points across
202
- modality pairs:
203
-
204
- ```python
205
- gallery = FusionEmbedder.center(gallery_embeddings)
206
- ```
207
-
208
- </details>
209
-
210
- ## License
211
-
212
- Code is Apache-2.0 ([GitHub](https://github.com/Eximius-Labs/fusion-embedding-1));
213
- model weights in this repository are **CC BY-NC 4.0** (research preview). The frozen
214
- base and audio tower retain their original licenses.
215
-
216
- ## Citation
217
-
218
- ```bibtex
219
- @software{fusion_embedding_2_2026,
220
- title = {Fusion Embedding 2: Modality-Gated Deep Adapters for a
221
- Unified Text, Image, Video, and Audio Embedding Space},
222
- author = {Tonmoy, Abdul Basit},
223
- year = {2026},
224
- url = {https://huggingface.co/EximiusLabs/fusion-embedding-2-2b-preview}
225
- }
226
- ```
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ pipeline_tag: feature-extraction
6
+ tags:
7
+ - embeddings
8
+ - multimodal
9
+ - audio
10
+ - retrieval
11
+ - matryoshka
12
+ - qwen3-vl
13
+ - adapters
14
+ base_model: Qwen/Qwen3-VL-Embedding-2B
15
+ ---
16
+
17
+ # fusion-embedding-2-2b-preview
18
+
19
+ <div align="center">
20
+
21
+ [![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
22
+ [![PyTorch](https://img.shields.io/badge/PyTorch-2.x-ee4c2c.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
23
+ [![Weights](https://img.shields.io/badge/weights-CC--BY--NC--4.0-green.svg)](#license)
24
+ [![Status](https://img.shields.io/badge/status-research%20preview%20v0.1-orange.svg)](#)
25
+ [![Code](https://img.shields.io/badge/code-GitHub-black.svg)](https://github.com/Eximius-Labs/fusion-embedding-1)
26
+
27
+ </div>
28
+
29
+ `fusion-embedding-2-2b-preview` is the second generation of Eximius Labs' unified
30
+ multimodal embedding models: **text, images, video, and audio in one vector space**.
31
+ It extends the first generation with modality-gated deep adapters — in-layer audio
32
+ capacity added to a byte-frozen base. For the first-generation architecture, see
33
+ [fusion-embedding-1-2b-preview](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview)
34
+ (that line is final at v0.3).
35
+
36
+ [GitHub](https://github.com/Eximius-Labs/fusion-embedding-1) | [fusion-embedding-1](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview) | Technical report: in preparation
37
+
38
+ ## Model Overview
39
+
40
+ <p align="center">
41
+ <img src="assets/fe2_model_overview.png" alt="fusion-embedding-2 architecture: frozen Qwen3-VL-Embedding base with modality-gated adapters inside; frozen audio tower and trained FusionResampler on the audio branch; one shared embedding space" width="820px">
42
+ </p>
43
+
44
+ `fusion-embedding-2-2b-preview` embeds all four modalities with a
45
+ [Qwen3-VL-Embedding-2B](https://huggingface.co/Qwen/Qwen3-VL-Embedding-2B) base that is
46
+ **byte-identical to its original release** — its text, image, and video behaviour (and
47
+ benchmark scores) carry over exactly. Audio is added by training 60.6M parameters
48
+ (~2.3% of the stack): a perceiver-resampler that translates frozen
49
+ [Qwen2.5-Omni](https://huggingface.co/Qwen/Qwen2.5-Omni-7B) audio-tower features into
50
+ the base's input space, and — new in this generation — **28 gated adapters** (44.2M)
51
+ that give the frozen language model in-layer capacity to process audio. The adapters
52
+ are active only while encoding audio; every other forward pass returns the frozen
53
+ layers' output untouched, so the invariance is bitwise, not approximate
54
+ (`base_drift == 0` is asserted on every training run, and this model reproduces the
55
+ base's text→image retrieval scores to four decimal places). Trained on 518K
56
+ audio–caption pairs with a full-corpus frozen-text negative bank, it leads every
57
+ unified embedding model we measured on audio↔text retrieval — ahead of ImageBind,
58
+ LanguageBind, and Gemini Embedding 2 in both directions — and improves on
59
+ fusion-embedding-1 v0.3 in 9 of 12 measured cells, with the largest gains in
60
+ text→audio search. Audio↔image alignment is emergent (zero audio–image pairs in
61
+ training).
62
+
63
+ | Feature | Value |
64
+ | --- | --- |
65
+ | Parameters | ~2.06B frozen base + 640M frozen audio tower; **60.6M trained** |
66
+ | Modalities | text, image, video, audio |
67
+ | Supported tasks | `retrieval` (all modality pairs), `zero-shot classification` |
68
+ | Max input | 254 text tokens · 30 s audio per window (up to 8 windows) |
69
+ | Embedding dimension | 2048 |
70
+ | Matryoshka dimensions | 64, 128, 256, 512, 1024, 1536, 2048 |
71
+ | Pooling strategy | Last-token pooling |
72
+ | Base model | Qwen/Qwen3-VL-Embedding-2B (byte-frozen) |
73
+ | Audio tower | Qwen/Qwen2.5-Omni-7B audio encoder (frozen) |
74
+ | Trained components | FusionResampler 16.4M + 28× gated adapters 44.2M |
75
+ | Distribution | ~250 MB trained components; frozen towers download from their original repos |
76
+
77
+ ## Training and Evaluation
78
+
79
+ Contrastive training (InfoNCE over the Matryoshka ladder, symmetric) against the
80
+ frozen base's native chat-template text embeddings: 518,183 audio–caption pairs from
81
+ six sources (73,716 clips with content-free metadata excluded), a full-corpus
82
+ frozen-text negative bank, soft labels 0.3, false-negative masking 0.98, bf16, 3,900
83
+ steps at effective batch 1,024, then a 400-step in-domain fine-tune on the AudioCaps
84
+ train split. All evaluation-set audio (Clotho, ESC-50, UrbanSound8K, VGGSound,
85
+ AudioCaps test/val) is excluded from training by ID blacklists at ingestion. A
86
+ technical report is in preparation.
87
+
88
+ All numbers below use the release protocol (bf16 base precision, native chat-template
89
+ text). Bold marks the better value per row/column.
90
+
91
+ <details open>
92
+ <summary><b>Versus fusion-embedding-1 v0.3</b></summary>
93
+
94
+ | Board / direction | fusion-embedding-1 v0.3 | fusion-embedding-2 (this repo) |
95
+ |---|---|---|
96
+ | AudioCaps A→T R@1 | **0.332** | 0.302 |
97
+ | AudioCaps A→T R@10 | 0.741 | **0.743** |
98
+ | AudioCaps T→A R@1 | — | **0.292** |
99
+ | AudioCaps T→A R@10 | 0.746 | **0.775** |
100
+ | Clotho (zero-shot) A→T R@1 | **0.135** | 0.127 |
101
+ | Clotho (zero-shot) A→T R@10 | **0.433** | 0.421 |
102
+ | Clotho (zero-shot) T→A R@1 | ~0.13 | **0.151** |
103
+ | Clotho (zero-shot) T→A R@10 | 0.460 | **0.482** |
104
+ | VGGSound audio→text R@1 | **0.213** | 0.211 |
105
+ | VGGSound audio→text R@10 | 0.625 | **0.665** |
106
+ | VGGSound text→audio R@1 | 0.213 | **0.266** |
107
+ | VGGSound text→audio R@10 | 0.645 | **0.681** |
108
+ | VGGSound audio→image R@10 (emergent) | **0.407** | 0.392 |
109
+
110
+ fusion-embedding-2 takes the majority of cells, with its largest gains in the
111
+ text→audio direction (searching audio with a text query) and on the cross-modal
112
+ audio↔text pair. fusion-embedding-1 v0.3 retains the AudioCaps and Clotho A→T R@1
113
+ cells and a ~1.5-point edge on emergent audio→image at this fine-tuned operating
114
+ point; the pre-fine-tune fusion-embedding-2 checkpoint scores 0.443 on that cell — the
115
+ project record — and may be released separately as the emergent-alignment operating
116
+ point.
117
+
118
+ </details>
119
+
120
+ <details>
121
+ <summary><b>Cross-modal retrieval — versus unified embedding models</b> (VGGSound-AV, 696 pairs, chance R@10 = 0.014)</summary>
122
+
123
+ R@10 shown as audio-side → other / other → audio-side:
124
+
125
+ | Model | audio↔image | audio↔text | text↔image |
126
+ |---|---|---|---|
127
+ | ImageBind-Huge | **0.718 / 0.720** | 0.404 / 0.348 | 0.243 / 0.282 |
128
+ | LanguageBind | 0.365 / 0.415 | 0.547 / 0.331 | 0.221 / 0.283 |
129
+ | Gemini Embedding 2 (API, 2026-07-09) | 0.312 / 0.316 | 0.379 / 0.374 | 0.273 / **0.366** |
130
+ | fusion-embedding-1-2b-preview v0.3 | 0.407 / 0.428 | 0.625 / 0.645 | **0.331** / 0.319 |
131
+ | **fusion-embedding-2-2b-preview** | 0.392 / 0.430 | **0.665 / 0.681** | **0.331** / 0.319 |
132
+
133
+ ImageBind trains directly on audio–image pairs, so that pair is its supervised
134
+ direction; its audio–text alignment is emergent. LanguageBind trains audio against
135
+ language; its audio↔image is emergent. Both fusion-embedding generations train on
136
+ audio–text only; their audio–image alignment is emergent. All models evaluated with
137
+ identical clips, frames, and scoring, using the released imagebind_huge checkpoint and
138
+ revision-pinned LanguageBind checkpoints. Gemini Embedding 2 is Google's natively
139
+ multimodal embedding API, evaluated at its documented default invocation on the date
140
+ shown; API models may change after that date. fusion-embedding-2's text↔image cells
141
+ are identical to fusion-embedding-1's by construction — text and images never touch
142
+ the trained components — and this is verified: its own readout run reproduces
143
+ fusion-embedding-1 v0.3's text→image scores to four decimal places.
144
+
145
+ </details>
146
+
147
+ <details>
148
+ <summary><b>Audio–text retrieval — versus specialist CLAP models</b></summary>
149
+
150
+ Specialist CLAP models fine-tune their text towers on audio captions — the direct
151
+ trade this architecture declines in order to keep one shared space for all four
152
+ modalities. They remain ahead on the audio-caption boards (e.g., AudioCaps T→A R@1:
153
+ M2D-CLAP 41.4 vs 29.2 here); this model family is the strongest option we measured
154
+ when one model must serve text, images, video, and audio together. See the
155
+ [fusion-embedding-1 card](https://huggingface.co/EximiusLabs/fusion-embedding-1-2b-preview)
156
+ for the full CLAP comparison tables; fusion-embedding-2 improves on fusion-embedding-1
157
+ in the text→audio direction on every board.
158
+
159
+ </details>
160
+
161
+ ## Usage
162
+
163
+ <details>
164
+ <summary>Requirements</summary>
165
+
166
+ - `fusion_embedding` package: `pip install git+https://github.com/Eximius-Labs/fusion-embedding-1`
167
+ - `transformers>=4.46`, `torch` (CUDA), `torchvision`, `pillow`, `soundfile`, `librosa`
168
+ - ~14 GB GPU memory at bf16
169
+
170
+ </details>
171
+
172
+ <details open>
173
+ <summary>via <code>inference.py</code> (this repository)</summary>
174
+
175
+ ```python
176
+ from inference import FusionEmbedder
177
+
178
+ fe = FusionEmbedder.from_pretrained(
179
+ "EximiusLabs/fusion-embedding-2-2b-preview",
180
+ revision="v0.1-preview", # pin a tag if you build on this model
181
+ )
182
+
183
+ a = fe.embed_audio("dog.wav") # audio file or (array, sr=...)
184
+ t = fe.embed_text("a dog barks") # uses the base's native chat template
185
+ i = fe.embed_image("dog.jpg") # PIL image or path
186
+
187
+ print((a @ t).item(), (a @ i).item()) # cosine similarities in the shared space
188
+
189
+ # Matryoshka: pass dim= for smaller embeddings (64..2048)
190
+ t_small = fe.embed_text("a dog barks", dim=256)
191
+ ```
192
+
193
+ The checkpoint contains the gated adapters and the loader refuses to run without them —
194
+ an adapter checkpoint can never be silently executed as the first-generation
195
+ architecture. All inputs use the base model's chat-template format; embedding quality
196
+ is sensitive to this formatting, so use the templates provided by `FusionEmbedder`
197
+ rather than constructing your own.
198
+
199
+ </details>
200
+
201
+ <details>
202
+ <summary>Cross-modal ranking tip</summary>
203
+
204
+ When ranking a gallery of one modality against queries of another, per-modality
205
+ mean-centering of the gallery improves cross-modal recall by roughly two points across
206
+ modality pairs:
207
+
208
+ ```python
209
+ gallery = FusionEmbedder.center(gallery_embeddings)
210
+ ```
211
+
212
+ </details>
213
+
214
+ ## License
215
+
216
+ Code is Apache-2.0 ([GitHub](https://github.com/Eximius-Labs/fusion-embedding-1));
217
+ model weights in this repository are **CC BY-NC 4.0** (research preview). The frozen
218
+ base and audio tower retain their original licenses.
219
+
220
+ ## Citation
221
+
222
+ ```bibtex
223
+ @software{fusion_embedding_2_2026,
224
+ title = {Fusion Embedding 2: Modality-Gated Deep Adapters for a
225
+ Unified Text, Image, Video, and Audio Embedding Space},
226
+ author = {Tonmoy, Abdul Basit},
227
+ year = {2026},
228
+ url = {https://huggingface.co/EximiusLabs/fusion-embedding-2-2b-preview}
229
+ }
230
+ ```