Ismail Ben Alla

Projects

Everything I’ve built, in two tracks: applied AI systems that run for real users, and deep learning models I rebuilt from first principles. Open any project for the full write-up, examples, and tech stack.

Applied AI Systems

Production-oriented LLM, RAG, agent, evaluation, and data-platform work — systems that run for real users.

  • MyWater — screenshot

    MyWater — Global Water Dashboard with Forecasts and an AI Analyst

    Product · Nov 2026 · Completed

    An interactive dashboard of water stress, water use and resources for every country, with live open data, maps and a 3D globe, a forecast lab of ten models, and an AI analyst that explains each chart and writes a PDF report.

    Built with: ReactD3.jsTensorFlow.jsCloudflare WorkersWorkers AILLM

    Read more → MyWater

  • CadQuery Studio — screenshot

    CadQuery Studio — Describe a Part, Get Editable 3D CAD

    Product · Nov 2026 · Completed

    A live web studio where you describe a mechanical part in plain language and an AI built on small open-weight models turns it into an editable parametric 3D model, which you can then refine by chatting, clicking faces, dragging features or editing numbers, and export as STEP or STL.

    Built with: PythonFastAPICadQueryThree.jsOpen-weight LLMsVercel

    Read more → CadQuery Studio

  • MeRobot — screenshot

    MeRobot — A 3D AI Twin You Can Talk To

    Agents · Oct 2026 · In progress

    A talking 3D robot that answers questions about my work by text or voice, moves on request, and shows my projects, experience and skills in an orbit around it, grounded in my public portfolio.

    Built with: ReactThree.jsCloudflare WorkersWorkers AILLMText-to-Speech

    Read more → MeRobot

  • Alert Agent — architecture diagram

    Alert Agent — MCP-Powered Incident Investigation

    Agents · Jun 2026 · Completed

    An LLM agent at Dailymotion that picks up data-platform alerts from Slack and investigates them through dedicated MCP servers for Airflow, GCP, and BigQuery.

    Built with: GeminiMCPAirflowBigQueryGCPSlack

    Read more → Alert Agent

  • Code-Hinter — screenshot

    Code-Hinter — AI Grading Inside VS Code

    LLM apps · Apr 2025 · Completed

    A Centrale Lyon team project: professors create exercises in VS Code, students submit from the editor, and an AI model grades against the professor’s criteria.

    Built with: TypeScriptVS Code APIPythonFlaskNext.js

    Read more → Code-Hinter

  • Petender — architecture diagram

    Petender — A Social App for Pets

    Product · Nov 2026 · In progress

    A social app for cat and dog owners that I’m working on, built around their pets.

    Built with: TypeScriptReact NativeNext.jsPostgreSQL

    Read more → Petender

  • Koulchi — architecture diagram

    Koulchi — A Marketplace for Morocco

    Product · Nov 2026 · In progress

    A marketplace app for Morocco that I’m working on: everything in one place.

    Built with: Next.jsTypeScriptPostgreSQL

    Read more → Koulchi

  • tiny-rag — architecture diagram

    tiny-rag — Ask Your Texts, Images and Sounds

    RAG · Nov 2026 · In progress

    A retrieval-augmented generation system over texts, images and sounds, built on my own tiny-* models. Each query is searched with its own kind of model, then Qwen2.5-0.5B-Instruct, run inside tiny-llm, answers from numbered sources.

    Built with: PyTorchGradioNumPyHugging Face Datasetspytest

    Read more → tiny-rag

  • Coflow — screenshot

    Coflow — Code Map for VS Code

    Product · Oct 2026 · In progress

    A VS Code extension that draws how your code runs: from the whole system and the file that starts it, down to every line of one function. Runs locally; static features are free.

    Built with: TypeScriptVS Code APIPython

    Read more → Coflow

  • Glitch — screenshot

    Glitch — Android App against Autopilot Phone Habits

    Product · Oct 2026 · In progress

    A small Android app that shows your apps in a new random order, so you look before you tap. No permissions, no internet, no tracking.

    Built with: KotlinJetpack ComposeAndroidGitHub Actions

    Read more → Glitch

  • Kinetra — screenshot

    Kinetra — AI Fitness Companion

    Product · Oct 2026 · In progress

    An AI fitness companion I’m working on, that coaches you while you train.

    Built with: PythonFastAPIReact NativeExpo

    Read more → Kinetra

  • Qlaver — architecture diagram

    Qlaver — AI Email Assistant

    Product · Apr 2026 · In progress

    An AI email assistant I’m working on: your inbox as a short audio summary.

    Built with: PythonFastAPIReactTypeScript

    Read more → Qlaver

