Model reference · open weights

EdgeCoder-Multilingual-61M

Embeddings knowledgator Embeddings 1 build Open weights 3k dl/mo

EdgeCoder-Multilingual-61M is an open-weight embedding model from knowledgator. EdgeCoder-Multilingual-61M (BF16) weighs 284 MB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • EdgeCoder-Multilingual-61M is a compact text encoder developed by knowledgator for feature extraction and fine-tuning into embedding models.
  • It supports 46 languages with a maximum context length of 8192 tokens and uses the Apache 2.0 license.
  • The model contains 61 million parameters and is pre-trained on 1.1 trillion tokens using a replaced-token detection objective.

Summary of the knowledgator/EdgeCoder-Multilingual-61M model card, 2026-11-26

What it is

Released byknowledgator
Released2026-10-26
Parameters142M
VRAM284 MB for the weights

What it runs on

Memory and cards for EdgeCoder-Multilingual-61M (BF16)

284 MBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

From the model card

What knowledgator says about EdgeCoder-Multilingual-61M

Read the model card

EdgeCoder-Multilingual-61M is a compact multilingual text encoder (61M parameters, 16 layers) for 46 languages, with a context of up to 8192 tokens. It is pre-trained with ModernELECTRA: replaced-token detection (RTD), as in ELECTRA and DeBERTaV3, plus a boundary-window reconstruction task.

RTD encoders are strong on classification but usually weak as backbones for embedding models. EdgeCoder-Multilingual-61M keeps the classification quality of RTD and can also be fine-tuned into an embedding model. It is about half the size of other small multilingual encoders (118M to 141M parameters).

Model details

ArchitectureDeBERTa-v2 (disentangled relative attention, no absolute positions)
Layers / hidden / FFN / heads16 / 384 / 1536 / 6
Token embeddingfactorized: 128-d table with a linear projection to 384
Parameters61.0M (28.4M without the embedding table)
Maximum sequence length8192 tokens
TokenizermDeBERTa-v3 SentencePiece (251,000 tokens)
Languages46

The repository contains the discriminator encoder. It has no masked-language-model head, so it is meant for fine-tuning and feature extraction, not for fill-mask.

Languages

Arabic, Belarusian, Bengali, Bosnian, Bulgarian, Chinese (Mandarin), Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Irish, Italian, Japanese, Korean, Latin, Latvian, Lithuanian, Macedonian, Malay, Maltese, Norwegian Bokmål, Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Turkish, Ukrainian, Urdu, Vietnamese, Yiddish.

English is the largest single language (about 47% of the pre-training tokens). The other languages are sampled with shares proportional to the square root of their available data.

Usage

The checkpoint is a standard DeBERTa-v2 model and loads with transformers:

from transformers import AutoTokenizer, AutoModel

tokenizer = AutoTokenizer.from_pretrained("knowledgator/EdgeCoder-Multilingual-61M")
model = AutoModel.from_pretrained("knowledgator/EdgeCoder-Multilingual-61M")

inputs = tokenizer("EdgeCoder — компактний багатомовний енкодер.", return_tensors="pt")
outputs = model(**inputs)
hidden = outputs.last_hidden_state  # (batch, seq_len, 384)

For fine-tuning, use the usual task heads, for example AutoModelForSequenceClassification or AutoModelForTokenClassification.

Long inputs and faster inference with FlashDeBERTa

The standard DeBERTa attention needs memory that grows quadratically with the sequence length. For long inputs, we recommend FlashDeBERTa, the implementation the model was trained with. It loads the same checkpoint:

pip install flashdeberta -U
import torch
from transformers import AutoTokenizer
from flashdeberta import FlashDebertaV2Model

tokenizer = AutoTokenizer.from_pretrained("knowledgator/EdgeCoder-Multilingual-61M")
model = FlashDebertaV2Model.from_pretrained("knowledgator/EdgeCoder-Multilingual-61M").to("cuda")

inputs = tokenizer(long_text, truncation=True, max_length=8192, return_tensors="pt").to("cuda")
with torch.no_grad():
    outputs = model(**inputs)

FlashDeBERTa also provides heads for sequence and token classification, question answering and multiple choice.

Evaluation

All numbers are from the paper. Baselines were run with the same protocols.

GLUE (dev, English)

Single seed, best run of a hyperparameter sweep that follows the Ettin protocol.

ModelParamsCoLASST-2MRPCSTS-BQQPMNLIQNLIRTEAvg
mDistilBERT134.7M34.789.490.587.586.679.087.573.377.5
Multilingual MiniLM117.7M25.491.691.388.687.782.189.775.878.3
mmBERT-small140.5M61.893.191.690.388.685.891.981.984.7
EdgeCoder-Multilingual-61M61.0M58.391.492.190.291.584.891.281.685.1

XTREME (zero-shot cross-lingual transfer)

Models are fine-tuned on English and evaluated on the other languages. The learning rate and the checkpoint are selected on the English dev set only. Single seed.

On the 26 XTREME languages that the model was pre-trained on:

ModelParamsXNLIPAWS-XXCOPAXQuADMLQATyDiQAWikiANNUDPOSAvg
mDistilBERT134.7M60.879.653.550.145.540.359.772.557.7
Multilingual MiniLM117.7M71.183.258.867.261.158.558.979.467.3
mmBERT-small140.5M73.885.462.873.066.266.859.472.470.0
EdgeCoder-Multilingual-61M61.0M71.583.559.169.462.062.057.477.967.8

On all XTREME languages, including 16 that the model has never seen:

ModelParamsXNLIPAWS-XXCOPAXQuADMLQATyDiQAWikiANNUDPOSAvg
mDistilBERT134.7M59.379.652.747.445.539.353.968.855.8
Multilingual MiniLM117.7M70.983.258.366.361.158.355.277.866.4
mmBERT-small140.5M73.685.460.371.666.266.352.069.568.1
EdgeCoder-Multilingual-61M61.0M69.083.555.664.762.057.345.564.362.7

MTEB

Each backbone is fine-tuned once into a sentence embedding model on 1M English MS MARCO triplets (one epoch, mean pooling, contra

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms