/ Модель

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

Контекст
32 768 токенов
Параметры
508 млн
Размер весов
1,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Octen-Embedding-0.6B
Библиотека
mlx-embeddings
Опубликована
20 окт 2026

Octen-Embedding-0.6B-mlx-bf16

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

Многоязычная модель эмбеддингов Octen в формате MLX для семантического поиска, извлечения и сравнения текстов на Apple Silicon.

73скачиваний за 30 дней0лайковвеса обновлены20 окт 2026

Бенчмарки

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

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

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

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

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

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

Это общественная конверсия модели Octen-Embedding-0.6B в формат MLX для запуска на компьютерах Apple Silicon. В основе — плотная модель Qwen3 с 507,6 млн параметров, дообученная Octen для поиска и извлечения информации; веса представлены в bfloat16 без квантизации. Модель преобразует текст в нормализованные эмбеддинги размерностью 1024 и поддерживает контекст до 32 768 токенов.

Модель предназначена для семантического поиска, межъязыкового извлечения документов, кластеризации и сравнения текстов. В README заявлена поддержка более 100 языков; в метаданных указаны английский и китайский. Конверсия не является официальным релизом Octen. Модель распространяется по лицензии Apache 2.0.

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

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

Ограничения

Проверка конверсии и качества поиска в README проведена на небольшом наборе текстов и не гарантирует результаты на других данных. Для исходных ограничений модели следует учитывать карточку Octen-Embedding-0.6B.

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

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

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

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

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

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

Открыть на Hugging Face

Octen-Embedding-0.6B for MLX (bf16)

Octen/Octen-Embedding-0.6B converted to MLX so it runs natively on Apple Silicon: bfloat16 weights, no quantization, 1.2 GB on disk. The model embeds text in 100+ languages into 1024 dimensions, for search, retrieval, clustering and similarity. It is a 0.6B-parameter Qwen3 model fine-tuned for retrieval, with a 32K-token context.

This is a community conversion, not an official Octen release. The weights are Octen's, fine-tuned from Qwen/Qwen3-Embedding-0.6B. Both are Apache 2.0, and so is this conversion. Credit for the model goes to the Octen and Qwen teams.

The three variants

RepositoryWeightsSize
juliensimon/Octen-Embedding-0.6B-mlx-bf16 (this repository)bfloat16 weights, no quantization1.2 GB
juliensimon/Octen-Embedding-0.6B-mlx-8bit8-bit affine quantization, group size 640.6 GB
juliensimon/Octen-Embedding-0.6B-mlx-4bit4-bit affine quantization, group size 640.3 GB

The three sizes

SizeVariantsDimensionsTime to embed 318 texts
0.6Bbf16, 8-bit, 4-bit10245 to 6 seconds
4Bbf16, 8-bit, 4-bit256035 to 55 seconds
8Bbf16, 8-bit, 4-bit409670 to 80 seconds

The last column is the time to embed the 178 tickets and 140 articles of the test below, 8 texts per batch, up to 1,024 tokens each, on an M3 Max with 48 GB, measured on 21 October 2026 and given as a range over the three variants. Quantization saved disk and memory and did not make embedding faster in these runs. Larger models retrieve better on the test below: top 1 is 67.1% at 0.6B, 72.4% at 4B and 78.2% at 8B (MLX bf16).

Quick start

pip install mlx-embeddings
import mlx.core as mx
from mlx_embeddings import load

model, tokenizer = load("juliensimon/Octen-Embedding-0.6B-mlx-bf16")

texts = [
    "How many days of webhook logs can I see on the Business plan?",
    "Business accounts can view up to 90 days of webhook logs.",
    "Wie lange werden Webhook-Protokolle gespeichert?",
    "Pasta carbonara needs eggs, pecorino and guanciale.",
]
inputs = tokenizer(texts, padding=True, truncation=True, max_length=1024, return_tensors="mlx")
embeddings = model(inputs["input_ids"], attention_mask=inputs["attention_mask"]).text_embeds  # (4, 1024)
embeddings = embeddings.astype(mx.float32)
embeddings = embeddings / mx.linalg.norm(embeddings, axis=1, keepdims=True)  # the model computes in bf16: renormalize in float32
mx.eval(embeddings)
print((embeddings @ embeddings.T).round(3))  # cosine similarities: related texts score high, the carbonara line scores about 0.1

