forked from TRI-ML/prismatic-vlms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.py
706 lines (685 loc) · 26.2 KB
/
registry.py
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
"""
registry.py
Exhaustive list of pretrained VLMs (with full descriptions / links to corresponding names and sections of paper).
"""
# === Pretrained Model Registry ===
# fmt: off
MODEL_REGISTRY = {
# === LLaVa v1.5 Reproductions ===
"reproduction-llava-v15+7b": {
"model_id": "reproduction-llava-v15+7b",
"names": ["LLaVa v1.5 7B (Reproduction)"],
"description": {
"name": "LLaVa v1.5 7B (Reproduction)",
"optimization_procedure": "multi-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"reproduction-llava-v15+13b": {
"model_id": "reproduction-llava-v15+13b",
"names": ["LLaVa v1.5 13B (Reproduction)"],
"description": {
"name": "LLaVa v1.5 13B (Reproduction)",
"optimization_procedure": "multi-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
# === Section 4.1 :: Optimization Procedure ===
"one-stage+7b": {
"model_id": "one-stage+7b",
"names": [
"One-Stage 7B",
"Single-Stage 7B",
"Frozen ViT (Single-Stage)",
"CLIP ViT-L 336px (Letterbox)",
"CLIP ViT-L 336px",
"Vicuña v1.5 7B",
"1 Epoch",
"Base",
],
"description": {
"name": "Single-Stage 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"one-stage+13b": {
"model_id": "one-stage+13b",
"names": [
"One-Stage 13B",
"Single-Stage 13B",
"Vicuña v1.5 13B",
],
"description": {
"name": "Single-Stage 13B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"full-ft-multi-stage+7b": {
"model_id": "full-ft-multi-stage+7b",
"names": ["Finetune ViT (Multi-Stage)"],
"description": {
"name": "Finetune ViT (Multi-Stage)",
"optimization_procedure": "multi-stage-full-finetune",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"full-ft-one-stage+7b": {
"model_id": "full-ft-one-stage+7b",
"names": ["Finetune ViT (Single-Stage)"],
"description": {
"name": "Finetune ViT (Single-Stage)",
"optimization_procedure": "single-stage-full-finetune",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
# === Section 4.2 :: Image Processing and Visual Representations ===
"in1k-224px+7b": {
"model_id": "in1k-224px+7b",
"names": ["IN1K ViT-L 224px"],
"description": {
"name": "IN1K ViT-L 224px",
"optimization_procedure": "single-stage",
"visual_representation": "ImageNet-21K+1K ViT-L/16 @ 224px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"dinov2-224px+7b": {
"model_id": "dinov2-224px+7b",
"names": ["DINOv2 ViT-L 224px"],
"description": {
"name": "DINOv2 ViT-L 224px",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 @ 224px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"clip-224px+7b": {
"model_id": "clip-224px+7b",
"names": ["CLIP ViT-L 224px"],
"description": {
"name": "CLIP ViT-L 224px",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 224px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"siglip-224px+7b": {
"model_id": "siglip-224px+7b",
"names": ["SigLIP ViT-SO 224px"],
"description": {
"name": "SigLIP ViT-SO 224px",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 224px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"clip-336px-resize-crop+7b": {
"model_id": "clip-336px-resize-crop+7b",
"names": ["CLIP ViT-L 336px (Resize Crop)"],
"description": {
"name": "CLIP ViT-L 336px (Resize Crop)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Resize Crop",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"clip-336px-resize-naive+7b": {
"model_id": "clip-336px-resize-naive+7b",
"names": ["CLIP ViT-L 336px (Naive Resize)", "CLIP 336px (Naive Resize)"],
"description": {
"name": "CLIP ViT-L 336px (Naive Resize)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"siglip-384px-letterbox+7b": {
"model_id": "siglip-384px-letterbox+7b",
"names": ["SigLIP ViT-SO 384px (Letterbox)", "SigLIP ViT-SO 384px"],
"description": {
"name": "SigLIP ViT-SO 384px (Letterbox)",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"siglip-384px-resize-crop+7b": {
"model_id": "siglip-384px-resize-crop+7b",
"names": ["SigLIP ViT-SO 384px (Resize Crop)"],
"description": {
"name": "SigLIP ViT-SO 384px (Resize Crop)",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Resize Crop",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"siglip-384px-resize-naive+7b": {
"model_id": "siglip-384px-resize-naive+7b",
"names": ["SigLIP ViT-SO 384px (Naive Resize)", "SigLIP 384px (Naive Resize)"],
"description": {
"name": "SigLIP ViT-SO 384px (Naive Resize)",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"dinoclip-336px-letterbox+7b": {
"model_id": "dinoclip-336px-letterbox+7b",
"names": ["DINOv2 + CLIP 336px (Letterbox)"],
"description": {
"name": "DINOv2 + CLIP 336px (Letterbox)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"dinoclip-336px-resize-naive+7b": {
"model_id": "dinoclip-336px-resize-naive+7b",
"names": ["DINOv2 + CLIP 336px (Naive Resize)"],
"description": {
"name": "DINOv2 + CLIP 336px (Naive Resize)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"dinosiglip-384px-letterbox+7b": {
"model_id": "dinosiglip-384px-letterbox+7b",
"names": ["DINOv2 + SigLIP 384px (Letterbox)"],
"description": {
"name": "DINOv2 + SigLIP 384px (Letterbox)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-L/14 @ 384px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"dinosiglip-384px-resize-naive+7b": {
"model_id": "dinosiglip-384px-resize-naive+7b",
"names": ["DINOv2 + SigLIP 384px (Naive Resize)"],
"description": {
"name": "DINOv2 + SigLIP 384px (Naive Resize)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-L/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
# === Section 4.3 :: Language Models ===
"llama2+7b": {
"model_id": "llama2+7b",
"names": ["Llama-2 7B"],
"description": {
"name": "Llama-2 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"llama2+13b": {
"model_id": "llama2+13b",
"names": ["Llama-2 13B"],
"description": {
"name": "Llama-2 13B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
},
},
"vicuna-no-cotraining+7b": {
"model_id": "vicuna-no-cotraining+7b",
"names": ["Vicuña v1.5 7B (No Co-training)"],
"description": {
"name": "Vicuña v1.5 7B (No Co-training)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Multimodal-Only"],
"train_epochs": 1,
},
},
"llama2-no-cotraining+7b": {
"model_id": "llama2-no-cotraining+7b",
"names": ["Llama-2 7B (No Co-training)"],
"description": {
"name": "Llama-2 7B (No Co-training)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Multimodal-Only"],
"train_epochs": 1,
},
},
# === Section 4.4 :: Scaling Properties ===
"train-1.25-epochs+7b": {
"model_id": "train-1.25-epochs+7b",
"names": ["1.25 Epochs"],
"description": {
"name": "1.25 Epochs",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1.25,
}
},
"train-1.5-epochs+7b": {
"model_id": "train-1.5-epochs+7b",
"names": ["1.5 Epochs"],
"description": {
"name": "1.5 Epochs",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1.5,
}
},
"train-2-epochs+7b": {
"model_id": "train-2-epochs+7b",
"names": ["2 Epochs"],
"description": {
"name": "2 Epochs",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 2,
}
},
"train-3-epochs+7b": {
"model_id": "train-3-epochs+7b",
"names": ["3 Epochs"],
"description": {
"name": "3 Epochs",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 3,
}
},
"llava-lvis4v+7b": {
"model_id": "llava-lvis4v+7b",
"names": ["Base + LVIS-4V"],
"description": {
"name": "Base + LVIS-4V",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V"],
"train_epochs": 1,
}
},
"llava-lrv+7b": {
"model_id": "llava-lrv+7b",
"names": ["Base + LRV"],
"description": {
"name": "Base + LRV",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct", "LRV-Instruct"],
"train_epochs": 1,
}
},
"llava-lvis4v-lrv+7b": {
"model_id": "llava-lvis4v-lrv+7b",
"names": ["Base + LVIS-4V + LRV"],
"description": {
"name": "Base + LVIS-4V + LRV",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Vicuña v1.5 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 1,
}
},
# ===
# === CLIP Prism Models ===
"prism-clip-controlled+7b": {
"model_id": "prism-clip-controlled+7b",
"names": ["Prism-CLIP 7B (Controlled)"],
"description": {
"name": "CLIP Prism 7B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-clip-controlled+13b": {
"model_id": "prism-clip-controlled+13b",
"names": ["Prism-CLIP 13B (Controlled)"],
"description": {
"name": "CLIP Prism 13B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-clip+7b": {
"model_id": "prism-clip+7b",
"names": ["Prism-CLIP 7B"],
"description": {
"name": "CLIP Prism 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
},
},
"prism-clip+13b": {
"model_id": "prism-clip+13b",
"names": ["Prism-CLIP 13B"],
"description": {
"name": "CLIP Prism 13B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
},
},
# === SigLIP Prism Models ==
"prism-siglip-controlled+7b": {
"model_id": "prism-siglip-controlled+7b",
"names": ["Prism-SigLIP 7B (Controlled)"],
"description": {
"name": "SigLIP Prism 7B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-siglip-controlled+13b": {
"model_id": "prism-siglip-controlled+7b",
"names": ["Prism-SigLIP 13B (Controlled)"],
"description": {
"name": "SigLIP Prism 13B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-siglip+7b": {
"model_id": "prism-siglip+7b",
"names": ["Prism-SigLIP 7B"],
"description": {
"name": "SigLIP Prism 7B",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
}
},
"prism-siglip+13b": {
"model_id": "prism-siglip+13b",
"names": ["Prism-SigLIP 13B"],
"description": {
"name": "SigLIP Prism 13B",
"optimization_procedure": "single-stage",
"visual_representation": "SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
}
},
# === DINOSigLIP Prism Models ===
"prism-dinosiglip-controlled+7b": {
"model_id": "prism-dinosiglip-controlled+7b",
"names": ["Prism-DINOSigLIP 7B (Controlled)", "Prism 7B (Controlled)"],
"description": {
"name": "DINOSigLIP Prism 7B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-dinosiglip-controlled+13b": {
"model_id": "prism-dinosiglip-controlled+13b",
"names": ["Prism-DINOSigLIP 13B (Controlled)", "Prism 13B (Controlled)"],
"description": {
"name": "DINOSigLIP Prism 13B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-dinosiglip+7b": {
"model_id": "prism-dinosiglip+7b",
"names": ["Prism-DINOSigLIP 7B"],
"description": {
"name": "DINOSigLIP Prism 7B",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
},
},
"prism-dinosiglip+8b": {
"model_id": "prism-dinosiglip+8b",
"names": ["Prism-DINOSigLIP 8B"],
"description": {
"name": "DINOSigLIP Prism 8B",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-3.1 8B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
},
},
"prism-dinosiglip+13b": {
"model_id": "prism-dinosiglip+13b",
"names": ["Prism-DINOSigLIP 13B"],
"description": {
"name": "DINOSigLIP Prism 13B",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO/14 @ 384px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 13B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
},
},
# === DINOSigLIP 224px Prism Models ===
"prism-dinosiglip-224px-controlled+7b": {
"model_id": "prism-dinosiglip-224px-controlled+7b",
"names": ["Prism-DINOSigLIP 224px 7B (Controlled)"],
"description": {
"name": "DINOSigLIP 224px 7B (Controlled)",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO 14 @ 224px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"prism-dinosiglip-224px+7b": {
"model_id": "prism-dinosiglip-224px+7b",
"names": ["Prism-DINOSigLIP 224px 7B"],
"description": {
"name": "DINOSigLIP 224px 7B",
"optimization_procedure": "single-stage",
"visual_representation": "DINOv2 ViT-L/14 + SigLIP ViT-SO 14 @ 224px",
"image_processing": "Naive Resize",
"language_model": "Llama-2 7B",
"datasets": ["LLaVa v1.5 Instruct", "LVIS-Instruct-4V", "LRV-Instruct"],
"train_epochs": 2,
}
},
# === Additional LLM Backbones ===
"llama2-chat+7b": {
"model_id": "llama2-chat+7b",
"names": ["Llama-2 Chat 7B"],
"description": {
"name": "Llama-2 Chat 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Llama-2 Chat 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"llama2-chat+13b": {
"model_id": "llama2-chat+13b",
"names": ["Llama-2 Chat 13B"],
"description": {
"name": "Llama-2 Chat 13B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Llama-2 Chat 13B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"mistral-v0.1+7b": {
"model_id": "mistral-v0.1+7b",
"names": ["Mistral v0.1 7B"],
"description": {
"name": "Mistral v0.1 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Mistral v0.1 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"mistral-instruct-v0.1+7b": {
"model_id": "mistral-instruct-v0.1+7b",
"names": ["Mistral Instruct v0.1 7B"],
"description": {
"name": "Mistral Instruct v0.1 7B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Mistral Instruct v0.1 7B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
"phi-2+3b": {
"model_id": "phi-2+3b",
"names": ["Phi-2 3B"],
"description": {
"name": "Phi-2 3B",
"optimization_procedure": "single-stage",
"visual_representation": "CLIP ViT-L/14 @ 336px",
"image_processing": "Letterbox",
"language_model": "Phi-2 3B",
"datasets": ["LLaVa v1.5 Instruct"],
"train_epochs": 1,
}
},
}
# Build Global Registry (Model ID, Name) -> Metadata
GLOBAL_REGISTRY = {name: v for k, v in MODEL_REGISTRY.items() for name in [k] + v["names"]}
# fmt: on