Downloads · 30 days
10
7% of all-time downloads
alphaedge-ai/multilingual-e5-base-pms-32768
multilingual-e5-base-pms-32768 is a sentence similarity model from alphaedge-ai. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
This model is a 60.0% smaller version of intfloat/multilingual-e5-base optimized for 32768 language via vocabulary pruning.
Downloads · 30 days
10
7% of all-time downloads
All-time downloads
147
Public
Parameters
111M
445 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors445 MB · 99%
From the Hugging Face model README
This model is a 60.0% smaller version of intfloat/multilingual-e5-base optimized for 32768 language via vocabulary pruning.
Total vocabulary size: 32768 tokens (reduced from 250002)
Tokenizer type: Unigram
Training samples per language: 200000 texts
Dataset: Lumberjackk/fineweb-2-trimming
This pruned model should perform similarly to the original model for 32768 with a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.
You can use this model with the Transformers library:
from transformers import AutoModel, AutoTokenizer
model_name = "Lumberjackk/multilingual-e5-base-pms-32768"
model = AutoModel.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)