/ Модель

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

Контекст
262 144 токена
Параметры
5,4 млрд
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Karnak-6B-v1.0
Библиотека
transformers
Опубликована
22 июл 2026

Muslim-6B-PRO

Генерация текстаТекст → текст3 профессии

Поведенчески дообученная модель Qwen3 для диалогового исламского ассистента, который отвечает на общие вопросы и направляет запросы к инструментам поиска по религиозным источникам.

269скачиваний за 30 дней2лайкавеса обновлены28 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Muslim-6B-PRO — модель диалоговой генерации текста и маршрутизации вызовов инструментов, разработанная NightPrince как поведенчески дообученное продолжение Applied-Innovation-Center/Karnak-6B-v1.0. Она предназначена для работы в качестве рассуждающего ядра голосового исламского ассистента. Модель построена на плотной архитектуре Qwen3 с 5,4 млрд параметров и контекстом до 262 144 токенов; в репозитории представлены веса safetensors. Карточка описывает дообучение на примерах маршрутизации инструментов, соблюдения персоны и области применения, а также калиброванных ответов на общие вопросы об исламе.

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

Модель не предназначена для самостоятельного точного цитирования священных текстов или выдачи фетв: для этого требуется слой поиска по источникам. Результаты поведенческой оценки ещё не опубликованы, а общие способности за пределами исламской тематики отдельно не проверялись.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Muslim-6B-PRO

Muslim-6B-PRO is a behavior-tuned Islamic voice-assistant model, fine-tuned from Karnak-6B-v1.0 (a depth-extended Qwen3-4B-Instruct-2507) to serve as the reasoning core of Muslim, a voice-first Islamic assistant. It is trained for tool-call routing, persona/scope discipline, and calibrated general Islamic knowledge — not for reciting scripture from memory.

Model Details

Base modelKarnak-6B-v1.0 (Qwen3 architecture)
Parameters5.94B
Layers54
Hidden size2,560
Attention heads32 (8 KV heads, GQA)
Vocabulary192,728
Context length262,144 tokens
Fine-tuning methodQLoRA (4-bit NF4 base, fp16 compute)
LicenseApache 2.0
LanguagesArabic, English

Key Capabilities

  • Reliable tool-call routing across the full Qur'an/hadith/tafsir/fatwa retrieval toolset (31 tools, including mcp.tafsir.net's 17 tools, IslamQA's 5 tools, and local Qur'an audio playback), with schemas verified against the live tool servers rather than assumed.
  • Clean, standards-correct tool-call JSON — tool_call.arguments decodes with a single json.loads(), matching the Hermes-style format used by the base Qwen3 model.
  • Full 114-surah coverage, including alternate/colloquial surah names and named-ayah nicknames (e.g. آية الكرسي, سورة براءة, سورة تبارك), each verified against real scholarly source text to avoid ambiguous name→number mappings.
  • Calibrated general Islamic knowledge — Seerah, stories of the prophets, aqeedah basics, broad fiqh concepts, akhlaq, foundational history, and comparative/interfaith framing, with appropriate hedging on genuinely contested specifics rather than flat assertions.
  • Persona and scope discipline, including resistance to adversarial attempts to override its identity or push it outside its intended scope.

Intended Use

Muslim-6B-PRO is trained on behavior, not memorized facts, for anything requiring exact, source-cited text — Qur'an wording, hadith matn/isnad, tafsir attribution. Those are retrieved at inference time via tool calls, never generated from memory, because language models reliably hallucinate scripture when asked to recite it directly. The one exception is well-established, broadly-agreed general Islamic knowledge with no dedicated retrieval tool (Seerah, stories of the prophets, aqeedah basics, broad fiqh concepts, akhlaq, foundational history, comparative/interfaith framing) — there, the model is trained for calibrated tone and appropriate hedging on contested specifics, not fact injection.

