📚 Documentation
Complete technical documentation for the Moroccan Digital-Physical Factory
📘 README
Moroccan Digital-Physical Factory - Phased Implementation Framework
A phased, low-capital-first implementation pathway for national knowledge sovereignty
Domain: digital_sovereignty | Version: v6
🏗️ Foundational Pyramid for Moroccan Digital Factory
5 · Knowledge Sovereignty
Governance & Policy
4 · Cultural Identity
Moroccan Knowledge
3 · Digital Representation
Semantic Models
2 · Processing Layer
Classification · Clustering · Retrieval
1 · Data Infrastructure
Local Data Centers · GPU/TPU Servers · Power & Connectivity
📐 The Structural Triangle Within Pattern Space
Classification
Defining Groups
Clustering
Building Clusters
Retrieval
Retrieving Information
📊 Hierarchy of Knowledge
Cognitive Models · Concepts & Frameworks
Meaning & Insights
Pattern Recognition
Defining Groups · Building Clusters · Retrieving Information
🏭 The Moroccan Digital-Physical Factory
Dual Birth: Physical Origin Gives Life, Digital Branch Gives Value
Physical Infrastructure (The Origin)
Build local data centers · GPU/TPU processors · Reliable energy & connectivity
Structural Triangle (The Production Line)
Classification · Clustering · Retrieval
Digital Representation (The Branch)
Transform data into meanings · Digital embryo born within matter
Knowledge Identity (The Identity)
Build Moroccan knowledge identities · Embed local specificity
Governance & Sovereignty
Use model in education, research, policies · Tool of Moroccan knowledge sovereignty
📊 Real Data & Institutional Landscape (2026)
First hyperscaler cloud region in North Africa — launched April 2026 at GITEX Africa Morocco. $140M investment with a second region planned in Settat. Partner: N+ONE Datacenters.
3.16 Petaflops (Rmax) · TOP500 #356 · Green500 #178 (4.18 GFLOPS/W) · 1,272 compute nodes + GPU (A100, H100) · 8 PB Lustre storage · 1 MWp solar plant.
data.gov.ma — managed by ADD (Agence de Développement du Digital). APIs for economic statistics, employment, national accounts. Morocco ranked #1 in Africa in Open Data Inventory (ODIN) 2020/2021.
Presented to the House of Representatives in late 2025. Establishes cloud computing as the default architecture for public-sector digital platforms. $1.1B allocated to Digital Morocco 2030 strategy (2024-2026).
JAZARI Root Center opening in Rabat on January 12, 2026. Nationwide network of AI excellence centers covering all Moroccan regions. JAZARI Dakhla dedicated to AI and energy transition. A General Directorate of AI will soon be created.
🏗️ Five-Layer Framework
The Moroccan Digital-Physical Factory is decomposed into five layers, ordered from material base to governance apex:
Deferred and rented rather than built. Compute rented from Morocco-resident commercial cloud regions (Oracle Casablanca/Settat) or regional North African cloud availability zones.
Primary entry point for independent researchers. Classification, clustering, and retrieval using methodological expertise and curated data on rented compute.
Fine-tuning existing open-weight language models on Moroccan-specific corpora (Darija text, administrative documents, regional news). Collaboration with ENSIAS, INPT for larger compute allocations.
Structuring and documenting Moroccan legal, historical, and cultural knowledge into machine-usable datasets published on open-science platforms (Zenodo, OSF, HuggingFace).
Embedding work into national education, research, and policy structures. Engagement with Ministry of Digital Transition (MTNRA), ANRT, ADD, JAZARI Centers.
🛤️ Phased Implementation Roadmap
The roadmap sequences execution by leverage and cost rather than by the pyramid's conceptual order:
Collect and clean Moroccan-language and domain-specific datasets from data.gov.ma APIs and cultural archives. No compute investment required beyond local hardware.
Deploy classification, clustering, and retrieval pipelines on Oracle Cloud Casablanca (first hyperscaler in North Africa), billed on demand.
Fine-tune an open-weight language model on the assembled corpora using rented compute. Benchmark against general-purpose models on Moroccan-specific tasks.
Publish processed datasets, model weights (where licensing permits), and methodology papers on open-science infrastructure with DOIs (Zenodo, OSF).
Approach UM6P Toubkal HPC (3.16 Petaflops, TOP500 #356) for scaled compute, using prior outputs as evidence.
Only after demonstrated reuse and citation of Phase 3–4 outputs, pursue engagement with ANRT, Ministry of Digital Transition, JAZARI AI Centers.
🏛️ Institutional Context (2026)
⚠️ Risks and Limitations
Data Residency
Renting non-Moroccan cloud compute may create tension with sovereignty objectives. Mitigation: encryption, contractual deletion guarantees, and a clear migration plan to in-country hosting.
Dependency Risk
Reliance on commercial cloud providers introduces vendor lock-in and pricing exposure. Mitigation: build on portable, open-source tooling rather than provider-proprietary services.
Legitimacy Risk
Work produced outside institutional channels may face slower adoption by state bodies. Addressed by Phase 4–5 sequencing, treating institutional engagement as a consequence of demonstrated output.
📖 How to Cite
⚖️ License
This project is licensed under the MIT License.