EdgeCoder-Multilingual-61M GGUF

GGUF conversion of Knowledgator Engineeringโ€™s multilingual text encoder with 16 DeBERTa-v2 layers and 384-dimensional token features. Pinned source checkpoint

Files

File Component Quantization Size Status
EdgeCoder-Multilingual-61M-Q4_K_S.gguf text encoder checkpoint Q4_K_S 81,203,328 bytes Available
EdgeCoder-Multilingual-61M-Q6_K.gguf text encoder checkpoint Q6_K 117,583,872 bytes Available
EdgeCoder-Multilingual-61M-Q3_K_S.gguf text encoder checkpoint Q3_K_S 62,461,920 bytes Available
EdgeCoder-Multilingual-61M-Q2_K.gguf text encoder checkpoint Q2_K 52,672,896 bytes Available
EdgeCoder-Multilingual-61M-Q8_0.gguf text encoder checkpoint Q8_0 151,759,136 bytes Available

Q8_0 uses the highest bit depth of the five builds. The Q3_K_S and Q4_K_S builds use a single K-quant block format on the tensors they quantize. The mixed Q2_K build uses Q2_K blocks for the vocabulary tables and Q3_K blocks for the other eligible matrices. Tensors outside the selected matrix layouts retain their source BF16 values. The bundled loader restores the original tensor shapes.

Run locally

Install torch, transformers==5.17.0, gguf==0.19.0, sentencepiece, and huggingface_hub. The bundled Python loader expands the GGUF blocks for Transformers inference.

from pathlib import Path
import sys

import torch
from huggingface_hub import snapshot_download

filename = "EdgeCoder-Multilingual-61M-Q8_0.gguf"
folder = Path(snapshot_download(
    "Hansda/EdgeCoder-Multilingual-61M-GGUF",
    allow_patterns=[
        filename, "edgecoder_gguf.py", "config.json", "spm.model",
        "tokenizer_config.json", "tokenizer.json.gz",
        "special_tokens_map.json", "added_tokens.json",
    ],
))
sys.path.insert(0, str(folder))
from edgecoder_gguf import load_encoder, load_tokenizer

tokenizer = load_tokenizer(folder)
encoder = load_encoder(folder / filename)
inputs = tokenizer("เคจเคฎเคธเฅเคคเฅ‡ เคฆเฅเคจเคฟเคฏเคพ", return_tensors="pt")
with torch.inference_mode():
    features = encoder(**inputs).last_hidden_state
print(features.shape)

The checkpoint also includes the generator and pretraining heads. The GGUF keeps all of those tensors, and the included loader returns the discriminator encoder for feature extraction.

Validation

Each build passed source tensor coverage, tokenizer parity, and CPU inference checks against the pinned source encoder. The runtime uses the original tokenizer files and DeBERTa-v2 configuration. See model-manifest.json for the file sizes and SHA-256 hashes.

License

Apache-2.0. Credit to Knowledgator Engineering. License

Downloads last month
-
GGUF
Model size
0.1B params
Architecture
deberta-v2
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Hansda/EdgeCoder-Multilingual-61M-GGUF

Quantized
(1)
this model