Feature Extraction
sentence-transformers
PyTorch
ONNX
Safetensors
English
bert
quantized
text-embeddings-inference
Instructions to use staccs/lecore-bge-assimilated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use staccs/lecore-bge-assimilated with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("staccs/lecore-bge-assimilated") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
lecore-bge-assimilated
BAAI/bge-base-en-v1.5 passed through leCore's assimilation + budgeted requantize machinery (Marchenko-Pastur spectral filter, then per-tensor bit-width chosen by mean-embedding-cosine β₯ 0.99 at group-64).
What happened, measured (2026-08-14):
- MP filter: 0 layers filtered (71/73 heavy-tail passthrough) β the predicted no-op on a well-trained encoder.
- Requantize landed at mean 7.62 bits/weight (15Γ3b, 4Γ4b, 9Γ5b, 14Γ6b, 20Γ8b, 11 tensors kept fp32 β the encoder resists the
3-bit the same machinery achieved on a 9B decoder). Packed estimate **132 MB**; this repo ships the dequantized-fp32 container (438 MB) snapped to the quant grid β it loads anywhere bge-base loads. - Quality: SciFact nDCG@10 0.7388 (full bge: 0.7404); NFCorpus 0.3716 (0.3735); ArguAna 0.6375 (identical); SCIDOCS 0.2152 (0.2172). Zero-lexical-overlap NIAH recall@64 0.8464 β identical to full bge. CPU inference scores bit-identical to GPU.
- Honesty notes: requantize buys size, not CPU matmul speed (inference runs at normal bge-base pace β
27β31 ms batch-1 query on 8 CPU threads); a packed runtime (e.g. GGUF) would be needed to realize the memory number at inference; uniform 4-bit (93 MB, 98.4% quality) measured as the better packed-runtime point, uniform 3-bit degrades visibly (0.6922) and should not ship.
Method, full matrix (adversarial decoys, FAISS flat/HNSW, cost-to-first-answer), and every number's provenance: https://benches.openzoo.fun
Files in this repo
| file | size | what it is |
|---|---|---|
model.safetensors |
438.0 MB | quantized weights |
pytorch_model.bin |
438.0 MB | support file |
onnx/model.onnx |
435.8 MB | support file |
tokenizer.json |
711.4 KB | tokenizer |
vocab.txt |
231.5 KB | support file |
config.json |
777 B | model config |
tokenizer_config.json |
366 B | config / tokenizer |
modules.json |
349 B | config / tokenizer |
1_Pooling/config.json |
190 B | config / tokenizer |
License
Base model: BAAI/bge-base-en-v1.5 β MIT. Only adaptation was done here: no retraining of the base weights.
- Downloads last month
- 22
Model tree for staccs/lecore-bge-assimilated
Base model
BAAI/bge-base-en-v1.5