/ Модель

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

Контекст
40 960 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-0.6B
Библиотека
transformers
Опубликована
26 окт 2026

Arabian-Agent-Qwen3-0.6B

Генерация текстаТекст → текст3 профессии
486скачиваний за 30 дней1лайквеса обновлены27 окт 2026

Описание модели

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

Компактная дообученная модель Qwen3 для маршрутизации вызовов инструментов и генерации их аргументов на арабском и английском языках.

Arabian-Agent — компактная модель для выбора инструментов и формирования структурированных вызовов на арабском и английском языках. Её разработчик дообучил Qwen/Qwen3-0.6B методом LoRA и объединил адаптер с базовыми весами; модель построена на архитектуре Qwen3ForCausalLM и содержит около 508 млн параметров. Контекст — до 40 960 токенов.

Модель предназначена для роли маршрутизатора инструментов внутри агентной системы: она получает описание доступных инструментов и может выдать имя инструмента с аргументами либо ответить обычным текстом, если вызов не нужен. Разработчик сообщает об улучшении выбора инструмента и точности аргументов на собственной тестовой выборке из 354 примеров; эти результаты не гарантируют качество на других запросах.

Сильная сторона модели — компактная генерация вызовов инструментов, в первую очередь на современном стандартном арабском, а также на английском. Она слабее справляется с продолжением многошагового диалога после результата инструмента, открытым арабским чатом, диалектами, переключением языков, длинными неоднозначными запросами и сложными рассуждениями. Для выполнения вызовов нужны внешняя среда и проверка аргументов и прав доступа. Лицензия — Apache-2.0.

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

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

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

🐪 Arabian-Agent

A compact Arabic-first tool-calling model

Qwen3-0.6B fine-tuned for structured tool selection and argument generation in Arabic and English.

🤗 Transformers Model · ⚡ GGUF Builds · 🌐 Base Model

License Parameters Languages Task


✨ What is Arabian-Agent?

Arabian-Agent is a small, Arabic-first agent model designed to choose an available tool and produce a structured call rather than pretending it has already completed the task. It is a LoRA fine-tune of Qwen/Qwen3-0.6B, merged into the base weights for convenient inference and re-quantization.

Use it as the tool-routing component inside an agent runtime—not as a replacement for the runtime, permission system, or tool execution layer.

📊 Evaluation snapshot

Results from the project's frozen 354-example test set, using greedy decoding and the same evaluation harness across versions.

MetricBase Qwen3-0.6BArabian-Agent v4
Tool selection accuracy92.17%98.16%
Exact argument match49.31%82.03%
Valid output rate98.31%99.72%
Arabic tool selection92.54%100.00%
Arabic exact argument match49.25%83.58%
English exact argument match49.33%81.33%
False completions10

These are project-reported results on a curated test battery, not a guarantee of production performance. See the limitations below.

🚀 Quick start

Transformers

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "Kenvenx/Arabian-Agent-Qwen3-0.6B"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
).eval()

messages = [
    {
        "role": "system",
        "content": """You are an AI agent. Use only tools listed below.
Available tools:
search(query: str) -> list — search the web.

When a tool is needed, output:
<tool>
{"name":"search","arguments":{"query":"..."}}
</tool>
Do not invent tool results. Answer in the user's language."""
    },
    {"role": "user", "content": "ابحث لي عن أخبار الذكاء الاصطناعي في السعودية"},
]
inputs = tokenizer.apply_chat_template(
    messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
)
with torch.no_grad():
    output = model.generate(**inputs, max_new_tokens=128, do_sample=False)
print(tokenizer.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Expected shape (illustrative):

<tool>
{"name":"search","arguments":{"query":"أخبار الذكاء الاصطناعي في السعودية"}}
</tool>

llama.cpp / Ollama / LM Studio

For local inference, choose a quantization in the GGUF repository.

# llama.cpp
llama-cli -hf Kenvenx/Arabian-Agent-Qwen3-0.6B-GGUF:Q4_K_M

# OpenAI-compatible server for an agent runtime
llama-server -hf Kenvenx/Arabian-Agent-Qwen3-0.6B-GGUF:Q4_K_M --ctx-size 8192

# Ollama
ollama run hf.co/Kenvenx/Arabian-Agent-Qwen3-0.6B-GGUF:Q4_K_M

Suggested decoding: greedy decoding (do_sample=False) or temperature ≤ 0.2 for tool calls. If the runtime exposes Qwen3 thinking controls, disabling thinking is a sensible starting point for this direct-output format.

🧩 Tool-call protocol

The model was trained to emit this compact format when a tool is needed:

<tool>
{"name":"tool_name","arguments":{"key":"value"}}
</tool>
  • Include the available tool names, argument schemas, and short descriptions in the system prompt.
  • Parse the output and validate it against a strict schema before execution.
  • Return the actual tool result to the model; never treat a proposed call as proof that the task succeeded.
  • If no tool is needed, the model may answer in plain text.

🏗️ Training summary

ItemDetails
BaseQwen/Qwen3-0.6B
Fine-tuningLoRA r=16, α=32, then merged into base weights
Training examples17,355
Supervised tokens≈2.3 million
Training1 epoch / 4,338 steps
Compute2× NVIDIA Tesla T4 on Kaggle
Peak VRAM8.48 GB
Sequence length2,048 tokens
Seed13
LicenseApache-2.0

⚠️ Known limitations

  • Multi-step follow-through needs more work: similarity-to-reference on 57 post-tool-result examples was 0.4939 in the reported evaluation.
  • Open-ended Arabic chat is not its strength: distinct-4 was 0.323 on 40 Arabic no-tool answers, versus 0.713 for the base model.
  • Modern Standard Arabic is better represented than dialects and heavy code-switching.
  • A 0.6B model can struggle with long, ambiguous, or reasoning-heavy requests.
  • The evaluation does not establish robustness against jailbreaks, factuality, coding, math, or production traffic.

🔐 Safety and deployment

The model proposes tool calls; your application remains responsible for safety.

  1. Validate tool names and argument types against an allowlist/schema.
  2. Enforce user permissions and least privilege outside the model.
  3. Require confirmation for consequential or irreversible actions.
  4. Apply timeouts, logging, rate limits, and error handling.
  5. Never execute arbitrary model text as shell commands or code.

📚 Model details

  • Architecture: Qwen3ForCausalLM; approximately 606M parameters.
  • Output: compact <tool>…</tool> calls or ordinary assistant text.
  • Fine-tuning data: mixed English tool-use trajectories, Arabic tool calls, and Arabic assistant responses. Review each source's license before redistribution.
  • Quantized variants: Q4_K_M, Q5_K_M, Q6_K, Q8_0 and Q3_K_M.

🙏 Acknowledgements

Built on Qwen3, with training data including Salesforce xLAM, PinchBench Clawd, and Arabic Alpaca. GGUF conversion uses llama.cpp.


Made for lightweight agents. Built with Arabic in mind.
If you use it, please share your evaluation setup and failure cases.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей