Farid El Boubkraoui

AI Engineer | Master’s in AI & Digital Computing | AI Systems & Optimisation Theory Enthusiast | AI Solutions & Full-Stack Integration

63+
HF Models
5
Datasets
5
Live Spaces
26
Public Repos

01 — About

Building AI systems that ship

FE
Agadir / Souss-Massa, Morocco

AI Engineer and Master’s student in Artificial Intelligence & Digital Computing at FST Beni Mellal. I build document AI pipelines, quantization research, and full-stack systems that connect models to real products — from OCR and layout detection to RAG chatbots and interactive demos.

I was always into math and computer science and I couldn’t leave one for another — but I was lucky to find out AI is the perfect mix between both, so here we are :)

  • Master’s in Artificial Intelligence & Digital Computing at Faculté des Sciences et Techniques de Beni Mellal (Oct 2024 – July 2026).
  • Bachelor’s in Computer Software Engineering from FST Errachidia (2021–2024).
  • President of Code Crafters, the FST Beni Mellal CS/AI student club.
  • Member of Great Debaters at FST Errachidia, Morocco (2022–2024).

Master’s — Artificial Intelligence & Digital Computing

Faculté des Sciences et Techniques de Beni Mellal

Oct 2024 – July 2026

Bachelor’s — Computer Software Engineering

FST Errachidia, Morocco

2021 – 2024

President — Code Crafters

FST Beni Mellal CS/AI student club · Jan 2024 – 2025

Member — Great Debaters

FST Errachidia, Morocco · 2022 – 2024

02 — Projects

Selected work

Filter by Deep Learning, Machine Learning, NLP, xAI, Tools, or Fun.

Deep LearningFeatured

Generative Episodic Memory (GEM)

Compress long industrial maintenance histories into episodic memory, then reconstruct what matters for failure understanding. On NASA C-MAPSS FD001, ~20% memory keeps event recall near full history with stronger temporal structure than retrieval-only.

PyTorchQwen2.5-3BFAISSsentence-transformers
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

ActiveCrop

Uncertainty-aware active perception so a VLM robot can observe again instead of making unsafe crop interventions — scores information gain and chooses PICK / OBSERVE / ABSTAIN.

VLMActive PerceptionRoboticsUncertainty
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

PhysJEPA

Does JEPA-style latent prediction encode naive physics better than pixel reconstruction? Trains JEPA vs pixel baselines on procedural 2D pymunk worlds with linear probes and violation-of-expectation surprise curves.

PyTorchJEPApymunkWorld Models
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

Language-Grounded Manipulation

Language-conditioned visuomotor policy with BC → RL fine-tuning, active perception, and latent world-model planning on LIBERO. Dashboard exports 5 LIBERO Spatial rollouts — research in progress.

PyTorchVLALIBEROImitation Learning
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

MelaScope

Decision-support dermoscopy classifier on HAM10000 with measured benchmarks, Grad-CAM++ interpretability, and an interactive referral-threshold showcase. EfficientNet-B0 matches ResNet-50 at 6× lower CPU latency; melanoma AUC 0.888.

PyTorchEfficientNetGrad-CAMHAM10000
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

Physics-Informed World Models

Hamiltonian NN vs MLP vs Neural ODE on a 1D bouncing ball where contact breaks smooth-Hamiltonian assumptions. Continuous-time structure beats the MLP by ~300× rollout MSE; HNN wins only in the elastic case.

PyTorchHamiltonian NNNeural ODEThree.js
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

RL-MPQ Mixed-Precision Quantization

Large suite of RL-MPQ checkpoints across LLMs and VLMs — Llama, Mistral, Gemma, Qwen, LLaVA, and more — plus VLMEvalKit evaluation artifacts.

TransformersQuantizationLLMsVLMs
69140+
Deep LearningFeatured

KAN-TimeSeries (TimeKAN)

Frequency-decomposed Chebyshev KAN for long-term forecasting — RevIN, per-band M-KAN, cross-band attention; benchmarks vs PatchTST, iTransformer, and more. Part of the KAN Portfolio showcases.

PyTorchKANTime SeriesETTh1
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

EmlNet

PyTorch custom EML activation with stabilized autograd; benchmarks vs ReLU MLPs on 19 2D classification scenarios.

PyTorchNumPyMatplotlibscikit-learn
DemoDemo status unknown
GitHubRepo
Deep LearningFeatured

