Fanar 2.0: Arabic Generative AI Stack

Fanar Team, Ummar Abbas, Mohammad Shahmeer Ahmad, Minhaj Ahmad, Abdulaziz Al-Homaid, Anas Al-Nuaimi, Enes Altinisik, Ehsaneddin Asgari, Sanjay Chawla, Shammur Absar Chowdhury, Fahim Dalvi, Kareem Darwish, Nadir Durrani, Mohamed Hamdy Mohamed Ahmed Elfeky, Ahmed K. Elmagarmid, Mohamed Y. Eltabakh, Asim Ersoy, Masoomali Fatehkia, Mohammed Qusay Hashim, Majd Hawasly, Mohamed Hefeeda, Mus'ab Husaini, Keivin Isufaj, Soon-Gyo Jung, Houssam Eddine-Othman Lachemat, Ji Lucas, Abubakr Mohamed, Tasnim Mohiuddin, Basel Mousi, Hamdy Mubarak, Ahmad Musleh, Mourad Ouzzani, Amin Sadeghi, Hüsrev Taha Sencar, Mohammed Shinoy, Omar Sinan, Yifan Zhang

Abstract

We present Fanar 2.0, the second generation of Qatar's Arabic-centric Generative AI platform. Sovereignty is a first-class design principle: every component, from data pipelines to deployment infrastructure, was designed and operated entirely at QCRI, Hamad Bin Khalifa University. Fanar 2.0 is a story of resource-constrained excellence: the effort ran on 256 NVIDIA H100 GPUs, with Arabic having only ~0.5% of web data despite 400 million native speakers. Fanar 2.0 adopts a disciplined strategy of data quality over quantity, targeted continual pre-training, and model merging to achieve substantial gains within these constraints. At the core is Fanar-27B, continually pre-trained from a Gemma-3-27B backbone on a curated corpus of 120 billion high-quality tokens across three data recipes. Despite using 8x fewer pre-training tokens than Fanar 1.0, it delivers substantial benchmark improvements: Arabic knowledge (+9.1 pts), language (+7.3 pts), dialects (+3.5 pts), and English capability (+7.6 pts). Beyond the core LLM, Fanar 2.0 introduces a rich stack of new capabilities. FanarGuard is a state-of-the-art 4B bilingual moderation filter for Arabic safety and cultural alignment. The speech family Aura gains a long-form ASR model for hours-long audio. Oryx vision family adds Arabic-aware image and video understanding alongside culturally grounded image generation. An agentic tool-calling framework enables multi-step workflows. Fanar-Sadiq utilizes a multi-agent architecture for Islamic content. Fanar-Diwan provides classical Arabic poetry generation. FanarShaheen delivers LLM-powered bilingual translation. A redesigned multi-layer orchestrator coordinates all components through intent-aware routing and defense-in-depth safety validation. Taken together, Fanar 2.0 demonstrates that sovereign, resource-constrained AI development can produce systems competitive with those built at far greater scale.

Introduction: The Challenge of Arabic AI

Developing high-quality Generative AI for Arabic faces three massive hurdles: data scarcity, linguistic complexity, and the need for AI sovereignty. Despite having 400 million speakers, Arabic represents only ~0.5% of web content, much of which is noisy. Furthermore, the language features extreme dialectal variation and unique cultural sensitivities that general-purpose models often mishandle. Fanar 2.0 aims to prove that a resource-constrained team can build a full-stack, sovereign AI system that outperforms much larger models by being disciplined about data and architecture.

Evolution of the Fanar Stack

Fanar 2.0 represents a comprehensive upgrade over the initial version, expanding the flagship model size, context window, and introducing a wide array of specialized components for safety, vision, and speech.

Comparison of the Fanar 1.0 and 2.0 stacks across core models, pre-training, safety, and specialized components.

Methodology: Data-Centric Continual Pre-training

The core of the stack is Fanar-27B, built using continual pre-training on the Gemma-3-27B backbone. The team employed a three-recipe strategy to maximize token utility:

  • Recipe 1: Curated high-quality Arabic/English data (50B tokens).
  • Recipe 2: Curated data mixed with educational web content (70B tokens).
  • Recipe 3: Translation-centric parallel data (30B tokens).

Techniques such as recipe-based annealing and model merging were used to stabilize representations. For post-training, a five-stage pipeline was implemented, including Supervised Fine-Tuning (SFT), long-context adaptation (up to 32K tokens), and Direct Preference Optimization (DPO). A standout feature is the use of native Arabic reasoning traces and structured self-verification to mitigate hallucinations.

Specialized Components and Infrastructure

Fanar 2.0 moves beyond a single LLM to a modular ecosystem:

  • Safety: FanarGuard (4B) provides state-of-the-art Arabic safety performance.
  • Vision & Speech: The Oryx family introduces Arabic-aware image/video understanding, while Aura adds long-form ASR capabilities.
  • Specialized Agents: Fanar-Sadiq uses a multi-agent architecture for Islamic content, and Fanar-Diwan specializes in classical Arabic poetry.
  • Orchestration: An intelligent multi-layer orchestrator rephrases prompts and routes queries to specialized experts based on detected intent.

Key Results

Fanar 2.0 demonstrates that quality outweighs quantity. Despite using ~8x fewer pre-training tokens than Fanar 1.0, Fanar-27B saw a +9.1 point jump in Arabic world knowledge and a +7.6 point increase in English capability. The model matches or outperforms variants 2-3x its size on specific Arabic linguistic tasks. In the vision domain, Oryx leads in cultural compliance with a score of 85.49, while the Aura speech system achieved a 16.66% Word Error Rate (WER) on MSA broadcast data, outperforming Whisper-v3.

Conclusion and Future Work

Fanar 2.0 proves that sovereign AI development is viable under resource constraints. Future work will explore Mixture-of-Experts (MoE) architectures for Fanar 3.0 to increase capacity without increasing inference costs, alongside deeper multi-turn safety evaluations and the expansion of regional dialectal corpora.

Summary updated

BibTeX
@misc{team2026fanar,
  author = {Fanar Team and Ummar Abbas and Mohammad Shahmeer Ahmad and Minhaj Ahmad and Abdulaziz Al-Homaid and Anas Al-Nuaimi and Enes Altinisik and Ehsaneddin Asgari and Sanjay Chawla and Shammur Absar Chowdhury and Fahim Dalvi and Kareem Darwish and Nadir Durrani and Mohamed Hamdy Mohamed Ahmed Elfeky and Ahmed K. Elmagarmid and Mohamed Y. Eltabakh and Asim Ersoy and Masoomali Fatehkia and Mohammed Qusay Hashim and Majd Hawasly and Mohamed Hefeeda and Mus'ab Husaini and Keivin Isufaj and Soon-Gyo Jung and Houssam Eddine-Othman Lachemat and Ji Lucas and Abubakr Mohamed and Tasnim Mohiuddin and Basel Mousi and Hamdy Mubarak and Ahmad Musleh and Mourad Ouzzani and Amin Sadeghi and Hüsrev Taha Sencar and Mohammed Shinoy and Omar Sinan and Yifan Zhang},
  title = {{Fanar 2.0: Arabic Generative AI Stack}},
  year = {2026},
  eprint = {2603.16397},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.16397},
}
Figure