/ Модель

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

Лицензия
CC BY-NC 4.0
Базовая модель
laya
Опубликована
24 сен 2026

jev-ar

Классификация без дообученияТекст → label3 профессии

Модель для локальной маршрутизации намерений в арабских и арабско-английских сообщениях по заданному пользователем списку маршрутов.

51скачиваний за 30 дней6лайковвеса обновлены1 окт 2026

Бенчмарки

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

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

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

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

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

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

Jev-AR — модель на 322 млн параметров, разработанная для маршрутизации намерений в арабских сообщениях по списку маршрутов, заданному во время запроса. Она дообучена на базе многоязычной модели принятия решений Laya от Convai Innovations и использует энкодер mmBERT-base с отдельной головой принятия решений. Модель совместно оценивает маршруты за один проход, выдаёт лучший маршрут, вероятности для каждого варианта и сигнал для передачи решения человеку при низкой уверенности.

Модель рассчитана на современный литературный арабский, эмиратский и саудовский диалекты, а также сообщения с переключением между арабским и английским. По данным карточки, она достигает 83,4% точности на тесте с 60 маршрутами и работает локально примерно за 10 мс на одном GPU. Новые списки маршрутов можно передавать без переобучения.

Обучение проводилось на синтетических арабских данных, ещё не проверенных носителями языка. Калибровка уверенности может быть неточной для пользовательских списков маршрутов; для решений с юридическими, медицинскими или финансовыми последствиями рекомендуется участие человека. Лицензия CC BY-NC 4.0 разрешает использование с указанием авторства, но некоммерческое.

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

  • маршрутизация обращений на арабском языке в службу поддержки
  • определение намерения в сообщениях на эмиратском или саудовском диалекте
  • направление арабско-английских сообщений в нужный поток обработки
  • выбор маршрута для вопросов к RAG-приложению
  • передача на проверку человеку запросов с низкой уверенностью

Ограничения

Обучающие данные синтетические и пока не проверены носителями языка. Калибровка уверенности может быть неточной на пользовательских списках маршрутов; решения с юридическими, медицинскими или финансовыми последствиями следует проверять с участием человека.

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

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

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

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

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

Открыть на Hugging Face

Jev-AR

A 322M local decision model for fast Arabic intent routing across MSA, Gulf dialects and code-switched Arabic

Benchmark GitHub Parameters Latency License: CC BY-NC 4.0

83.4% on 60-way Gulf-Arabic routing · ~10 ms per query on one GPU · 322M parameters · runs locally

Supply your routes at request time. Jev-AR scores them jointly in one forward pass and returns the best route, a probability for every route, and an escalation signal for when it isn't confident enough to act.

Highlights

  • Close to a closed API, at a fraction of the latency. It is 2.8 points from Jev 1.13 on 60-way routing, at about 10 ms per query on one GPU.
  • On par with Jev on 20-route lists. 90.0% vs 91.4%; the difference is not statistically significant.
  • The strongest model under 1B parameters we evaluated. It is 6.9 points above a classifier fine-tuned from the same encoder, and 11.0 points above multilingual-E5 with logistic regression.
  • Built on Laya multilingual. Jev-AR is fine-tuned from Laya multilingual, an open decision model with the same architecture. Our Arabic training takes it from 42.0% to 83.4% on 60 routes, and from 13 to 38 of 40 on the unseen-domain test.
  • Early interest. In its first week (25 Sep–1 Oct 2026), 12 people in 7 countries requested access to the weights, mostly for research, and the benchmark was downloaded 436 times.
  • Your routes, no retraining. It routes 38 of 40 decisions correctly on a kind of RAG app never seen in training, and no answer changes when the route list is reversed.
  • Built for production. It has calibrated confidence and a 95%-accuracy escalation threshold, and it is about 1% the size of a 27B LLM.

Quick start

jev_ar_route.py is one self-contained file in this repo (also on GitHub). It needs only torch, transformers and huggingface_hub.

pip install torch transformers huggingface_hub
hf auth login          # once your access request is approved (automatic)
python jev_ar_route.py "ابي اجدد الاقامة"
from jev_ar_route import JevAR

router = JevAR()  # downloads the model on first use

tools = {  # an assistant's tools: any routes you like, given at request time
    "Calendar": "Create, move or cancel meetings and reminders.",
    "Email": "Write, reply to or send emails.",
    "Web search": "Look up current or public information: news, prices, facts.",
    "Human agent": "The user asks for a person, or the request is sensitive or legal.",
}
router.route("وش آخر أخبار أسعار الذهب اليوم؟", tools)
# {'route': 'Web search', 'confidence': 0.88, 'escalate': False, 'probabilities': {...}}

Called without a list, Jev-AR routes over 60 built-in routes: 58 Gulf government services (residency, IDs, traffic, labour, business, housing, health, education and more), plus other service and out of scope.

