Downloads · 30 days
17
39% of all-time downloads
NomaDamas/splade-v3-doc-mlx
splade-v3-doc-mlx is a feature extraction model from NomaDamas. Use it when you need embeddings to search or compare text. It is set up for mlx. The card lists the license as cc-by-nc-sa-4.0.
MLX (bfloat16) conversion of naver/splade-v3-doc for Apple Silicon, produced by NomaDamas/SPLADE-mlx.
Downloads · 30 days
17
39% of all-time downloads
All-time downloads
44
Public
Repo size
266 MB
Likes
0
Public
Click a slice to open those files.
.safetensors266 MB · 100%
From the Hugging Face model README
MLX (bfloat16) conversion of naver/splade-v3-doc for Apple Silicon,
produced by NomaDamas/SPLADE-mlx.
SPLADE-v3-Doc (BERT-base): document-side encoder; the query side is inference-free (bag-of-words) in the SPLADE-v3-Doc setup.
Changes from upstream: PyTorch checkpoint converted to MLX safetensors
(parameter re-mapping, cast to bfloat16). No training or fine-tuning was performed.
Quality: Separate fp32 conversion validation: max |logit delta| 4.8e-05, sparse cosine 1.000000, top-64 term overlap 100%. This repository stores bfloat16 weights. Any fp32 parity number above comes from a separate fp32 conversion of the upstream checkpoint, not this linked bfloat16 artifact. Full methodology: see the SPLADE-mlx report.
from splade_mlx import load
import mlx.core as mx
model, tok = load("NomaDamas/splade-v3-doc-mlx")
enc = tok(["what causes vitamin d deficiency"], return_tensors="np", padding=True)
sparse = model.encode(mx.array(enc["input_ids"]), mx.array(enc["attention_mask"])) # (1, 30522)
Do not pass dtype="float32" for this pre-converted repository: its declared stored
dtype is bfloat16. Load the upstream naver/splade-v3-doc checkpoint to create an fp32 conversion.
CC BY-NC-SA 4.0 — the original weights are Copyright (c) NAVER Corp. (NAVER LABS Europe) and are licensed for non-commercial use only. This conversion is Adapted Material redistributed under the same CC BY-NC-SA 4.0 license (ShareAlike), with attribution and the changes stated above. This repository is not affiliated with or endorsed by NAVER. For commercial use, consider NomaDamas/Splade_PP_en_v1-mlx (Apache-2.0).