Invoice Layout Detection (YOLO)

YOLO detectors for invoice page layout regions with annotated bbox dataset and live Gradio demo.

UltralyticsYOLOv8YOLO11Gradio
825
SpaceSpace status unknown
Deep LearningFeatured

SLANeXt Wired Table Recognition

Finetuned SLANeXt wired table-structure model with 61K+ training samples and Gradio demo.

PaddleOCRSLANeXtTable StructureGradio
13K
SpaceSpace status unknown
Machine LearningFeatured

2048 Research Lab

Simulate, search, and learn policies for classic 2048 — Monte Carlo bakeoffs, expectimax, and Double DQN ablations, plus a playable Angular companion. Heuristic and shallow expectimax reach ~4970 mean score vs ~894 random; short CPU Double DQN demos beat random and approach heuristic with longer training. Charts load from committed metrics via a Render API. Streamlit lab: https://twenty48-lab.onrender.com

GymnasiumPyTorchDQNExpectimax
DemoDemo status unknown
APIGitHubRepo
Machine LearningFeatured

CausalSolar

Causal ML demo measuring how advanced weather information changes solar forecasting error across regimes. Estimates ATEs with S/T/X-Learner and Causal Forest — headline ATE ≈ −10.3 pp absolute error, strongest under extreme conditions.

Next.jsFastAPIEconMLLightGBM
DemoDemo status unknown
APIGitHubRepo
Machine LearningFeatured

GraphWar Benchmark

Function-approximation arena — fight models, run tournaments, and play Graphwar in the browser. Client-side play works offline; fights and tournaments hit a FastAPI backend. Also published as the Python package graphwar on PyPI.

PythonFastAPIReactVite
DemoDemo status unknown
APIGitHubRepoPyPI
Machine LearningFeatured

Opaque Convoy

Provably secure route planning for high-value transport — cargo + decoy routes that preserve Type-B opacity at checkpoints. LangGraph pipeline on OSM/NetworkX graphs with live God/Observer map playback.

LangGraphFastAPIOSMnxNetworkX
DemoDemo status unknown
APIGitHubRepo
Machine LearningFeatured

Quantum-Opt

DINOv2 embeddings → QUBO max-diversity lunar site selection with greedy, simulated annealing, and QAOA solvers. Greedy scores 8.460 diversity, beating Neal SA and Aer-simulated QAOA on a 12-qubit pool.

DINOv2QUBOQAOANext.js
DemoDemo status unknown
GitHubRepo
NLPFeatured

Emotion-Aware Agentic RAG

Emotion-conditioned agentic RAG that picks a retrieval/generation strategy and explains why. A classifier tags affect; an agent maps emotion → concise / scaffolded / standard strategy with a rationale trace.

Next.jsFastAPIDeepSeekRAG
DemoDemo status unknown
APIGitHubRepo
NLPFeatured

RAG Evolution Lab

Nine RAG architectures built in order — each motivated by a measured failure of the one before it. v8 Agentic hits 0.876; v9 Modular trades accuracy for perfect adversarial resistance; v6 RAPTOR peaks faithfulness at 0.954.

RAGGraphRAGRAPTORDeepSeek
DemoDemo status unknown
GitHubRepo
NLPFeatured

Morocco BO Region Classification

LayoutLMv3 segment classification for Moroccan Official Bulletin PDFs with a live Gradio demo.

LayoutLMv3GradioDocument AI
81
SpaceSpace status unknown
NLPFeatured

Morocco BO OCR (Arabic + Latin)

PaddleOCR finetunes for Arabic and Latin/French line recognition on Bulletin Officiel documents, with live Gradio demo.

PaddleOCRArabicFrenchGradio
1
SpaceSpace status unknown
NLPFeatured

iFuzzy Invoice Data Extractor

FastAPI + RapidOCR (ONNX) pipeline: upload → OCR/layout/tables → fuzzy structuring → validation UI with bbox overlays.

FastAPIRapidOCRONNXAngular SSR
DemoDemo status unknown
GitHubRepo
xAIFeatured

KAN-CNN

Interpretable image classification with Kolmogorov–Arnold Networks — Pure KAN and Conv-KAN vs MLP/CNN baselines, plus edge-function visualization and symbolic fits. Part of the KAN Portfolio showcases.

PyTorchKANChebyshevMNIST
DemoDemo status unknown
GitHubRepo
xAIFeatured

NN Visualiser

