The minishlab/M2V_multilingual_output model (distilled from LaBSE), pruned to European languages only.
This is the original M2V multilingual model with all non-European script tokens removed. The base model was distilled from LaBSE (Language-agnostic BERT Sentence Embedding, 470M params) by the MinishLab team. We pruned the vocabulary to only keep European-script tokens.
| Before pruning | After pruning | |
|---|---|---|
| Vocabulary | 501,054 tokens | 357,416 tokens |
| Model size | ~490 MB | ~350 MB |
| Embedding dim | 256 | 256 |
28.7% of tokens were removed (non-European scripts).
from model2vec import StaticModel
model = StaticModel.from_pretrained("flipbitsnotburgers/m2v-multilingual-european")
embeddings = model.encode(["deodorant", "Duschgel", "shower gel"])
The following scripts were removed:
MIT (same as base model)
minishlab/M2V_multilingual_output