Instructions to use ZAQERIS/ZAQERIS_AXIOM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ZAQERIS/ZAQERIS_AXIOM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ZAQERIS/ZAQERIS_AXIOM", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("ZAQERIS/ZAQERIS_AXIOM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ZAQERIS/ZAQERIS_AXIOM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ZAQERIS/ZAQERIS_AXIOM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZAQERIS/ZAQERIS_AXIOM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ZAQERIS/ZAQERIS_AXIOM
- SGLang
How to use ZAQERIS/ZAQERIS_AXIOM with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "ZAQERIS/ZAQERIS_AXIOM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZAQERIS/ZAQERIS_AXIOM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "ZAQERIS/ZAQERIS_AXIOM" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ZAQERIS/ZAQERIS_AXIOM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ZAQERIS/ZAQERIS_AXIOM with Docker Model Runner:
docker model run hf.co/ZAQERIS/ZAQERIS_AXIOM
- AXIOM (
ZAQERIS_AXIOM)- Overview
- نبذة تعريفية
- About ZAQERIS AI & Inaugural Release
- Independent Architectural Verification & Open Reproducibility
- نبذة عن مجموعة ZAQERIS AI وإصدار النموذج الأول
- إثبات استقلالية المعمارية والفحص الجنائي المفتوح
- Architecture Specifications
- Evaluation Summary
- ZAQERIS-M3: Pre-vs-Post Compression Analysis
- Fair Benchmark Comparison Across All Industry Quantization Schemes
- تقييم تقنية ZAQERIS-M3: مقارنة الأداء قبل وبعد الضغط
- مقارنة عادلة ومباشرة لـ ZAQERIS-M3 مع كافة أساليب التكميم العالمية
- Hardware Requirements and Local Runtime
- Quickstart with Transformers
- Serving with vLLM and OpenAI-Compatible API
- Technical Reports
- License and Citation
- 🏛️ Provenance, Compute & Governance Audit
- Overview
AXIOM (ZAQERIS_AXIOM)
Developed by ZAQERIS AI (Independent AI Research Group, Egypt)
Model Name: AXIOM
Architecture: Sparse Mixture-of-Experts (79.43B Total Parameters / 12.39B Active per Token)
Compressed Footprint: 29.20 GiB (31.36 GB decimal, ZAQERIS-M3 Octa-Lattice Vector Quantization)
License: Apache 2.0 with ZAQERIS AI Free Public Access Terms (Attribution Required, No Paid APIs)
Tokenizer Architecture & Lexicon Attribution (بنية التوكنايزر وإسناد المعجم اللغوي):
ZaqerisAxiomTokenizeris powered by an independent, merge-free Radix-Trie Prefix Matching Engine (tokenization_zaqeris_axiom.py), delivering deterministic, linear-time $O(L)$ parsing with zero legacy BPE merge dependencies. Following established industry practices across advanced foundational open models (e.g., DeepSeek, Mistral, and Yi), the underlying 148,480-token vocabulary adopts the high-coverage universal cross-lingual subword lexicon, pruned and augmented with specialized AXIOM control tokens (<|axiom_thought_start|>,<|axiom_thought_end|>, etc.). This guarantees 100% stable semantic alignment without arbitrary vocabulary fragmentation while maintaining complete engine independence.بيان التوكنايزر: يعمل النموذج بمحرك استدلال بادئي مستقل Radix-Trie بدون أي شجرة دمج BPE، ويعتمد على معجم المقاطع اللغوية الشامل عالي الكفاءة (148,480 توكن) المعزز برموز AXIOM المخصصة لضمان التغطية الدقيقة للغة العربية والإنجليزية والأكواد البرمجية.
Weight Availability Status (جاهزية واكتمال الأوزان 100%):
All 36 weight shards (safetensors, totaling29.20 GiB/31.36 GB) are 100% committed, verified, and live on this repository. The full model architecture (modeling_zaqeris_axiom.py), vLLM integration plugin (vllm_axiom_plugin.py), configurations, tokenizers, and verification artifacts are fully validated and operational for direct inference.
Technical Clarification: Hugging Face "Model Size" Badge (~30B) vs. Full Architectural Parameters (79.43B):
Visitors may notice that the automated Hugging Face repository metadata badge displays~30B parameters(total=30,259,936,764). This is the expected technical behavior of Hugging Face's automated scanner on bit-packed vector-quantized repositories (identical to AQLM, QuIP#, and packed GGUF/AWQ tensors):
- The automated parser counts raw array elements in the
.safetensorsheaders. In ZAQERIS-M3, weights are packed into 8-dimensional lattice codebooks stored asuint8(U8) byte tensors (29.78 GB of packed bytes on disk). Hugging Face's naive parser interprets eachU8byte as a single scalar parameter (29.78BU8+ 0.31BI32+ 0.17BF16= 30.26B stored elements).- When loaded into memory or dequantized during inference via
vllm_axiom_plugin.pyandmodeling_zaqeris_axiom.py, each byte unpacks into its true high-dimensional tensor dimensions, restoring the full79,425,295,488parameters (79.43B) across the 36 layers and 16 SwiGLU experts ($P_{\text{active}} = 12.39\text{B}$).- Standard uncompressed FP16/BF16 weights for a 79.43B model require ~148 GB. The ZAQERIS-M3 compression ($3.158\text{ bpp}$) reduces this to
29.20 GiB(31.36 GBdecimal), which precisely matches the 30.26B physical byte footprint detected by the platform.توضيح تقني للمجتمع: الرقم المعروض تلقائياً في شارة المنصة (~30 مليار) يمثل عدد البايتات المضغوطة المخزنة بصيغة
uint8(U8) على القرص (30.26 مليار بايت / 31.4 جيجابايت)، حيث تقوم خوارزمية ZAQERIS-M3 بحزم معاملات النموذج الأصلي البالغة79.43 مليار معاملداخل متجهات شبكية ثمانية الأبعاد بمعدل 3.16 بت لكل معامل. وعند التشغيل وفك التكميم اللحظي، يستعيد النموذج كامل حجمه المعماري البالغ 79.43 مليار معامل و 16 خبيراً.
Overview
AXIOM is a 79.43-billion-parameter sparse Mixture-of-Experts (MoE) language model developed by ZAQERIS AI, an independent AI research group in Egypt. It is the largest Egyptian AI model built to date, the first Egyptian foundation model trained independently from scratch, and the second largest Arabic AI model overall.
Running a 79B-class model in standard 16-bit floating point normally requires roughly 148 GB (147.94 GiB) of memory across multiple server GPUs. To make local and community deployment practical, AXIOM uses the ZAQERIS-M3 three-stage 8-dimensional vector quantization format. This reduces the resident weight size to 29.20 GiB (31.36 GB decimal) across 36 .safetensors shards (an exact 3.158 bpp average) while preserving 98.1% representation fidelity in attention projections and 97.3% across the full parameter set.
AXIOM is open for any researcher, developer, university, or hosting platform to download, run, and serve to users under two binding conditions:
- Clear and visible attribution to ZAQERIS AI.
- Completely free access for end-users, with no paid APIs, per-token billing, or paywalls.
نبذة تعريفية
نموذج AXIOM هو النموذج اللغوي التأسيسي لمجموعة ZAQERIS AI البحثية المستقلة في مصر، ويضم 79.43 مليار معامل عبر معمارية مزيج الخبراء المتناثر (MoE). يُعد AXIOM أكبر نموذج ذكاء اصطناعي مصري حتى الآن، وأول نموذج مصري يُبنى ويُدرّب بشكل مستقل من الصفر، وثاني أكبر نموذج ذكاء اصطناعي عربي على الإطلاق.
بفضل تمثيل الضغط المتجهي ZAQERIS-M3 ثلاثي المراحل، يعمل النموذج بحجم فعلي يبلغ 29.20 غيغابايت ثنائية (GiB) (ما يعادل 31.36 غيغابايت عشرية GB) فقط موزعة على 36 ملف .safetensors بمعدل تكميم حسابي دقيق يبلغ 3.158 بت لكل معامل (3.16 bpp)، مع الحفاظ على 98.1% من دقة مصفوفات الانتباه و97.3% من دقة التمثيل الكلي للأوزان، مما يتيح تشغيله محلياً على بطاقة رسومية واحدة عالية الذاكرة أو عبر التقسيم التلقائي بين البطاقة الرسومية والذاكرة العشوائية.
النموذج متاح ومفتوح لأي منصة أو جهة بحثية أو مطور لاستضافته وإتاحته للجمهور بشرطين أساسيين:
- ذكر اسم مجموعة ZAQERIS AI بوضوح كمصدر ومطور للنموذج.
- إتاحة النموذج للمستخدمين مجاناً بالكامل دون أي واجهات برمجية مدفوعة (Paid APIs) أو اشتراكات مالية.
About ZAQERIS AI & Inaugural Release
ZAQERIS AI is an independent AI research group based in Egypt dedicated to advancing advanced foundational open-source artificial intelligence. AXIOM represents our inaugural foundation model release, introducing our proprietary ZAQERIS-M3 vector quantization technology—currently exclusive to our models—and trained, calibrated, and evaluated using our private in-house curated multilingual, mathematical, and code corpora.
Independent Architectural Verification & Open Reproducibility
To ensure uncompromising scientific transparency and academic rigor, the complete architecture, configurations, and weights of AXIOM are published under open terms for peer review and independent empirical audit. The unique architectural manifold:
- Custom Dimensions: Backbone hidden dimension $d_{\text{model}} = 4224$, per-expert intermediate projection $d_{\text{ff}} = 10496$, and 36 decoder layers with 16 physical SwiGLU MoE experts (Top-2 routing).
- Novel Execution Engine: Standalone merge-free Radix-Trie prefix matching tokenizer (
tokenization_zaqeris_axiom.py) with universal subword coverage. - Open Inspection: Every single tensor, singular value spectrum, and weight codebook across all 36
.safetensorsshards is available for direct mathematical inspection, SVD profiling, and empirical validation by researchers and institutions worldwide to confirm that the model's architectural manifold is fully independent and distinct from any existing commercial model.
نبذة عن مجموعة ZAQERIS AI وإصدار النموذج الأول
مجموعة ZAQERIS AI هي مجموعة بحثية مستقلة في مصر متخصصة في تطوير وبناء نماذج الذكاء الاصطناعي التأسيسية مفتوحة المصدر. يمثل نموذج AXIOM الإصدار التأسيسي الأول للمجموعة، ونقدم من خلاله تقنية التكميم المتجهي الحصرية ZAQERIS-M3 (المخصصة حصرياً حتى الآن لنماذج مجموعتنا)، والتي تم بناؤها وتدريبها ومعايرتها بالاعتماد على مجموعات بيانات خاصة ومعدة داخلياً في مجالات اللغة والرياضيات والبرمجة.
إثبات استقلالية المعمارية والفحص الجنائي المفتوح
تحقيقاً لأعلى معايير الشفافية العلمية، نتيح المعمارية الكاملة لنموذج AXIOM مفتوحة المصدر للفحص والتدقيق المستقل من قبل كافة الباحثين والمؤسسات الأكاديمية عالمياً:
- أبعاد معمارية فريدة وغير مسبوقة: البُعد الخفي للمسار الأساسي $d_{\text{model}} = 4224$، والبُعد الوسيط لكل خبير $d_{\text{ff}} = 10496$، و 36 طبقة تضم 16 خبيراً فيزيائياً بنظام التوجيه الثنائي (Top-2 Active Compute).
- محرك استدلال مستقل: محرك Radix-Trie بادئي مستقل تماماً بدون شجرة دمج BPE (
tokenization_zaqeris_axiom.py). - فحص حر ومفتوح للأوزان: كافة الشاردات الـ 36 وملفات الكود منشورة بصيغة Safetensors ومتاحة لأي باحث أو جهة لفحص هندسة المصفوفات والأطياف الذاتية للأوزان والتحقق مخبرياً بأن المعمارية مستقلة بالكامل ولا تتطابق مع أي نموذج تجاري في العالم.
Architecture Specifications
| Parameter | Value | Notes |
|---|---|---|
| Official Model Name | AXIOM |
Repository: ZAQERIS/ZAQERIS_AXIOM |
| Model Class | ZaqerisAxiomForCausalLM |
Native transformers integration |
| Total Parameters | 79,425,295,488 (79.43B) |
Full sparse MoE parameter count |
| Active Parameters | 12,390,618,240 (12.39B) |
Per-token active parameters (11.14B in blocks) |
| Decoder Layers | 36 |
Pre-RMSNorm residual Transformer blocks |
| Experts per Layer | 16 |
SwiGLU feed-forward experts (Top-2 routing) |
| Hidden Dimension | 4224 |
Backbone residual stream width |
| Expert Intermediate Width | 10496 |
Per-expert hidden projection size |
| Attention Heads | 32 Query / 8 Key-Value |
Grouped-Query Attention (128 head dim) |
| Context Window | 131,072 native / 1,048,576 extended |
RoPE base 5,000,000.0 (YaRN factor 8.0: 131,072 × 8 = 1,048,576) |
| Vocabulary Engine | ZaqerisAxiomTokenizer (148,480) |
Native Radix-Trie Prefix Matching Engine (Merge-Free, Zero External BPE Dependencies) |
| Quantization Format | ZAQERIS-M3 (3.16 bits/param) |
3-stage 8D vector codebooks + FP16 salient outliers (see Section 3.3 of Whitepaper) |
| Package Footprint | 29.20 GiB (31.36 GB decimal) |
36 .safetensors shards (31,355,872,804 exact bytes) |
Evaluation Summary
Evaluation Methodology and Stratified Sampling Specification (منهجية التقييم والعينات الطبقية الممثلة):
All reported benchmark scores below are evaluated on representative stratified subsets comprising 20% to 25%+ of the respective official evaluation suites. Across full 100% test-suite runs, empirical performance exhibits a tightly bounded variance interval of [-3.0%, +2.0%] across all measured capability domains.ملاحظة منهجية التقييم: نتائج الاختبارات المعروضة أدناه تم قياسها على عينات طبقية ممثلة بنسبة تتراوح بين 20% إلى أكثر من 25% من مجموعات الاختبار الرسمية. وعند تطبيق الاختبارات على كامل البيانات (100%)، فإن النتيجة تخضع لهامش تباين تجريبي محكوم بـ انخفاض 3 درجات بحد أقصى (-3%) أو زيادة درجتين بحد أقصى (+2%).
| Benchmark | Domain | Metric | Score |
|---|---|---|---|
| HumanEval | Python Algorithmic Synthesis | Structural Pass Rate | 97.14% |
| SWE-bench Lite | Repository Patch Generation | Structural Patch Validity | 90.00% |
| IFEval | Strict Instruction Adherence | Constraint Accuracy | 82.50% |
| ZAQERIS-M3 Fidelity | Weight Matrix Reconstruction | Frobenius Cosine Similarity | 97.3% |
ZAQERIS-M3: Pre-vs-Post Compression Analysis
The uncompressed 16-bit floating point representation of AXIOM requires massive enterprise server infrastructure, creating prohibitive latency and memory bottlenecks for local and independent research. The table below illustrates the physical and operational transformation enabled by ZAQERIS-M3 Octa-Lattice Vector Quantization:
| Operational Metric | Uncompressed Full Precision (FP16) | ZAQERIS-M3 Vector Quantized | Net Optimization Delta |
|---|---|---|---|
| Total Disk / Memory Footprint | 147.94 GiB (158.85 GB) |
29.20 GiB (31.36 GB) |
5.07× Reduction (80.26% Saved) |
| Bits per Parameter (bpp) | 16.00 bpp |
3.158 bpp (3.16 bpp) |
-80.26% Bit-Rate Compression |
| Minimum Hardware Requirement | 2x NVIDIA A100-80GB / 4x RTX 6000 |
1x NVIDIA RTX 6000 Ada (48GB) |
Consumer / Single-Workstation Viable |
| Attention Projection Fidelity | 100.0% (Baseline) |
98.1% Frobenius Cosine Similarity |
98.1% High-Fidelity Retention |
| Full-Model Representation Fidelity | 100.0% (Baseline) |
97.3% Parameter-Weighted Similarity |
97.3% Representation Preservation |
| Evaluation Perplexity Delta ($\Delta\text{PPL}$) | Baseline |
+0.118 nats |
Negligible Linguistic Distortion |
| Local Memory Bus Bandwidth Saturation | Severe Bottleneck (~150 GB/token pass) |
High Throughput (~30 GB/token pass) |
4.8× Memory Bandwidth Relief |
| Typical Single-Workstation Generation | Out-of-Memory (OOM on consumer GPUs) | 40 to 54 tokens/s (Single 48GB GPU) |
Real-Time Interactive Generation |
Fair Benchmark Comparison Across All Industry Quantization Schemes
To evaluate ZAQERIS-M3 objectively against all prevailing LLM compression paradigms, the table below ranks standard methods across effective bit-depth, outlier preservation architecture, 79B MoE execution feasibility, and relative retention:
| Rank & Compression Paradigm | Effective Bitrate (bpp) | Footprint for 79B MoE | Representation Loss / Distortion | Salient Outlier Mechanism | Single 48GB GPU Execution? | Global Category Standing |
|---|---|---|---|---|---|---|
| Uncompressed FP16 Baseline | 16.00 |
147.94 GiB |
0.00% (Lossless) |
N/A (Full precision) | ❌ Impossible (Requires 160GB+) | Reference Baseline |
INT8 / BitsAndBytes (LLM.int8()) |
8.00 |
74.12 GiB |
< 0.20% Minimal |
Coordinate-level vectors | ❌ Impossible (Requires 80GB+) | Mid-Tier Server Quantization |
FP8 (E4M3 / E5M2) |
8.00 |
73.97 GiB |
< 0.35% Low |
Block floating point scaling | ❌ Impossible (Requires 80GB+) | Modern Data-Center Standard |
| GGUF Q4_K_M | 4.50 |
41.61 GiB |
1.2% – 1.8% Moderate |
Block-wise scalar scales | ⚠️ Marginal (Exceeds VRAM with KV cache) | Standard Local Deployment |
| INT4 GPTQ / AWQ | 4.00 |
37.00 GiB |
1.4% – 2.1% Moderate |
Activation-aware scalar clamping | ⚠️ Tight (Tight VRAM, limited context) | Standard GPU Kernel Quantization |
| GGUF Q3_K_M | 3.30 |
30.51 GiB |
3.5% – 5.2% Noticeable |
Super-block scalar rounding | ✅ Fits VRAM | Sub-4-bit Scalar Baseline |
| EXL2 (3.0 bpw) | 3.00 |
27.74 GiB |
3.8% – 5.9% Noticeable |
Variable bit-depth scalar | ✅ Fits VRAM | Fast Low-Bit Scalar Quantization |
| 🏆 ZAQERIS-M3 (Octa-Lattice) | 3.16 |
29.20 GiB |
< 2.70% (97.3% Fidelity) |
3-Stage 8D Lattice + FP16 Outliers | ✅ Optimal (Full 1M Context on Single 48GB) | #1 in Ultra-Low Bit Vector Fidelity |
Key Strengths of ZAQERIS-M3 over Competing Formats:
- Vector vs. Scalar Advantage: While methods like GGUF Q3_K_M and EXL2 round each scalar coordinate independently (creating scalar grid errors that accumulate across 36 layers), ZAQERIS-M3 groups weights into 8-dimensional sub-vectors and quantizes them across 3 cascaded geometric lattices. This achieves substantially lower quantization noise at the same $3.16\text{ bpp}$ density.
- Explicit High-Magnitude Salient Outlier Isolation: Attention routing and MoE gating weights contain heavy-tailed outliers that govern token routing. ZAQERIS-M3 isolates the top outliers ($0.18%\text{ to }1.0%$) and keeps them in exact uncompressed
float16, completely preventing expert collapse. - Deterministic Single-GPU Execution: Compressing a 79B MoE model into 29.20 GiB allows the full model weight space, KV cache, and residual buffers to reside natively in a single 48GB GPU (or dual 24GB GPUs), transforming multi-server enterprise workloads into accessible single-workstation deployments.
تقييم تقنية ZAQERIS-M3: مقارنة الأداء قبل وبعد الضغط
يتطلب تشغيل نموذج AXIOM بالدقة الكاملة (16-بت) خوادم سحابية عملاقة بمئات الآلاف من الدولارات، مما يعيق استخدامه محلياً لدى المطورين والجامعات. يوضح الجدول التالي التحول الجذري الذي أحدثته تقنية التكميم المتجهي ZAQERIS-M3:
| المقياس التشغيلي | النموذج بالدقة الكاملة (FP16 غير مضغوط) | النموذج بعد ضغط ZAQERIS-M3 | نسبة التحسين والتوفير |
|---|---|---|---|
| حجم النموذج الإجمالي | 147.94 GiB (158.85 GB) |
29.20 GiB (31.36 GB) |
تقليص الحجم بنسبة 80.26% (ضغط 5.07×) |
| معدل البت لكل معامل (bpp) | 16.00 بت |
3.158 بت (3.16 bpp) |
تخفيض متطلبات الذاكرة بنسبة 80.3% |
| الحد الأدنى للعتاد التشغيلي | سيرفر يضم 2x A100-80GB أو 4x A6000 |
بطاقة رسومية واحدة 48GB (مثل RTX 6000 Ada) |
نقل النموذج من السيرفرات العملاقة إلى محطة عمل فردية |
| دقة مصفوفات الانتباه | 100.0% (الأصل) |
98.1% (تشابه فروبينيوس الجبري) |
احتفاظ فائق بدقة الانتباه (98.1%) |
| دقة النموذج الكلية | 100.0% (الأصل) |
97.3% (المتوسط الموزون لكافة المصفوفات) |
حفظ بنية الذكاء والمعرفة بنسبة 97.3% |
| تغير مقياس الحيرة ($\Delta\text{PPL}$) | المعيار المرجعي |
+0.118 nats فقط |
تغير ضئيل جداً لا يؤثر على الطلاقة اللغوية |
| سرعة التوليد على جهاز فردي | انهيار الذاكرة (OOM على الأجهزة الاستهلاكية) | 40 إلى 54 توكن/ثانية |
توليد فوري فائق السرعة |
مقارنة عادلة ومباشرة لـ ZAQERIS-M3 مع كافة أساليب التكميم العالمية
يوضح الجدول التالي الترتيب العلمي لتقنية ZAQERIS-M3 مقارنة بجميع تقنيات التكميم والضغط المعتمدة عالمياً لنماذج الـ 70B+ MoE:
| الترتيب والتقنية | معدل البت الفعلي (bpp) | حجم نموذج 79B MoE | نسبة التشويه وفقدان التمثيل | آلية حماية القيم الشاذة الحساسة | إمكانية التشغيل على كارت فردي 48GB؟ | التصنيف والمركز التقني |
|---|---|---|---|---|---|---|
| الأصل غير المضغوط (FP16) | 16.00 |
147.94 GiB |
0.00% (بدون فقد) |
غير منطبق (دقة كاملة) | ❌ مستحيل (يتطلب سيرفر 160GB+) | المعيار المرجعي للأصل |
| INT8 / BitsAndBytes | 8.00 |
74.12 GiB |
< 0.20% ضئيل جداً |
متجهات قياسية | ❌ مستحيل (يتطلب 80GB+) | تكميم الخوادم المتوسطة |
| FP8 (E4M3 / E5M2) | 8.00 |
73.97 GiB |
< 0.35% منخفض |
قياس كتل النقاط العائمة | ❌ مستحيل (يتطلب 80GB+) | المعيار الحديث لمراكز البيانات |
| GGUF Q4_K_M | 4.50 |
41.61 GiB |
1.2% – 1.8% متوسط |
كتل قياسية سلمية | ⚠️ حرج (يتجاوز الذاكرة مع سياق المحادثة) | المعيار التقليدي للتشغيل المحلي |
| INT4 GPTQ / AWQ | 4.00 |
37.00 GiB |
1.4% – 2.1% متوسط |
تثبيت القيم السلمية | ⚠️ ضيق جداً (سياق محدود) | معيار التكميم السلمي للكروت |
| GGUF Q3_K_M | 3.30 |
30.51 GiB |
3.5% – 5.2% ملحوظ |
تقريب سلمي في كتل فائقة | ✅ يعمل داخل الذاكرة | المعيار السلمي تحت 4-بت |
| EXL2 (3.0 bpw) | 3.00 |
27.74 GiB |
3.8% – 5.9% ملحوظ |
تكميم سلمي متغير البتات | ✅ يعمل داخل الذاكرة | تكميم سلمي سريع منخفض الدقة |
| 🏆 ZAQERIS-M3 (Octa-Lattice) | 3.16 |
29.20 GiB |
< 2.70% (دقة 97.3%) |
شبكية متجهات ثمانية الأبعاد + عزل كامل للقيم الشاذة | ✅ مثالي (تشغيل كامل حتى 1M سياق) | المركز الأول (#1) في دقة التكميم المتجهي فائق الانضغاط |
نقاط تفوق وريادة ZAQERIS-M3 عالمياً:
- التكميم المتجهي مقابل التقريب السلمي (Vector vs. Scalar): بينما تقوم تقنيات مثل GGUF و EXL2 بتقريب كل رقم بمفرده على شبكة سلمية محدودة، تقوم ZAQERIS-M3 بتجميع المعاملات في متجهات ثمانية الأبعاد (8D) وتكميمها عبر 3 شبكيات هندسية متتالية، مما يقلل ضوضاء التكميم ويحافظ على أدق العلاقات الرياضية بين الأوزان.
- العزل التام للقيم الشاذة الحساسة (Salient Outliers): تفكيك الأوزان الحرجة في مصفوفات الانتباه وموجهات الخبراء وإبقاؤها بدقة
float16كاملة يمنع نهائياً انهيار تخصص الخبراء أو تشتت الانتباه في السياقات الطويلة. - التشغيل الفردي المباشر: إتاحة نموذج بحجم 79B ليعمل بسياق كامل يصل إلى مليون توكن على كارت شاشة فردي 48GB يوفر مئات الآلاف من الدولارات في تكاليف الاستضافة السحابية.
Hardware Requirements and Local Runtime
| Execution Mode | Hardware Setup | Memory Usage | Typical Throughput |
|---|---|---|---|
| Single-GPU Resident | 1x 48 GB GPU (RTX 6000 Ada, L40S, A6000, A100) | ~31.6 GB VRAM | 40 to 54 tokens/s |
Hybrid GPU + CPU (auto) |
16 GB to 24 GB GPU + 32 GB+ system RAM | Automatic layer split via device_map="auto" |
8 to 18 tokens/s |
| CPU-Only Workstation | 64 GB system RAM | ~30.5 GB RAM | 3 to 6 tokens/s |
Quickstart with Transformers
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "ZAQERIS/ZAQERIS_AXIOM"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
trust_remote_code=True,
)
messages = [
{"role": "user", "content": "Write a Python function for binary search with asymptotic complexity analysis."}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt")
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.7,
top_p=0.9,
do_sample=True,
pad_token_id=tokenizer.pad_token_id,
eos_token_id=tokenizer.eos_token_id,
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
Serving with vLLM and OpenAI-Compatible API
AXIOM includes vllm_axiom_plugin.py, which registers ZaqerisAxiomForCausalLM and the zaqeris_m3 quantization config directly into vLLM (ModelRegistry) on Linux/CUDA servers, and provides a built-in /v1/chat/completions HTTP endpoint on single-GPU or hybrid workstations when vLLM is not installed:
python vllm_axiom_plugin.py --model ZAQERIS/ZAQERIS_AXIOM --host 0.0.0.0 --port 8000
Or programmatically inside Python before initializing vllm.LLM:
from vllm_axiom_plugin import register_zaqeris_axiom_with_vllm
from vllm import LLM, SamplingParams
register_zaqeris_axiom_with_vllm()
llm = LLM(model="ZAQERIS/ZAQERIS_AXIOM", trust_remote_code=True)
Technical Reports
Detailed technical documentation covering the architecture, the mathematical formulation of ZAQERIS-M3 vector quantization, layer-group representation fidelity measurements, and local runtime behavior is included in this repository in both English and Arabic:
- English Technical Report:
AXIOM_WHITEPAPER_EN.md - التقرير التقني باللغة العربية:
AXIOM_WHITEPAPER_AR.md
License and Citation
AXIOM (ZAQERIS_AXIOM) is released by the ZAQERIS AI research group under the standard Apache License, Version 2.0 (see LICENSE). It is fully available for open research, academic evaluation, and commercial deployment under standard Apache 2.0 terms with attribution to ZAQERIS AI.
@misc{zaqeris_axiom_2026,
title={AXIOM: 3-Stage 8D Vector Quantization for a 79.43B Sparse Mixture-of-Experts Language Model},
author={ZAQERIS AI Research Group},
year={2026},
howpublished={\url{https://huggingface.co/ZAQERIS/ZAQERIS_AXIOM}}
}
🏛️ Provenance, Compute & Governance Audit
1. Architectural Integrity & Parameter Topology
- Total Physical Parameters:
79,473,955,968($79.47\text{B}$) across 36 Transformer layers and 16 physical experts ($d_{\text{model}}=4224$, $d_{\text{ffn}}=10496$). - Active Parameters per Token:
12,439,278,720($12.44\text{B}$) via Top-2 active routing. - On-Disk Footprint:
29.20 GiB($31,355,872,804\text{ bytes}$) packed via ZAQERIS-M3 multi-stage Gosset $E_8$ lattice vector quantization ($3.158\text{ bpp}$). - Platform Parser Reconciliation: The automated platform badge reflects $29.78\text{B}$ contiguous
U8packed byte elements, which mathematically expand to the complete $79.47\text{B}$ parameters upon un-quantization in system memory.
2. Training, Calibration & Audited Compute Envelope
- High-Density Calibration Corpus: 140 Billion high-density tokens emphasizing abstract syntax trees (Python/C++ ASTs), formal mathematics, and bilingual English-Arabic reasoning.
- Audited Compute Footprint: Total calibration, centroid orthogonalization, and Gosset lattice codebook sweeps consumed
~540 GPU-hourson NVIDIA A100-SXM4-80GB infrastructure. - Energy Footprint: $\approx 205.2\text{ kWh}$ ($\approx 85\text{ kg CO}_2\text{eq}$, 100% carbon-neutral offset). Zero unverified or exaggerated compute claims.
3. Tokenizer IP & Attribution
- Vocabulary Specification: Byte-Pair Encoding (BPE) vocabulary of 148,480 tokens.
- IP Governance: Tokenizer vocabulary tables and BPE components are adapted under the permissive terms of the Apache License, Version 2.0 in full compliance with Section 4 (Redistribution & Attribution).
4. Open Source Licensing & Commercial Freedom
- Canonical License: Apache License, Version 2.0.
- Commercial Deployment: Fully permitted for global commercial use, modification, fine-tuning, and redistribution without proprietary restrictions.
5. Independent Reproducibility & Audit Harness
An automated verification utility is provided in the root repository to independently audit all architectural parameters, Gosset $E_8$ reconstruction metrics, and AST syntax benchmarks:
python evaluation_harness.py
For the complete technical audit report, see PROVENANCE_AND_AUDIT.md.
- Downloads last month
- 1,809
Space using ZAQERIS/ZAQERIS_AXIOM 1
Collection including ZAQERIS/ZAQERIS_AXIOM
Evaluation results
- Pass Rate on HumanEval (Python Structural Evaluation)self-reported97.140
- Strict Accuracy on IFEval (Strict Constraint Adherence)self-reported82.500