Interactive neural network explorer — React + Express monorepo with Docker/GHCR and Vercel deploy.

ReactExpressZodDocker
DemoDemo status unknown
GitHubRepo
ToolsFeatured

Leaf

Interactive geolocated marker manager with routing, filters, stats dashboard, and JSON import/export.

AngularFlaskMongoDBLeaflet
DemoDemo status unknown
GitHubRepo
ToolsPrivate repoFeatured

Annotate Everything — BBox

Bounding-box annotation tool for computer vision datasets.

ReactAnnotationVercel
DemoDemo status unknown
FunFeatured

FST 3D Simulation

Vue.js + Babylon.js campus walkthrough with Blender → GLTF models of FST Beni Mellal.

Vue.jsBabylon.jsBlenderGLTF
Deep Learning

Morocco BO Region Proposal

PP-DocLayout region proposal / layout detection for Official Bulletin documents.

PP-DocLayoutPaddleOCRGradio
SpaceSpace status unknown
Machine Learning

Q-learning Agent

Pygame gridworld Q-learning demo with alpha/gamma/epsilon controls and Q-value overlay.

PythonPygameQ-learning
NLP

BookMind

RAG-powered companion for exploring literature with retrieval-augmented generation.

RAGNLP
NLP

Morocco BO Document AI Pipeline

End-to-end Official Bulletin pipeline combining region proposal, segment classification, and OCR.

LayoutLMv3PaddleOCRPP-DocLayoutGradio
811
SpaceSpace status unknown
ToolsPrivate repo

Read & Track

Reading tracker / library app deployed on Vercel.

TypeScriptVercel
DemoDemo status unknown
ToolsPrivate repo

Eat & Track

Food / nutrition tracking web app deployed on Vercel.

TypeScriptVercel
DemoDemo status unknown

03 — Experience

Where I've applied AI

  • Internship

    Full-Stack AI Engineer Intern

    DIGEX

    • Optimized OCR invoice processing algorithms; reduced inference time by 66%.
    • Built dynamic map-based visualizations with Angular, Leaflet, and AI components.
    • Mapped extracted OCR fields to database schemas and automated invoicing workflows.
    OCRAngularLeafletAIDatabases
  • Professional experience

    Data Scientist

    Legaliox.com

    • Built an interactive RAG-based chatbot for complex legal queries.
    • Designed and ran data ingestion pipelines for legal document corpora.
    • Curated a multilingual dataset of 12,000+ Arabic and French Bulletin Officiel documents for indexing and retrieval.
    RAGNLPData PipelinesArabicFrench
  • Jan 2024 – 2025FST Beni Mellal

    President

    Code Crafters

    • Lead the CS/AI student club at FST Beni Mellal.
    • Organize sessions such as Personal Development with AI and community events.
    LeadershipCommunityAI Education
  • 2022 – 2024FST Errachidia, Morocco

    Member

    Great Debaters

    • Member of Great Debaters at FST Errachidia.
    Public SpeakingDebate

04 — Skills

Stack & domains

From Transformers and document AI to full-stack web — evidenced by public repos and Hub models.

Languages

PythonTypeScriptJavaScriptJavaSQLArabicFrenchEnglish

AI / ML

PyTorchTransformersUltralytics YOLOPaddleOCRLayoutLMv3RAGQuantization / RL-MPQGradioScikit-learnNumPy / Pandas

Document AI

OCR (Arabic + Latin)Layout DetectionTable Structure RecognitionInvoice ExtractionRegion ProposalSLANeXt

Web Frontend

ReactNext.jsAngularVue.jsTailwind CSSshadcn/uiLeafletKonvaChart.js / D3

Backend & Data

FastAPIFlaskExpressSpring BootMongoDBMySQLDocker

DevOps & Platforms

Docker ComposeKubernetes conceptsGit / GitHubHugging Face HubVercelGHCR

05 — Fav Reads

Books that stick

A few titles that shaped how I think about systems, ethics, code, and society.

  1. 01

    Understanding Ethics

    Torbjörn Tännsjö

  2. 02

    Seeing Like a State

    James C. Scott

  3. 03

    La nature de la nature

    Edgar Morin

  4. 04

    Clean Code

    Robert C. Martin

  5. 05

    The Social Contract

    Jean-Jacques Rousseau

  6. 06

    Theory of Collective Behavior

    Neil J. Smelser

06 — Contact

Let's work together

Questions, collabs, or just say hi.