AI SeedbankHelp preserve open and free AI for humanity's future

← All models

minishlab_potion-base-8M

minishlab · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


datasets:

  • minishlab/tokenlearn-c4-en-bge-base-v1.5 library_name: model2vec license: mit tags:
  • embeddings
  • static-embeddings
  • mteb
  • sentence-transformers

potion-base-8M Model Card

This Model2Vec model is pre-trained using Tokenlearn. It is a distilled version of the baai/bge-base-en-v1.5 Sentence Transformer. It uses static embeddings, allowing text embeddings to be computed orders of magnitude faster on both GPU and CPU. It is designed for applications where computational resources are limited or where real-time performance is critical.

Installation

Install model2vec using pip:

pip install model2vec

Usage

Load this model using the from_pretrained method:

from model2vec import StaticModel

# Load a pretrained Model2Vec model
model = StaticModel.from_pretrained("minishlab/potion-base-8M")

# Compute text embeddings
embeddings = model.encode(["Example sentence"])

How it works

Model2vec creates a small, static model that outperforms other static embedding models by a large margin on all tasks on MTEB. This model is pre-trained using Tokenlearn. It's created using the following steps:

  • Distillation: first, a model is distilled from a sentence transformer model using Model2Vec.
  • Training data creation: the sentence transformer model is used to create training data by creating mean output embeddings on a large corpus.
  • Training: the distilled model is trained on the training data using Tokenlearn.
  • Post-training re-regularization: after training, the model is re-regularized by weighting the tokens based on their frequency, applying PCA, and finally applying SIF weighting.

The results for this model can be found on the Model2Vec results page.

Results

Model Avg (All) Avg (MTEB) Class Clust PairClass Rank Ret STS Sum Pearl WordSim
all-MiniLM-L6-v2 55.80 55.93 69.25 44.90 82.37 47.14 42.92 78.95 25.96 60.83 49.91
potion-base-32M 52.83 52.13 71.70 41.25 78.17 42.45 32.67 73.93 24.74 55.37 55.15
potion-base-8M 51.32 51.08 70.34 39.74 76.62 41.79 31.11 72.91 25.06 53.54 50.75
potion-base-4M 50.01 49.77 68.00 39.47 75.37 41.41 28.43 71.87 23.82 52.55 49.21
M2V_base_output 48.77 47.96 66.84 33.96 74.90 39.31 25.36 68.76 26.61 54.02 49.18
potion-base-2M 47.55 47.49 64.13 37.53 73.72 40.46 22.99 69.77 23.80 50.82 44.72
GloVe_300d 45.49 45.82 62.73 37.10 72.48 38.28 21.80 61.52 26.81 45.65 43.05
BPEmb_50k_300d 42.33 41.74 61.72 35.17 57.86 37.26 15.36 55.30 29.49 47.56 41.28

The results show that potion-base-8M reaches 91.96% of the performance of all-MiniLM-L6-v2 with an average score of 51.32 while being orders of magnitude faster.

For full results, see the MTEB leaderboard.

Additional Resources

Library Authors

Model2Vec was developed by the Minish Lab team consisting of Stephan Tulkens and Thomas van Dongen.

Citation

Please cite the Model2Vec repository if you use this model in your work.

@software{minishlab2024model2vec,
  author       = {Stephan Tulkens and {van Dongen}, Thomas},
  title        = {Model2Vec: Fast State-of-the-Art Static Embeddings},
  year         = {2024},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.17270888},
  url          = {https://github.com/MinishLab/model2vec},
  license      = {MIT}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:37a5f04c1d63720929760b1404a0b8e01183b133&dn=minishlab_potion-base-8M

Open magnet in torrent client · infohash 37a5f04c1d63720929760b1404a0b8e01183b133

Files & hashes

PathSizesha1sha256
README.md5.1 KB (5,203 B)a15b68310f32625ba859c23b629824b03091427bde8ec91bf63c5f4c0e20751c227b2d049953e1cab5f8d5d44211c59a44795bdd
config.json202 B (202 B)7df26884a1aaaefbd7a30b37c32a25477cfb4c0e2a6ac0e9aaa356a68a5688070db78fc3a464fefe85d2f06a1905ce3718687553
model.safetensors28.8 MB (30,236,760 B)62ce16a7a5b0f4cd79ff6f22b40c2965aaa7abd8f65d0f325faadc1e121c319e2faa41170d3fa07d8c89abd48ca5358d9a223de2
modules.json278 B (278 B)87267c74884fa9da7667436a871449167532bca2a68dcbed0429dcdd5bfdca92b0b03cc30d09122c0a3fcf4758787d4b244e45b2
special_tokens_map.json134 B (134 B)ea5749ac4944681a4041bb1f9a446137f4f61447a9e8fb6f99fb0b8803f0e6942fdf4d95d6645204620b67dc3310a1024bcbac59
tokenizer.json667.6 KB (683,666 B)3e511f68ccf95c33b9ffd214a94c6d25bdb3034fe67e803f624fb4d67dea1c730d06e1067e1b14d830e2c2202569e3ef0f70bb50
tokenizer_config.json1.4 KB (1,431 B)438de4d478304fd499f1ef3f6f7fe38acd7a96206725995e3ab3039857ff5bd99178a7cdf42863abb04449e7bb31feb1f55fe567
vocab.txt214.5 KB (219,690 B)2f988cb392c3cd1152363bf737816e3530179fa11394523a67ddd404a825428018c0582a6998bcfa044ecbcbf1f4d71adb94c61c

Cite this release

Canonical URL
https://aiseedbank.org/models/minishlab_potion-base-8M/
Slug
minishlab_potion-base-8M
Infohash
37a5f04c1d63720929760b1404a0b8e01183b133
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: minishlab_potion-base-8M.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositoryminishlab/potion-base-8M
Revision (pinned)bf8b056651a2c21b8d2565580b8569da283cab23
Fetched at2026-09-04T02:47:04Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-04T02:47:06Z

mit29.7 MB (31,147,364 bytes)model2veconnxsafetensorsembeddingsstatic-embeddingsmtebsentence-transformers