Deep Learning & Research

Models built from first principles: transformers, multimodal learning, computer vision, generative models (GANs, diffusion, text-to-image), reinforcement learning, graph learning, speech and real-time audio.

  • NatVC — architecture diagram

    NatVC — Real-Time Neural Voice Conversion

    Audio · Sep 2025 · Completed

    Any-to-any voice conversion that runs in real time under a live-application latency budget — my Centrale Lyon MSc thesis, carried out during my internship at SteelSeries.

    Built with: PyTorchAccelerate (multi-GPU)StreamVCLLVCTensorBoard

    Read more → NatVC

  • Bilingual Net — screenshot

    Bilingual Net — English ↔ Darija Translation

    Generative AI · Apr 2025 · Completed

    A from-scratch encoder–decoder Transformer for translation between English and Moroccan Darija — a low-resource dialect — with residual pre-LN attention and five decoding strategies.

    Built with: PyTorchStreamlitPoetryBeam search

    Read more → Bilingual Net

  • Tiny LLM — architecture diagram

    Tiny LLM — A Small LLM Built From Scratch

    Generative AI · Aug 2023 · Completed

    A small LLM written layer by layer in PyTorch. The same code trains from zero or loads GPT-2, Llama (SmolLM2), Qwen2.5 and Pythia with outputs identical to Hugging Face, fine-tunes them with LoRA, and chats in a Streamlit app.

    Built with: PyTorchHugging Face TransformersLoRAStreamlitKaggle

    Read more → Tiny LLM

  • tiny-dlms — architecture diagram

    tiny-dlms — Tiny Decision Models That Score Instead of Generate

    Deep learning · Nov 2026 · Completed

    Two tiny decision models built from scratch in PyTorch. They don’t write: they score every option and pick one. Rhoa reads text and picks the answer or the intent; Mēlon reads pixels, drives a car in CarRacing and solves mazes.

    Built with: PyTorchONNXJavaScriptGymnasiumMatplotlib

    Read more → tiny-dlms

  • Tiny BERT — architecture diagram

    Tiny BERT — A Small Encoder and Its BPE Tokenizer, From Scratch

    NLP · Nov 2026 · In progress

    A 9M-parameter BERT-style encoder and its byte-level BPE tokenizer, written and pre-trained from scratch in PyTorch, with no Hugging Face transformers. It is the encoder the rest of my tiny family starts from.

    Built with: PyTorchHugging Face DatasetsNumPyscikit-learnMatplotlibpytest

    Read more → Tiny BERT

  • tiny-embedder — architecture diagram

    tiny-embedder — Text, Image and Audio Embeddings from Scratch

    Multimodal · Nov 2026 · In progress

    Three small embedding models built from scratch in PyTorch: text, images and sounds each become a 256-d vector, so similar things end up close. Every text tower starts from my tiny-bert.

    Built with: PyTorchNumPyHugging Face DatasetspytestJavaScript

    Read more → tiny-embedder

  • tiny-reranker — architecture diagram

    tiny-reranker — Text, Image and Audio Rerankers from Scratch

    Multimodal · Nov 2026 · In progress

    Three small cross-encoders that reorder the top results of a first search stage. One reads a query with a passage, one a caption with a picture, one a caption with a sound. All three are built from scratch in PyTorch on top of tiny-bert.

    Built with: PyTorchNumPyHugging Face DatasetspytestJavaScript

    Read more → tiny-reranker

  • Image-to-CadQuery — architecture diagram

    Image-to-CadQuery — Custom Vision-to-Code Model

    Multimodal · Oct 2026 · In progress

    A custom image-to-CadQuery neural network that maps CAD images to executable modeling tokens without calling an LLM or hosted model API.

    Built with: PyTorchResNet18TransformerHugging Face Datasetspytest

    Read more → Image-to-CadQuery

  • CartPole RL — architecture diagram

    CartPole RL — Twelve RL Methods on One Benchmark

    Reinforcement learning · Oct 2026 · Completed

    CartPole-v1 solved twelve ways in one small PyTorch code base: tabular Q-learning, SARSA and Monte Carlo control, DQN with double, dueling, prioritized and n-step variants, REINFORCE, actor-critic, A2C and PPO, plus CNN policies that learn from rendered pixels, all under one evaluation protocol.

    Built with: PyTorchGymnasiumNumPyMatplotlibpytest

    Read more → CartPole RL

  • Diffusion Workbench — architecture diagram

    Diffusion Workbench — Diffusion and Flow Models on One Loop

    Generative AI · Oct 2026 · Completed

    DDPM (ε, x0 and v prediction, DDIM), score SDEs (VP, VE), flow matching, EDM and classifier-free guidance in plain PyTorch, sharing one U-Net or DiT, one training loop, one sampler interface and one evaluation, compared on MNIST with a classifier-feature FID and quality-versus-NFE curves.

    Built with: PyTorchtorchvisionMatplotlibpytest

    Read more → Diffusion Workbench

  • English-to-Arabic Translator — architecture diagram

    English-to-Arabic Translator — Transformer Machine Translation

    NLP · Oct 2026 · Completed

    English-to-Arabic neural machine translation with an encoder-decoder Transformer written from scratch in PyTorch, with a shared BPE tokenizer, beam search and BLEU / chrF evaluation; the same code works for any language pair.

    Built with: PyTorchCustom TransformersBeam searchHugging Face Datasetspytest

    Read more → English-to-Arabic Translator

  • FrozenLake RL — architecture diagram

    FrozenLake RL — Classical RL Methods Checked against the Exact Optimum

    Reinforcement learning · Oct 2026 · Completed

    FrozenLake, Taxi and CliffWalking solved with fourteen classical reinforcement-learning methods, from value iteration and Monte Carlo control to SARSA(lambda), Dyna-Q and DQN on one-hot states, each scored exactly from the transition model and on 1,000 real episodes.

    Built with: PythonNumPyGymnasiumPyTorchMatplotlib

    Read more → FrozenLake RL

  • GAN Workbench — architecture diagram

    GAN Workbench — Ten GAN Variants on One Training Loop

    Generative AI · Oct 2026 · Completed

    Ten GAN types (GAN, DCGAN, cGAN, ACGAN, LSGAN, WGAN, WGAN-GP, SNGAN, pix2pix, CycleGAN) written in plain PyTorch behind one training loop, one data pipeline and one evaluation, so switching method is one flag and the comparison on MNIST and synthetic shapes is fair.

    Built with: PyTorchtorchvisionMatplotlibpytest

    Read more → GAN Workbench

  • LunarLander RL — architecture diagram

    LunarLander RL — Eleven Deep-RL Methods on One Benchmark

    Reinforcement learning · Oct 2026 · Completed

    LunarLander-v3 trained with DQN, double and dueling DQN, REINFORCE, A2C, PPO and discrete SAC on the discrete lander, and DDPG, TD3, SAC and Gaussian PPO on the continuous one: each algorithm is one readable PyTorch file, and all share the same networks, seeds, evaluation and comparison table.

    Built with: PyTorchGymnasiumNumPyMatplotlibpytest

    Read more → LunarLander RL

  • MountainCar RL — architecture diagram

    MountainCar RL — Every RL Family on One Sparse-Reward Task

    Reinforcement learning · Oct 2026 · Completed

    MountainCar, discrete and continuous, solved with tabular Q-learning and SARSA, tile coding, DQN variants, REINFORCE, A2C, PPO, DDPG, TD3, SAC and the cross-entropy method in one PyTorch code base, with reward shaping and novelty bonuses as flags to show which methods find the flag on their own.

    Built with: PyTorchGymnasiumNumPyMatplotlibpytest

    Read more → MountainCar RL

  • Pendulum RL — architecture diagram

    Pendulum RL — Swing-up and Acrobot with Every Classic RL Method

    Reinforcement learning · Oct 2026 · Completed

    Pendulum swing-up (continuous torque) and Acrobot (discrete actions) solved with DDPG, TD3, SAC, PPO, A2C, REINFORCE, the cross-entropy method, DQN variants and tile-coded SARSA(lambda) in one PyTorch code base, all under the same step budget, evaluation and plots.

    Built with: PyTorchGymnasiumNumPyMatplotlibpytest

    Read more → Pendulum RL

  • Pong RL — architecture diagram

    Pong RL — Pong from Pixels with Seven Deep RL Methods

    Reinforcement learning · Oct 2026 · Completed

    Pong from raw pixels with Karpathy's policy gradient, REINFORCE with a baseline, A2C, PPO, DQN, double DQN and dueling DQN (with prioritized replay and n-step returns) in one PyTorch code base; a built-in 40x40 numpy Pong lets every method beat its opponent in minutes on one CPU thread, and the same code runs on Atari Pong.

    Built with: PyTorchGymnasiumNumPyMatplotlibpytest

    Read more → Pong RL

  • Speech Emotion Recognition — architecture diagram

    Speech Emotion Recognition — 8 Audio Classifiers Tested on Unseen Speakers

    Audio · Oct 2026 · Completed

    Eight ways of classifying emotion in speech compared on RAVDESS: raw waveform, MFCC, log-mel spectrogram, handcrafted features and a frozen WavLM, all trained on the same split and tested on actors never heard in training, with the overfitting measured and fixed.

    Built with: PyTorchHugging Face Transformerslibrosascikit-learn

    Read more → Speech Emotion Recognition

  • STT Workbench — architecture diagram

    STT Workbench — Speech-to-Text Approaches in PyTorch

    Audio · Oct 2026 · Completed

    Speech recognition built from scratch in PyTorch: CTC, attention encoder-decoder, LAS, hybrid CTC/attention and RNN-Transducer on BiLSTM, Transformer or Conformer encoders, with every decoding algorithm and WER/CER evaluation, tested on small 8 kHz datasets.

    Built with: PyTorchBeam searchONNXKagglepytest

    Read more → STT Workbench

  • Text2Image — architecture diagram

    Text2Image — Twelve Text-to-Image Architectures Side by Side

    Generative AI · Oct 2026 · Completed

    Twelve text-to-image architectures (Stable Diffusion U-Net, DiT, JiT, MMDiT, single-stream DiT, SANA, MeanFlow, Transfusion, autoregressive, MaskGIT, VAR, MAR) in PyTorch that share one dataset, text tokenizer, training loop and automatic evaluation, trained and benchmarked on a CPU on a captioned-shapes task.

    Built with: PyTorchCustom TransformersNumPypytest

    Read more → Text2Image

  • TTS Workbench — architecture diagram

    TTS Workbench — Text-to-Speech Approaches in PyTorch

    Audio · Oct 2026 · Completed

    Text-to-speech built from scratch in PyTorch: Tacotron 2, Transformer-TTS, FastSpeech 2, VITS and a HiFi-GAN vocoder with a built-in aligner and MCD / F0 / MOS evaluation, compared on small 8 kHz datasets.

    Built with: PyTorchNumPyMatplotlibKagglepytest

    Read more → TTS Workbench

  • U-Net Image Segmentation — architecture diagram

    U-Net Image Segmentation — Six Segmentation Variants Measured on the Same Data

    Computer vision · Oct 2026 · Completed

    U-Net in PyTorch with every design choice as a flag (skip connections, max-pool vs strided conv, single vs double conv, residual blocks, a SegNet-like model without skips and a fully connected baseline), all trained on synthetic shapes and Oxford-IIIT Pet and compared with IoU, Dice and a threshold sweep.

    Built with: PyTorchtorchvisionpytestMatplotlib

    Read more → U-Net Image Segmentation

  • PairVC — architecture diagram

    PairVC — Real-Time Voice Conversion from Paired Speech

    Audio · Oct 2026 · In progress

    A tiny causal voice converter that turns your voice into a target voice live, 20 ms at a time on one CPU core. It learns from a big offline teacher model, on paired speech.

    Built with: PyTorchONNXStreamlitJavaScriptKaggle

    Read more → PairVC

  • JointVC — architecture diagram

    JointVC — Disentangled Voice Conversion, Trained in One Run

    Audio · Oct 2026 · In progress

    Ongoing research: a tiny real-time voice converter whose content encoder, speaker encoder and decoder learn together, and the open problem at its heart, disentanglement: keeping who speaks out of what is said.

    Built with: PyTorchONNXHugging Face Transformerstorchaudio

    Read more → JointVC

  • HR-Jev — architecture diagram

    HR-Jev — GPT-2 for HR Outcome Prediction

    Generative AI · Aug 2025 · Completed

    A GPT-2 model, written from scratch and initialized from pretrained weights, that reads employee records written as sentences and predicts attrition, job level, job satisfaction, and monthly income.

    Built with: PyTorchHugging FaceGradiopytestTensorBoard

    Read more → HR-Jev

  • Text Classification — architecture diagram

    Text Classification — Emotion Detection with RNNs, LSTMs and GRUs

    NLP · Nov 2024 · In progress

    Emotion classification of short English sentences with RNN, LSTM and GRU models in PyTorch, each built with nn.* and from scratch, fed one-hot or GloVe embeddings: 12 models, one recipe, 91 to 92% test accuracy.

    Built with: PyTorchGloVeNLTKPandaspytest

    Read more → Text Classification

  • GNN Molecular — architecture diagram

    GNN Molecular — Seven GNNs for Molecular Properties

    Research · Oct 2024 · Completed

    Seven graph neural networks (GCN, MPNN, DCNN, GIN, GAT, GraphSAGE, AttentiveFP) that predict molecular solubility (ESOL) from the graph of atoms and bonds, compared on one split in a tested Python package.

    Built with: PyTorchPyTorch GeometricRDKitMoleculeNetpytest

    Read more → GNN Molecular

  • Image Captioner — architecture diagram

    Image Captioner — Multimodal Image Captioning

    Multimodal · Aug 2024 · Completed

    Image captioning built by hand in PyTorch: a ViT-style encoder turns images into visual tokens and a Transformer decoder writes the caption.

    Built with: PyTorchCustom TransformersPoetry

    Read more → Image Captioner

  • ViT Image Classifier — screenshot

    ViT Image Classifier — Vision Transformer From Scratch

    Deep learning · Jun 2024 · Completed

    A Vision Transformer built from scratch in PyTorch: patch embedding, positional encoding, multi-head attention, a [CLS] token, and fine-tuning.

    Built with: PyTorchPoetryViT

    Read more → ViT Image Classifier

  • ImageGen — architecture diagram

    ImageGen — GANs and Diffusion behind One Training Loop

    Generative AI · Jun 2024 · In progress

    DCGAN, a SNGAN/BigGAN-style ResNet GAN and a DDPM U-Net in plain PyTorch behind one training loop, one sampler and one checkpoint format, all class-conditional with EMA weights, with presets for MNIST, CIFAR-10 and AFHQ animal faces and training on a CPU, one GPU, several GPUs or several machines.

    Built with: PyTorchtorchvisionHugging Face Datasetstorchrunpytest

    Read more → ImageGen

  • MusicGen — screenshot

    MusicGen — Transformer vs LSTM vs RNN for Music

    Generative AI · May 2024 · Completed

    Symbolic music generation compared across Transformer, LSTM, and RNN on the same corpus, with a Streamlit app that generates downloadable songs.

    Built with: PyTorchKerasStreamlitABC notation

    Read more → MusicGen

  • MyTorcha — architecture diagram

    MyTorcha — A Deep Learning Framework From Scratch

    Deep learning · Mar 2024 · Completed

    A deep learning framework built from scratch on NumPy: a Tensor autograd engine with CNN, RNN, LSTM, GRU, attention and Transformer layers, 20 activations, 10 losses and 8 optimizers, every gradient verified against finite differences and PyTorch. The original scalar engine is kept as a teaching chapter.

    Built with: PythonNumPypytestPyTorch

    Read more → MyTorcha

  • SegNet Semantic Segmentation — architecture diagram

    SegNet Semantic Segmentation — Pixel Labelling with Pooling-Index Unpooling

    Computer vision · Sep 2023 · Completed

    SegNet written from the paper in PyTorch: a VGG16 encoder, a decoder that upsamples with the saved max-pool indices, cross-entropy plus soft dice loss, pixel accuracy and mIoU, trained on toy shapes, Oxford-IIIT Pet and Mapillary Vistas street scenes.

    Built with: PyTorchtorchvisionpytestKaggle

    Read more → SegNet Semantic Segmentation

  • YOLO Object Detector — architecture diagram

    YOLO Object Detector — YOLOv1 from the Paper, in PyTorch

    Computer vision · Sep 2023 · Completed

    YOLOv1 written from the paper in PyTorch: the 24-layer network, the sum-squared-error loss, target encoding, decoding, non-max suppression and mAP, trained from random weights on synthetic shapes, MNIST digits, PASCAL VOC or any YOLO-format dataset.

    Built with: PyTorchtorchvisionpytestKaggle

    Read more → YOLO Object Detector