/ Модель

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

Лицензия
Apache 2.0
Библиотека
transformers
Опубликована
9 дек 2025

Jais-2-8B-Chat

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

Двуязычная чат-модель на 8 млрд параметров для генерации текста на арабском и английском языках, включая арабские диалекты и смешанную речь.

5 551скачиваний за 30 дней30лайковвеса обновлены18 авг 2026

Бенчмарки

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

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

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

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

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

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

Jais-2-8B-Chat — двуязычная чат-модель, разработанная MBZUAI, Inception и Cerebras. Она обучена с нуля на арабских и английских данных и предназначена для диалога и генерации текста на современном стандартном арабском, региональных диалектах и английском, включая смешение арабского и английского в одной беседе.

Модель построена на архитектуре Transformer с декодером и многоголовым self-attention, содержит 8 млрд параметров и поддерживает контекст до 8 192 токенов. В её конструкции используются RoPE, активация Squared-ReLU и словарь из 150 272 токенов, настроенный на арабский язык. Модель подходит для чат-ассистентов, работы с двуязычными документами и анализа арабоязычного контента.

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

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

Jais-2: The Next Generation of Arabic Frontier LLMs

Model Overview

Jais-2-8B-Chat is a bilingual Arabic–English language model developed by MBZUAI, Inception, and Cerebras. Jais-2-8B-Chat Model is trained from scratch on Arabic and English data and is powered by a custom Arabic-centric vocabulary, it efficiently captures Modern Standard Arabic, regional dialects, and mixed Arabic–English code-switching. The model is openly available under a Apache 2.0 license and also deployed as a fast, production-ready chat experience running on Cerebras hardware. Visit the Jais-2 Web App.

Key Technical Specifications

  • Model Developers: MBZUAI, Inception, Cerebras.
  • Languages: Arabic (MSA & dialects) and English
  • Architecture: Transformer-based, Decoder-only architecture with multi-head self-attention.
  • Parameters: 8 Billion
  • Context Length: 8,192
  • Vocabulary Size: 150,272
  • Training Infrastructure: Optimized for Cerebras CS-2 and Condor Galaxy clusters
  • Key Design Choices: Rotary Position Embeddings (RoPE), Squared-ReLU activation, custom μP parameterization, and 8:1 filter-to-hidden size ratio.

How to Use the Model

Using Transformers

1. Clone the Jais-2 compatible Transformers fork

# Pull the latest version and ensures you have the most up-to-date features/models and bug fixes.
# Note: could be not as stable as an official PyPI release.
uv pip install git+https://github.com/huggingface/transformers.git 

2. Load and Inference on the Model

from transformers import AutoTokenizer, AutoModelForCausalLM

# Load the model and tokenizer
model_name = "inceptionai/Jais-2-8B-Chat"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")

# Example Arabic prompt
system_prompt = "أجب باللغة العربية بطريقة رسمية وواضحة."
user_input = "ما هي عاصمة الإمارات؟"

# Apply chat template (always)
chat_text = tokenizer.apply_chat_template(
    [
        {"role": "system", "content": system_prompt},
        {"role": "user", "content": user_input}
    ],
    tokenize=False,
    add_generation_prompt=True
)

# Tokenize and generate
inputs = tokenizer(chat_text, return_tensors="pt").to(model.device)
inputs.pop("token_type_ids", None)
outputs = model.generate(**inputs, max_new_tokens=100, do_sample=False)

# Decode and print
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
#عاصمة الإمارات العربية المتحدة هي أبوظبي.

Using vLLM

1. Clone the Jais 2–compatible vLLM fork

# Pull the latest version and ensures you have the most up-to-date features/models and bug fixes.
# Note: could be not as stable as an official PyPI release.
uv pip install git+https://github.com/vllm-project/vllm.git

2. Load and Inference on the Model

from vllm import LLM, SamplingParams

# Load model and tokenizer
model_name = "inceptionai/Jais-2-8B-Chat"
llm = LLM(model=model_name, tensor_parallel_size=1)
tokenizer = llm.get_tokenizer()

# Example Arabic prompt
system_prompt = "أجب باللغة العربية بطريقة رسمية وواضحة."
user_input = "ما هي عاصمة الإمارات؟"

# Apply chat template (always)
chat_text = tokenizer.apply_chat_template(
    [
        {"role": "system", "content": system_prompt},
        {"role": "user", "content": user_input}
    ],
    tokenize=False,
    add_generation_prompt=True
)

# Run generation
sampling_params = SamplingParams(max_tokens=8192, temperature=0)
outputs = llm.generate([chat_text], sampling_params)

#Print output
print(outputs[0].outputs[0].text)
#عاصمة الإمارات العربية المتحدة هي أبوظبي.

Or serve through command line (CLI)

vllm serve inceptionai/Jais-2-8B-Chat \
    --served-model-name inceptionai/Jais-2-8B-Chat-Local --dtype bfloat16 \
    --tensor-parallel-size 1 --max-model-len 8192 --max-num-seqs 256 \
    --host 0.0.0.0 --port 8042 --api-key "Optional"

Evaluation

Performance Overview

We evaluate Jais-2-8B across two key benchmarks that capture both instruction following and generative Arabic ability: IFEval (English and Arabic) and AraGen-12-24 (3C3H).

IFEval Results (Strict 0-shot)

