/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
1,7 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Mecellem-Qwen3-1.7B-TR
Библиотека
sentence-transformers
Опубликована
16 янв 2026

Mursit-Embed-Qwen3-1.7B-TR

ЭмбеддингиТекст → embedding8 профессий

Турецкая модель эмбеддингов на базе Qwen3 для семантического поиска, сопоставления текстов и извлечения документов.

107скачиваний за 30 дней4лайкавеса обновлены23 янв 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Mursit-Embed-Qwen3-1.7B-TR — модель эмбеддингов, разработанная newmindai для семантического поиска и извлечения информации на турецком языке. Она основана на Mecellem-Qwen3-1.7B-TR и преобразована из авторегрессионной архитектуры Qwen3 в двунаправленную модель с mean pooling. Модель содержит 1,7 млрд параметров, формирует векторы размерности 2048 и рассчитана в README на последовательности до 1024 токенов; метаданные указывают контекст до 40960 токенов.

Модель обучалась для поиска по турецким документам, в том числе юридическим, на наборе MS MARCO-TR из 920 106 триплетов. Она подходит для семантического поиска, ранжирования релевантности, сопоставления предложений и поиска по документам; README также называет сценарии вопросно-ответных систем и межъязыкового поиска. В бенчмарке MTEB-Turkish указана оценка 56,84, однако в юридических задачах модель заметно уступает некоторым encoder-only моделям. Доступны форматы Safetensors и ONNX, библиотека — Sentence Transformers. Лицензия — Apache-2.0.

Сценарии применения

  • семантический поиск по турецким документам
  • поиск релевантных турецких юридических текстов
  • сопоставление предложений на турецком языке
  • извлечение документов для турецкой поисковой системы
  • поиск фрагментов для системы вопросов и ответов
  • межъязыковой поиск по текстам

Ограничения

В бенчмарке MTEB-Turkish модель заметно уступает encoder-only моделям на юридических задачах, несмотря на конкурентные результаты на общих турецких задачах. Максимальная длина последовательности, указанная в README, составляет 1024 токена.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Mursit-Embed-Qwen3-1.7B-TR

GitHub HuggingFace Space License

Model Description

Mursit-Embed-Qwen3-1.7B-TR is a Turkish embedding model converted from decoder-only architecture through decoder-to-encoder conversion. The model is based on Mecellem-Qwen3-1.7B-TR (continual pre-trained decoder model, 1.7B parameters) and adapted for Turkish legal retrieval tasks. The conversion process enables bidirectional embedding generation from the autoregressive decoder architecture, allowing the model to serve as a dense retrieval system for Turkish legal documents.

Key Features:

  • Converted from Mecellem-Qwen3-1.7B-TR decoder model (1.7B parameters)
  • Post-trained on MS MARCO-TR dataset (920,106 triplets) for retrieval tasks
  • Achieves 56.84 MTEB Score on Turkish benchmarks
  • Demonstrates competitive performance on general Turkish tasks while showing limitations in legal domain tasks compared to encoder-only models

Model Type: CLM-Embedding (Decoder-to-Encoder Converted)
Parameters: 1.7B
Base Model: newmindai/Mecellem-Qwen3-1.7B-TR
Embedding Dimension: 2,048
Max Sequence Length: 1,024 tokens

Architecture Conversion

The model underwent decoder-to-encoder conversion with the following modifications:

  1. Removal of Language Modeling Head: The autoregressive lm_head layer was removed
  2. Bidirectional Attention: Causal attention mask replaced with bidirectional attention
  3. Mean Pooling: Fixed-size representations extracted using mean pooling over all token positions
  4. Identity Projection: Projection layer initialized to maintain 2,048-dimensional embedding output

Training Details

Post-training for Embeddings:

  • Dataset: MS MARCO-TR (920,106 triplets)
  • Loss Function: CachedGISTEmbedLoss with BGE-M3 guide model (568M parameters)
  • Training Framework: Sentence Transformers
  • Optimizer: AdamW
  • Learning Rate: 5×10⁻⁶
  • Per-GPU Batch Size: 8
  • Gradient Accumulation: 8
  • Effective Batch Size: 256
  • Max Sequence Length: 1,024 tokens
  • Hardware: 4× H100 GPUs (single node, NVLink interconnect)
    • System: MareNostrum 5 ACC partition at Barcelona Supercomputing Center (BSC)
    • Node Configuration: Single node with 4× NVIDIA Hopper H100 64GB GPUs, 80 CPU cores, 512GB DDR5 memory
    • GPU Interconnect: NVLink for intra-node GPU communication (4 GPUs connected via NVLink)

