Technical Documentation · Project Guide

📚 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

Foundational Pyramid for Moroccan Digital Factory
Figure 1: Foundational Pyramid — From Data Infrastructure to Knowledge Sovereignty

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

Structural Triangle Within Pattern Space
Figure 2: Structural Triangle — Classification, Clustering, Retrieval

Classification

Defining Groups

Clustering

Building Clusters

Retrieval

Retrieving Information

📊 Hierarchy of Knowledge

Hierarchy of Knowledge
Figure 3: Hierarchy of Knowledge — From Classification to Governance
Knowledge & Governance

Cognitive Models · Concepts & Frameworks

Interpretation

Meaning & Insights

Pattern Space

Pattern Recognition

Classification · Clustering · Retrieval

Defining Groups · Building Clusters · Retrieving Information

🏭 The Moroccan Digital-Physical Factory

Moroccan Digital-Physical Factory Overview
Figure 4: From Matter to Knowledge — From Origin to Sovereignty

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)

☁️ Oracle Cloud Casablanca Region

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.

⚡ UM6P Toubkal Supercomputer

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.

📊 Open Data Portal & APIs

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.

🏛️ Cloud First Roadmap 2025–2030

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 AI Centers of Excellence

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:

Layer 1 — Data Infrastructure

Deferred and rented rather than built. Compute rented from Morocco-resident commercial cloud regions (Oracle Casablanca/Settat) or regional North African cloud availability zones.

Layer 2 — Processing

Primary entry point for independent researchers. Classification, clustering, and retrieval using methodological expertise and curated data on rented compute.

Layer 3 — Digital Representation

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.

Layer 4 — Cultural and Knowledge Identity

Structuring and documenting Moroccan legal, historical, and cultural knowledge into machine-usable datasets published on open-science platforms (Zenodo, OSF, HuggingFace).

Layer 5 — Governance and Sovereignty

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:

Phase 0 — Data and Corpus Assembly

Collect and clean Moroccan-language and domain-specific datasets from data.gov.ma APIs and cultural archives. No compute investment required beyond local hardware.

Phase 1 — Rented Processing Prototype

Deploy classification, clustering, and retrieval pipelines on Oracle Cloud Casablanca (first hyperscaler in North Africa), billed on demand.

Phase 2 — Semantic Fine-Tuning

Fine-tune an open-weight language model on the assembled corpora using rented compute. Benchmark against general-purpose models on Moroccan-specific tasks.

Phase 3 — Open Publication and Dataset Release

Publish processed datasets, model weights (where licensing permits), and methodology papers on open-science infrastructure with DOIs (Zenodo, OSF).

Phase 4 — Institutional Partnership

Approach UM6P Toubkal HPC (3.16 Petaflops, TOP500 #356) for scaled compute, using prior outputs as evidence.

Phase 5 — Policy Engagement

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)

UM6P
HPC Capacity
Toubkal Supercomputer · 3.16 Petaflops · TOP500 #356
EcoDar
Sovereign Data Center
Dakhla Facility · Green Energy
Oracle
Cloud Regions
First Hyperscaler in NA · Casablanca & Settat
ANRT
Regulatory Body
Telecom & Connectivity
JAZARI
AI Centers of Excellence
Rabat (Jan 2026) · Dakhla · Nationwide
$1.1B
Digital Investment
2024-2026 Allocation

⚠️ 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

Baladi, S. (2026). A Phased Implementation Framework for the Moroccan Digital–Physical Factory: From Regional Cloud Hosting to National Knowledge Sovereignty. Ronin Institute / Rite of Renaissance. Zenodo. https://doi.org/10.5281/zenodo.20496255

⚖️ License

This project is licensed under the MIT License.