prince-canuma's picture
Add validated MLX 4bit Clipstral embeddings
d0b86f8 verified
Raw History Blame Contribute Delete
3.1 kB
{
"source_repo": "mistralai/Mistral-Multimodal-Embed-1B",
"source_revision": "4d0e936674cff0439f1727058fcf98fc15066090",
"source_weight_sha256": "e1ce98fbbe92b6110f5ce54a6e3dcc80d045f0b85409c63fae2358eb36e00641",
"implementation_revision": "26c376dd9691128e080f9cc77c6154ec2a069ab0",
"versions": {
"mlx": "0.32.5",
"transformers": "5.23.0",
"huggingface-hub": "2.5.0"
},
"small_cpu_parity": {
"text": 1.043081283569336e-07,
"image": 1.7881393432617188e-07,
"video": 1.4901161193847656e-07
},
"preprocessing_parity": {
"keep_ratio": 0.0,
"squash": 0.0,
"center_crop": 0.0
},
"repo": "nativ-community/Mistral-Multimodal-Embed-1B-4bit",
"mode": "affine",
"bits": 4,
"group_size": 64,
"weight_bytes": 1360919124,
"protected_tensors_verified": 319,
"tensor_count": 616,
"validation": {
"timings": {
"text": 0.1518457499332726,
"image": 0.019917292054742575,
"video": 0.06784854084253311
},
"weight_bytes": 1360919124,
"reference": {
"text": {
"cosine_min": 0.9759100675582886,
"cosine_mean": 0.9904375076293945,
"max_abs_error": 0.03432626277208328
},
"image": {
"cosine_min": 0.996366024017334,
"cosine_mean": 0.9979575872421265,
"max_abs_error": 0.014430787414312363
},
"video": {
"cosine_min": 0.999347984790802,
"cosine_mean": 0.999347984790802,
"max_abs_error": 0.004423482343554497
}
},
"bf16-outputs": {
"text": {
"cosine_min": 0.9757415056228638,
"cosine_mean": 0.9904022812843323,
"max_abs_error": 0.03463572636246681
},
"image": {
"cosine_min": 1.0,
"cosine_mean": 1.0,
"max_abs_error": 0.0
},
"video": {
"cosine_min": 1.0,
"cosine_mean": 1.0,
"max_abs_error": 0.0
}
},
"image_text_scores": [
[
0.18250951170921326,
0.11186686903238297,
0.07561594992876053,
-0.026742098852992058,
0.0010405536741018295,
0.192204087972641,
0.04711779206991196,
0.08190160244703293
],
[
0.07335473597049713,
0.20678722858428955,
0.08822116255760193,
0.00773667823523283,
0.04357486590743065,
0.08055151998996735,
0.19464057683944702,
0.1690625101327896
]
],
"video_text_scores": [
[
0.1433703899383545,
0.14829207956790924,
0.3034963011741638,
0.033608440309762955,
0.03353162109851837,
0.11244623363018036,
0.06739167869091034,
0.10636837780475616
]
]
},
"quantization_scope": "Text token embeddings and transformer Linear layers only. Vision, temporal encoder, norms and output projections remain BF16; logit_scale stays FP32.",
"validation_scope": "8 texts (English, French, Polish, Chinese), 2 images at 224 pixels, 1 video with 16 frames at 224 pixels; numerical parity and retrieval smoke tests, not benchmark quality."
}