Performance on MTEB-Turkish Benchmark

The following visualization shows the model's performance compared to other Turkish language models:

Model Performance Comparison

Model Performance Comparison: Legal Score vs. MTEB Score. CLM-Embedding models (orange squares) show competitive performance on general Turkish tasks while showing limitations in legal domain tasks compared to encoder-only models.

This model was evaluated on the comprehensive MTEB-Turkish benchmark, which includes 17 tasks across 5 task types. The benchmark evaluates models on general Turkish NLP tasks as well as domain-specific legal retrieval tasks.

Comprehensive Benchmark Results

The following table presents comprehensive evaluation results across all models evaluated on the MTEB-Turkish benchmark. This model's results are highlighted in italics.

ModelMTEBLegalCls.Clus.PairRet.STSCont.Reg.CaseParamsType
embeddinggemma-300m65.4250.6377.7445.0580.0255.0669.2283.9739.5628.38307MEmb.
bge-m362.8751.1675.3535.8678.8854.4269.8386.0838.0929.3567MEmb.
Mursit-Embed-Qwen3-1.7B-TR56.8434.7668.4642.2259.6750.163.7770.2217.9416.111.7BCLM-E.
Mursit-Large-TR-Retrieval56.8746.5667.7241.1559.7851.6964.0181.7832.6725.24403MEmb.
Mursit-Base-TR-Retrieval55.8647.5266.2539.7561.3150.0761.980.434.128.07155MEmb.
Mursit-Embed-Qwen3-4B-TR53.6537.067.2936.6858.3651.1254.7769.2524.2117.564BCLM-E.
----------------------------------------------------------------------------------
bert-base-turkish-uncased46.2324.9468.0533.8160.4432.0136.8552.4712.0510.29110MMLM
turkish-large-bert-cased45.319.1267.4334.2460.1128.6836.0447.575.933.85337MMLM
bert-base-turkish-cased45.1724.4166.3935.2860.0530.5233.6254.0310.139.07110MMLM
BERTurk-Legal42.0232.6360.6126.2459.5125.837.9461.415.5120.99184MMLM
Mursit-Large41.7523.7162.9525.3458.0427.435.0142.7411.2917.1403MMLM
turkish-base-bert-uncased44.6827.5866.2230.2358.8431.436.7456.613.3912.74110MMLM
Mursit-Base40.2317.9359.7825.4858.6520.8236.4536.07.410.4155MMLM
mmBERT-base39.6512.1561.8426.7759.2515.8334.5634.451.330.68306MMLM
TabiBERT37.7711.559.6325.7558.1914.9630.3232.021.860.63148MMLM
ModernBERT-base23.82.9939.062.0153.952.121.917.920.620.43149MMLM
ModernBERT-large23.742.4439.443.953.731.819.856.120.620.59394MMLM

Column abbreviations: MTEB = mean performance across task types; Legal = weighted average of Contracts, Regulation, Caselaw; Classification = accuracy on Turkish classification tasks; Clustering = V-measure on clustering tasks; Pair Classification = average precision on pair classification tasks like NLI; Retrieval = nDCG@10 on information retrieval tasks; Semantic Textual Similarity = Spearman correlation; Contracts = nDCG@10 on legal contract retrieval; Regulation = nDCG@10 on regulatory text retrieval; Caselaw = nDCG@10 on case law retrieval; Number of Parameters = number of model parameters; Model Type = model type (Embedding, CLM-Embedding, Masked Language Model). Bold values indicate the highest score in each column.

Key Findings:

  • The model achieves competitive MTEB Score (56.84), ranking 3rd place on the Turkish retrieval leaderboard
  • While achieving competitive performance on general Turkish tasks, it shows substantial underperformance in Legal Score compared to encoder-only models
  • This indicates that decoder-to-encoder conversion without extensive multi-stage training struggles with domain-specific legal retrieval tasks

Reproducibility

To reproduce the benchmark results and training procedures for this model, please refer to:

Usage

Installation

pip install sentence-transformers

Basic Usage

from sentence_transformers import SentenceTransformer

# Load model
model = SentenceTransformer("newmindai/Mursit-Embed-Qwen3-1.7B-TR")

# Encode sentences
sentences = [
    "Türk hukuk sistemi medeni hukuk geleneğine dayanır",
    "Anayasa Türkiye Cumhuriyeti'nin temel hukuk belgesidir"
]

