multilingual-e5-small-pms-32768

This model is a 70.9% smaller version of intfloat/multilingual-e5-small 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

Language Distribution

  • pms: 32768 tokens

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.

Usage

You can use this model with the Transformers library:

from transformers import AutoModel, AutoTokenizer

model_name = "Lumberjackk/multilingual-e5-small-pms-32768"
model = AutoModel.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)

Model Statistics

  • Original model size: 117.7M parameters
  • Pruned model size: 34.2M parameters
  • Size reduction: 70.9%
  • Vocabulary reduction: 86.9%
Downloads last month
-
Safetensors
Model size
34.2M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for alphaedge-ai/multilingual-e5-small-pms-32768

Quantized
(257)
this model

Dataset used to train alphaedge-ai/multilingual-e5-small-pms-32768

Collection including alphaedge-ai/multilingual-e5-small-pms-32768