This is a LinkTransformer model. At its core this model this is a sentence transformer model sentence-transformers model- it just wraps around the class. It is designed for quick and easy record linkage (entity-matching) through the LinkTransformer package. The tasks include clustering, deduplication, linking, aggregation and more. Notwithstanding that, it can be used for any sentence similarity task within the sentence-transformers framework as well. It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Take a look at the documentation of sentence-transformers if you want to use this model for more than what we…
Open-weight model · Sentence similarity
e5-small-dialect2MSA
by Oussama ben slama OussamaBenSlama/e5-small-dialect2MSA
e5-small-dialect2MSA is an open-weight model for sentence similarity from Oussama ben slama. It has 118M parameters and a 512-token context. At 16-bit it needs about 0.3 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.
This is a sentence-transformers model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more.
Runs On
What it takes to serve e5-small-dialect2MSA (118M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 0.2 GB | 0.3 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 0.1 GB | 0.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 0.1 GB | 0.1 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 18, 2026.
e5-small-dialect2MSA on every accelerator the SAVRN Index prices, at every precision
Model Card
This is a sentence-transformers model trained. It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more. First install the Sentence Transformers library: Then you can load this model and run inference. Approximate statistics based on the first 100 samples: - Training and Finetuning Embedding Models with Sentence Transformers: the end-to-end guide for training or finetuning Sentence Transformer models. - Introduction to Matryoshka Embedding Models: variable-size embeddings that can be truncated with minimal quality loss. - Binary and Scalar Embedding…
Excerpt from the card by Oussama ben slama.
Configuration
- Architecture
- BertModel
- Context length (tokens)
- 512
- Layers
- 12
- Hidden size
- 384
- Feed-forward size
- 1,536
- Attention heads
- 12
- Vocabulary size
- 250,037
- Model type
- bert
Identity and Version
- Repository
- OussamaBenSlama/e5-small-dialect2MSA
- Publisher
- Oussama ben slama
- Task
- Sentence similarity
- Modality
- Text
- Library
- sentence-transformers
- Parameters
- 118M parameters
- Languages
- Not stated by the source
- Revision
- 6fc34d14087d8858c258c23323f058589247e3a9
- First published
- 2026-10-16
- Last updated
- 2026-10-16
Files and Weights
10 files, 252.5 MB in total. The weights are 1 file totalling 235.3 MB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model.safetensors | Weights | 235.3 MB | fa83c5edd9d1 |
| 1_Pooling/config.json | Configuration | 90 B | — |
| config.json | Configuration | 752 B | — |
| config_sentence_transformers.json | Configuration | 284 B | — |
| modules.json | Configuration | 429 B | — |
| sentence_bert_config.json | Configuration | 241 B | — |
| README.md | Documentation | 125.3 KB | — |
| .gitattributes | Repository | 1.6 KB | — |
| tokenizer.json | Tokenizer | 17.1 MB | fbcc3c734873 |
| tokenizer_config.json | Tokenizer | 598 B | — |
License and Download
- License
- Not stated by the source
- Access
- Open weights, no gate
- Download size
- 235.3 MB
Released by Oussama ben slama through its official repository on Hugging Face.
Built From
- Described by arXiv:1807.03748
- Described by arXiv:1908.10084
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 235.3 MB |
| 16-bit | 0.2 GB |
| 8-bit | 0.1 GB |
| 4-bit | 0.1 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About e5-small-dialect2MSA
How much GPU memory does e5-small-dialect2MSA need?
About 0.3 GB at 16-bit and 0.1 GB at 4-bit: the weights (118M parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run e5-small-dialect2MSA on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
What is e5-small-dialect2MSA's context length?
512 tokens, from the maximum position embeddings in its published configuration.
Similar Models
This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. This model was trained by sentence-transformers. If you find this model helpful, feel free to cite our publication Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Liang Wang, Nan Yang, Xiaolong Huang, Linjun Yang, Rangan Majumder, Furu Wei, arXiv 2024 This model has 12 layers and the embedding size is 384. Below is an example to encode queries and passages from the MS-MARCO passage ranking dataset. This model is initialized from microsoft/Multilingual-MiniLM-L12-H384 and continually trained on a mixture of multilingual datasets. It supports 100 languages from xlm-roberta, but low-resource languages may see performance degradation. For all labeled datasets, we only use its training set for fine-tuning. For other training details, please refer to our paper at https://arxiv.org/pdf/2402.05672. Check out unilm/e5 to reproduce evaluation results on the…
This is a sentence-transformers model finetuned from microsoft/codebert-base. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, classification, clustering, and more. First install the Sentence Transformers library: Then you can load this model and run inference. Approximate statistics based on the first 100 samples: - numtrainepochs: 1 - learningrate: 2e-05 - warmupsteps: 0.1 - gradientaccumulationsteps: 4 - fp16: True - perdevicetrainbatchsize: 8 - numtrainepochs: 1 - maxsteps: -1 - learningrate: 2e-05 - lrschedulertype: linear - lrschedulerkwargs: None - warmupsteps: 0.1 - optim…
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the right pooling-operation on-top of the contextualized word embeddings. KorSTS, KorNLI 학습 데이터셋으로 멀티 태스크 학습을 진행한 후 KorSTS 평가 데이터셋으로 평가한 결과입니다. The model was trained with the parameters: sentencetransformers.datasets.NoDuplicatesDataLoader.NoDuplicatesDataLoader of…
This is a LinkTransformer model. At its core this model this is a sentence transformer model sentence-transformers model- it just wraps around the class. It is designed for quick and easy record linkage (entity-matching) through the LinkTransformer package. The tasks include clustering, deduplication, linking, aggregation and more. Notwithstanding that, it can be used for any sentence similarity task within the sentence-transformers framework as well. It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Take a look at the documentation of sentence-transformers if you want to use this model for more than what we…