Downloads · 30 days
14
21% of all-time downloads
Akshat131/static-splade-trained-pruned
static-splade-trained-pruned is a feature extraction model from Akshat131. Use it when you need embeddings to search or compare text. The card lists the license as apache-2.0.
This is the bestproxy checkpoint from an inference-free SPLADE-v3-doc layer-pruned training run pruned from Cdn13/splade-multi-static-doc.
Downloads · 30 days
14
21% of all-time downloads
All-time downloads
66
Public
Parameters
45.7M
549 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors183 MB · 99%
From the Hugging Face model README
This is the best_proxy checkpoint from an inference-free SPLADE-v3-doc layer-pruned training run
pruned from Cdn13/splade-multi-static-doc.
log1p(ReLU(logits)).max() document pooling)static_query_weights.pt)
initialized from IDF and learned during training.| File | Description |
|---|---|
config.json | Model config (HF format) |
model.safetensors / pytorch_model.bin | Document-encoder weights |
tokenizer* | Tokenizer files |
static_query_weights.pt | Learned static query token weights |
trainer_state.pt | Optimizer / scheduler state + training metrics at best step |
import torch
from transformers import AutoTokenizer, AutoModelForMaskedLM
repo = "Cdn13/static-splade-trained-pruned"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForMaskedLM.from_pretrained(repo)
# Load static query weights
sqw = torch.load("static_query_weights.pt", map_location="cpu")
query_weights = sqw["query_weights"] # shape: [vocab_size]
Note: The query representation is
presence(token) * query_weights[token], computed without any forward pass through the model.