embeddings = model.encode(sentences)
print(embeddings.shape)  # (2, 2048)

Information Retrieval

from sentence_transformers import SentenceTransformer, util

model = SentenceTransformer("newmindai/Mursit-Embed-Qwen3-1.7B-TR")

query = "Sözleşme feshi nasıl yapılır?"
documents = [
    "Sözleşmeler yazılı olarak feshedilebilir.",
    "İş kanunu çalışma koşullarını düzenler."
]

query_embedding = model.encode(query, convert_to_tensor=True)
doc_embeddings = model.encode(documents, convert_to_tensor=True)
scores = util.cos_sim(query_embedding, doc_embeddings)[0]

results = [(doc, score.item()) for doc, score in zip(documents, scores)]
results.sort(key=lambda x: x[1], reverse=True)

for doc, score in results:
    print(f"Score: {score:.4f} - {doc}")

ONNX Model Inference

This script demonstrates how to use the ONNX model from Hugging Face for text embedding generation.

Exporting Model to ONNX

To export the model to ONNX format, use the optimum-cli command:

optimum-cli export onnx \
  -m newmindai/Mursit-Embed-Qwen3-1.7B-TR \
  --task feature-extraction \
  onnx/MursitEmbedQwen3-1.7b

This will create the model.onnx file (and model.onnx_data if the model is large) in the specified output directory.

Installation

pip install onnxruntime-gpu transformers huggingface_hub numpy

Usage

from huggingface_hub import snapshot_download
import onnxruntime as ort
from transformers import AutoTokenizer
import os

repo_id = "newmindai/Mursit-Embed-Qwen3-1.7B-TR"

local_dir = snapshot_download(
    repo_id=repo_id,
    allow_patterns=["model.onnx", "model.onnx_data"]
)

onnx_path = os.path.join(local_dir, "model.onnx")

tokenizer = AutoTokenizer.from_pretrained(repo_id)

sess = ort.InferenceSession(
    onnx_path,
    providers=["CUDAExecutionProvider", "CPUExecutionProvider"]
)

texts = ["This is a test"]
inputs = tokenizer(
    texts,
    padding=True,
    truncation=True,
    return_tensors="np"
)

ort_inputs = {k: v for k, v in inputs.items()}

# Inference
outputs = sess.run(None, ort_inputs)

# Sentence embedding (last output)
sentence_embedding = outputs[-1]

print("Shape:", sentence_embedding.shape)
print("Providers:", sess.get_providers())
print(sentence_embedding[0][:10])

Features

  • Automatic GPU/CPU selection: Uses CUDA if available, otherwise falls back to CPU
  • Hugging Face integration: Downloads model files directly from Hugging Face Hub
  • Simple API: Easy-to-use interface for text embedding generation

Use Cases

  • Semantic search in Turkish documents
  • Information retrieval tasks
  • Text similarity and matching
  • Question answering systems
  • Cross-lingual information retrieval

Acknowledgments

This work was supported by the EuroHPC Joint Undertaking through project etur46 with access to the MareNostrum 5 supercomputer, hosted by Barcelona Supercomputing Center (BSC), Spain. MareNostrum 5 is owned by EuroHPC JU and operated by BSC. We are grateful to the BSC support team for their assistance with job scheduling, environment configuration, and technical guidance throughout the project.

The numerical calculations reported in this work were fully/partially performed at TÜBİTAK ULAKBİM, High Performance and Grid Computing Center (TRUBA resources). The authors gratefully acknowledge the know-how provided by the MINERVA Support for expert guidance and collaboration opportunities in HPC-AI integration.

References

If you use this model, please cite our paper:

@article{mecellem2026,
  title={Mecellem Models: Turkish Models Trained from Scratch and Continually Pre-trained for the Legal Domain},
  author={Uğur, Özgür and Göksu, Mahmut and Çimen, Mahmut and Yılmaz, Musa and Şavirdi, Esra and Demir, Alp Talha and Güllüce, Rumeysa and Çetin, İclal and Sağbaş, Ömer Can},
  journal={arXiv preprint arXiv:2601.16018},
  year={2026},
  month={January},
  url={https://arxiv.org/abs/2601.16018},
  doi={10.48550/arXiv.2601.16018},
  eprint={2601.16018},
  archivePrefix={arXiv},
  primaryClass={cs.CL}
}

Base Model References

@article{qwen2024,
  title={Qwen3: A Large Language Model Series},
  author={Qwen Team},
  journal={arXiv preprint arXiv:2409.00000},
  year={2024}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
3fc7e90

0 моделей