Model NameEn-PromptEn-InstructionAr-PromptAr-Instruction
Qwen2.5-7B-Instruct54.3171.6546.0455.85
Qwen3-8B74.9080.7258.6667.09
gemma-2-9b-it66.2775.7348.5158.07
Llama-3.1-8B-Instruct67.0677.0139.8547.63
aya-expanse-8b54.3165.3945.5456.49
c4ai-command-r7b-12-202468.2476.8852.7261.39
c4ai-command-r7b-arabic-02-202575.8880.8462.3870.57
ALLaM-7B-Instruct-preview-v151.7662.4545.5453.80
ALLaM-7B-Instruct-preview-v256.9066.2039.1046.20
Fanar-1-9B-Instruct55.6965.2648.2758.39
Falcon-H1-7B-Instruct77.0683.39731.9335.44
jais-family-6p7b-chat26.7037.7022.5032.10
jais-adapted-7b-chat36.9049.3022.5033.90
Jais-2-8B (ours)63.1472.8058.1767.09

AraGen-12-24 (3C3H) Results

Model Name3C3H Score (%)CorrectnessCompletenessConcisenessHelpfulnessHonestyHarmlessness
Fanar-1-9B-Instruct53.1661.5360.9018.1457.7159.1561.53
ALLaM-7B-Instruct-preview-v153.1661.4158.3023.2755.7358.9361.32
ALLaM-7B-Instruct-preview-v251.8663.2459.0615.2753.0757.6752.86
gemma-2-9b-it51.7458.9058.9018.3457.9757.4458.90
c4ai-command-r7b-arabic-02-202549.1856.8356.4714.3654.7456.0056.65
aya-expanse-8b48.2956.1256.1211.7254.6855.1955.94
Qwen2.5-7B-Instruct47.4654.6054.4815.5952.3353.2054.57
Falcon-H1-7B-Instruct47.2856.4455.8118.3444.7352.5955.78
c4ai-command-r7b-12-202444.0551.4450.9613.0448.2949.2251.35
jais-family-6p7b-chat41.0047.5547.3112.4345.2245.9747.55
jais-adapted-7b-chat39.4246.3644.0915.3240.6243.7946.36
Llama-3.1-8B-Instruct37.8344.2144.0914.1639.6740.6544.21
Qwen3-8B36.5243.4942.777.1441.4341.1943.13
Jais-2-8B (ours)58.6468.9468.1011.8366.8867.2068.88

Overall, our results show that:

  • Jais-2-8B delivers competitive Arabic and English instruction-following performance across IFEval.
  • Jais-2-8B achieves the highest scores across nearly all AraGen metrics, outperforming Fanar-1-9B-Instruct and ALLaM-7B on Arabic generative tasks.

Intended Use

Target Audiences

  • Academics: Researchers focusing on Arabic NLP, multilingual modeling, or cultural alignment
  • Businesses: Companies targeting Arabic-speaking markets
  • Developers and ML Engineers: Integrating Arabic language capabilities into applications and workflows

Appropriate Use Cases

  • Research:

    • Natural language understanding and generation tasks
    • Conducting interpretability or cross-lingual alignment analyses
    • Investigating Arabic linguistic or cultural patterns
  • Commercial Use:

    • Building chat assistants for Arabic-speaking audiences
    • Performing sentiment and market analysis in regional contexts
    • Summarizing or processing bilingual Arabic–English documents
    • Creating culturally resonant Arabic marketing and entertainment content for regional audiences

Inappropriate Use Cases

  • Harmful or Malicious Use:

    • Producing hate speech, extremist content, or discriminatory language
    • Creating or spreading misinformation or deceptive content
    • Engaging in or promoting illegal activities
  • Sensitive Information:

    • Handling or generating personal, confidential, or sensitive information
    • Attempting to infer, reconstruct, or guess sensitive information about individuals or organizations
  • Language Limitations:

    • Applications requiring strong performance outside Arabic or English languages
  • High-Stakes Decisions:

    • Making medical, legal, financial, or safety-critical decisions without human oversight

Citation

If you find our work helpful, please give us a cite.

@misc{anwar2026jais2familyarabiccentric,
      title={Jais 2: A Family of Arabic-Centric Open Large Language Models}, 
      author={Mohamed Anwar and Abed Alhakim Freihat and George Ibrahim and Mostafa Awad and Abdelrahman Sadallah and Gurpreet Gosal and Gokulakrishnan Ramakrishnan and Sarath Chandran and Biswajit Mishra and Rituraj Joshi and Ahmed Frikha and Etienne Goffinet and Abhishek Maiti and Ali El Filali and Sarah AlBarri and Samujjwal Ghosh and Rahul Pal and Parvez Mullah and Awantika Shukla and Sajid siddiki and Samta Kamboj and Onkar Pandit and Sunil Kumar Sahu and AbdelRahman Elbadawy and Amr Mohamed and Ahmad Chamma and Evan Dufraisse and Abdelaziz Bounhar and Dani Bouch and Hadi Abdine and Guokan Shang and Fajri Koto and Yuxia Wang and Zhuohan Xie and Ali Mekky and Rania Elbadry and Sarfraz Ahmad and Momina Ahsan and Omar El Herraoui and Daniil Orel and Hasan Iqbal and Kareem Elzeky and Mervat Abassy and Kareem Elozeiri and Saadeldine Eletter and Farah Atif and Nurdaulet Mukhituly and Haonan Li and Xudong Han and Aaryamonvikram Singh and Zainul Abedien Ahmed Quraishi and Neha Sengupta and Larry Murray and Avraham Sheinin and Joel Hestness and Natalia Vassilieva and Hector Xuguang Ren and Zhengzhong Liu and Michalis Vazirgiannis and Preslav Nakov},
      year={2026},
      eprint={2608.13580},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2608.13580}, 
}

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

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

GPU в ailist

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

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

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

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

0 моделей