router.route("ابي اجدد الاقامة")
# {'route': 'تجديد الإقامة', 'id': 'renew_residence', 'category': 'residency', 'confidence': 0.78,
#  'escalate': False, 'in_scope': 0.998, 'probabilities': {...}}

Tips. Treat escalate: True (top probability below 0.72) as "hand off to a person or a fallback". Keep the instruction plus the route list under 512 tokens: about 60 short names, or about 15–20 routes with one-line descriptions (fewer in Arabic). The helper raises an error rather than silently cutting routes. On a CPU, call torch.set_num_threads(8) first. The full API is on GitHub.

How it works

The message and the routes form one input sequence, with a marker token before each route. The mmBERT-base encoder reads them together, and a 15M decision head (Laya's design) scores every route at its marker. A softmax with a temperature fitted on development data turns the scores into probabilities. Routes are part of the input rather than fixed output classes, so a new list needs no retraining.

Results

Gulf-Arabic routing (Jev-AR Bench): 4,974 held-out queries in MSA, Emirati, Saudi and code-switched Arabic. Accuracy in %, with 95% confidence intervals.

ModelParamsDeployment60 routes20 routesLatency (p50)
Qwen3.8-27B (LLM, list in prompt)27BGPU server90.094.0634 ms †
Jev 1.13 (TypeSafe)undisclosedclosed API86.291.4370 ms †
Jev-AR322Mlocal83.4 [81.2–85.4]90.0 [88.4–91.4]10 ms
mmBERT-base, fine-tuned classifier307Mlocal76.579.86 ms
multilingual-E5-base + logistic regression278Mlocal72.477.44 ms
Laya multilingual (Jev-AR's starting point) ‡322Mlocal42.056.411 ms

Batch 1. Local models ran on an RTX 5090 Laptop GPU. † Client-side round trip, network included. ‡ The open model Jev-AR was fine-tuned from, as released. Every system gets the same inputs, so Laya's route budget was raised from its default 256 tokens to Jev-AR's 512.

Unseen-domain routing (Jev-AR Bench): one RAG app of a kind never seen in training, with 6 routes, and each question routed over an English and an Arabic route list (40 decisions).

ModelScoreAnswers changed when the list is reversed
Jev 1.1340 / 400
Qwen3.8-27B40 / 400
Jev-AR38 / 400
Laya multilingual (Jev-AR's starting point)13 / 4011
Jev-AR accuracy (%)MSAEmiratiSaudiCode-switched
60 routes87.880.083.482.4
20 routes92.788.289.389.8
  • Macro-F1: 86.4 (60 routes). Category accuracy: 92.4.
  • Order robustness: 5.0% of answers change when the 60 routes are shuffled (Jev 1.13: 4.7%).
  • Escalation: at a threshold fitted on development data for 95% accuracy, 85.8% of test queries are answered automatically, at 89.7% accuracy.
  • Label-agreement subset (queries where an independent labeller confirms the gold route): 86.0%.
  • The test set was frozen before training (SHA-256 published on the dataset card). It was written by a different model family than the training data, and it includes adversarial queries, routes held out from training, and requests outside the route list.
  • Every system sees the same route lists. Temperatures and thresholds are fitted on development data only.
  • Confidence intervals come from a bootstrap that resamples whole generation batches. Differences are checked with paired tests against each baseline.
  • Data, a snippet to evaluate your own router, and per-category results: jev-ar-bench.

Model details

TaskIntent routing over a route list given at request time
LanguagesArabic (MSA, Emirati, Saudi) and English, including code-switched messages
ArchitecturemmBERT-base encoder with Laya's decision head, which scores all routes jointly
Parameters322M: a 307M encoder plus a 15M decision head
Context640 tokens (message + route list); instruction + route list up to 512
OutputBest route, calibrated probabilities over all routes, escalation flag
Latency~10 ms per query on a GPU; on a laptop CPU with 8 threads, ~0.15 s for a short list and ~0.45 s for 60 routes
Base modelLaya multilingual (mmBERT-base + decision head), fine-tuned for Arabic routing
LicenceCC BY-NC 4.0; commercial licensing: ayoubatmane23@gmail.com

Limitations

  • Trained on synthetic Arabic routing data, which has not yet been validated by native speakers.
  • Confidence is calibrated on the built-in routes, so treat it as approximate on custom lists.
  • It is not an official channel of any government or company. Keep a person in the loop for decisions with legal, medical or financial consequences.

Licence

CC BY-NC 4.0 (LICENSE): free for non-commercial use, testing and evaluation, with attribution. Commercial use requires a licence; contact ayoubatmane23@gmail.com. Third-party credits are in NOTICE.

Citation

@misc{jevar2026,
  title        = {Jev-AR: Arabic Intent Routing for MSA, Gulf Dialects and Code-Switching},
  author       = {atmaneayoub},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/atmaneayoub/jev-ar}}
}

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

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

GPU в ailist

Универсальный рантайм

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

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
e699568

0 моделей