The embedding is the last token's hidden state, normalized, as in the original model. The original model card asks for no instruction prefix, so queries and documents are embedded the same way.

Search across languages

import mlx.core as mx
from mlx_embeddings import load

model, tokenizer = load("juliensimon/Octen-Embedding-0.6B-mlx-bf16")


def embed(texts):
    inputs = tokenizer(texts, padding=True, truncation=True, max_length=1024, return_tensors="mlx")
    e = model(inputs["input_ids"], attention_mask=inputs["attention_mask"]).text_embeds.astype(mx.float32)
    e = e / mx.linalg.norm(e, axis=1, keepdims=True)
    mx.eval(e)
    return e


articles = [
    "Webhook logs: Starter accounts can view up to 7 days of logs, Team up to 30 days, Business up to 90 days.",
    "To create an invoice, select Invoices, click New invoice and choose the customer.",
    "Harborline retries a failed webhook delivery three times, after 10 seconds, 1 minute and 5 minutes.",
]
queries = [
    "Combien de jours de journaux de webhook puis-je consulter avec le plan Business ?",
    "Hoe maak ik een nieuwe factuur aan?",
]
scores = embed(queries) @ embed(articles).T  # (2, 3): one row per query
for q, row in zip(queries, scores.tolist(), strict=True):
    best = max(range(len(articles)), key=row.__getitem__)
    print(f"{q}\n  -> {articles[best][:60]}... ({row[best]:.2f})")

A French question finds the English webhook article, and a Dutch question finds the invoice article.

How faithful is the conversion

Run on 20 October 2026. The test: 170 support tickets in English, French, Dutch and German, each written from one of 140 English help articles (the development set of a workshop on fine-tuning small language models). The question is whether the ticket's own article is among the top k articles retrieved. The reference is the original PyTorch model in bf16 on CPU.

ModelTop 1Top 3Top 5Top 10Cosine to PyTorch, meanCosine to PyTorch, worstSame top 1 as PyTorch
Octen-Embedding-0.6B (PyTorch, bf16, CPU)67.6%88.2%91.8%96.5%11100%
MLX bf16 (this repository)67.1%88.8%91.8%96.5%0.99970.99598.3%
MLX 8-bit67.6%88.2%91.8%96.5%0.99960.99497.8%
MLX 4-bit64.1%85.3%90.6%94.7%0.94650.90581.5%

bf16 and 8-bit match the original within one ticket at every k. One benchmark on one language mix is not a general claim: check retrieval quality on your own data before you rely on it. If you store embeddings, embed documents and queries with the same variant.

Reproduce the conversion

mlx_embeddings.convert (mlx-embeddings 0.1.0, MLX 0.32.4) crashes on this model while re-saving tokenizer.json, a read-only file it copied from the Hub cache. This short wrapper copies files without their read-only mode:

import importlib, os, shutil

c = importlib.import_module("mlx_embeddings.convert")
_copyfile = shutil.copyfile


def plain_copy(src, dst, **_):
    dst = os.path.join(dst, os.path.basename(src)) if os.path.isdir(dst) else dst
    return _copyfile(src, dst)


c.shutil.copy = plain_copy
c.convert("Octen/Octen-Embedding-0.6B", mlx_path="out", dtype="bfloat16", quantize=False)

The sentence-transformers files of the original (modules.json and the like) are left out, because this repository holds MLX weights.

Limitations

  • The same limits as the original model apply. See its card.
  • Quantization changes embeddings a little, and more at 4 bits. Do not mix variants inside one index.
  • The test above is mine and small. It measures fidelity to the original and retrieval on one kind of text.

Citation

Please cite the Qwen3 Embedding work this model builds on:

@article{qwen3embedding,
  title={Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models},
  author={Zhang, Yanzhao and Li, Mingxin and Long, Dingkun and Zhang, Xin and Lin, Huan and Yang, Baosong and Xie, Pengjun and Yang, An and Liu, Dayiheng and Lin, Junyang and Huang, Fei and Zhou, Jingren},
  journal={arXiv preprint arXiv:2506.05176},
  year={2025}
}

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

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

GPU в ailist

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

Нельзя запустить

MLX-модели работают только на Apple Silicon.

Класс архитектуры
Qwen3Model
Ревизия весов
21f8a10

0 моделей