This model is designed to be served with a tool-calling layer (Qur'an/hadith/tafsir retrieval, audio playback) and a system prompt defining its persona and scope. It is not intended as a general-purpose scripture-reciting or fatwa-issuing model on its own.

Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "NightPrince/Muslim-6B-PRO"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype="auto", device_map="auto")

messages = [
    {"role": "system", "content": "<your Muslim agent system prompt>"},
    {"role": "user", "content": "ما هي آية الكرسي؟"},
]
inputs = tokenizer.apply_chat_template(
    messages, tools=your_tool_schemas, add_generation_prompt=True,
    return_tensors="pt", return_dict=True,
).to(model.device)

out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Tool-calling format

Uses the same Hermes-style <tool_call> format as the base Qwen3 model. Bind your tool schemas via the standard tools= argument to apply_chat_template. tool_call.arguments decodes cleanly with a single json.loads() call.

Try it live

huggingface.co/spaces/NightPrince/muslim-6b-pro-demo — a free ZeroGPU chat demo with real tool-calling: it actually calls mcp.tafsir.net, islamqa-mcp.org, and real Qur'an audio CDNs live, instead of a scripted response. Also exposes an MCP server endpoint.

GGUF quantizations

Quantized GGUF builds (Q2_K through Q8_0, plus F16) for llama.cpp-based local inference are published separately at NightPrince/Muslim-6B-PRO-GGUF.

Training Data

2,731 examples (59% tool-calling traces), from three ground-truth-checked sources: hand-curated examples, real production voice-session turns, and real tool-augmented conversations — each example checked against source-of-truth references, with anything that couldn't be verified mechanically excluded rather than guessed at.

BehaviorCountDescription
B11,943Tool routing
B242Scripture-audio guardrail
B3271Persona/identity, incl. adversarial-override resistance
B463Scope discipline
B5167Measured fiqh rulings
B622English / mixed-language
B766Seerah
B878Stories of the prophets
B921Aqeedah
B1026Broad fiqh concepts
B1114Akhlaq
B1211Islamic history
B137Comparative / interfaith

Training Procedure

  • Method: QLoRA (4-bit NF4 base, fp16 compute — trained on hardware with no native bf16 support) via TRL SFTTrainer.
  • LoRA config: r=16, alpha=32, dropout=0.05, targeting q/k/v/o/gate/up/down_proj.
  • Schedule: 3 epochs, cosine LR decay from 2e-4, 3% warmup, effective batch size 16.
  • Best checkpoint selection: load_best_model_at_end on held-out eval loss across the full 3-epoch run — the published weights are the best-performing checkpoint, not simply the last.

Limitations

  • Not intended for direct scripture recitation or fatwa-issuing without the retrieval tool layer it was trained to route through.
  • Behavioral eval-gate results (57 adversarial/generalization probes) are pending publication — loss curves alone do not fully capture tool-routing correctness or persona robustness; treat this card as provisional on that front until updated.
  • Trained and evaluated primarily on Arabic Islamic-assistant use cases; general-purpose capability outside that domain is inherited from the base model and not separately verified.

Citation

If you use this model, please cite it as:

@misc{muslim6bpro2026,
  title        = {Muslim-6B-PRO: A Behavior-Tuned Islamic Voice-Assistant Language Model},
  author       = {Alnwsany, Yahya},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/NightPrince/Muslim-6B-PRO}},
  note         = {Fine-tuned from Karnak-6B-v1.0}
}

Related resources:

Copyright & License

Copyright © 2026 Yahya Alnwsany (NightPrince). This model's fine-tuning work — the LoRA adapter, training data curation, and this model card — is released under the Apache License 2.0; see LICENSE for the full text. Use of the base model Karnak-6B-v1.0 remains subject to its own license terms from Applied Innovation Center.

Paper

This model is described in Muslim: A Deployed Arabic Voice AI Platform for Grounded Islamic Knowledge (arXiv:2609.31511).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей