Skip to content
View AmmarHassona's full-sized avatar

Block or report AmmarHassona

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
AmmarHassona/README.md

Ammar Hassona

AI/ML Engineer


I build production ML systems, from fine-tuning open-source LLMs to deploying inference infrastructure. Working on fine-tuning SLMs on Arabic conversational data using SFT, DPO, and LoRA, with training pipelines orchestrated via Airflow and experiments tracked on W&B. Previously built speech processing, TTS, and STT systems for Arabic audio at production scale.

Co-authored the EGY-MER dataset paper (Research Square, 2025).


🛠 Tech Stack

Languages

Python Rust SQL

ML & Training

PyTorch HuggingFace ONNX FastAPI

SFT · DPO · LoRA · Instruction Tuning · Contrastive Pre-training · Multimodal ML

MLOps & Infrastructure

Airflow W&B Docker Prometheus Grafana AWS


📌 Projects

Project Description
LLM Cache Proxy Rust caching proxy for LLM APIs — 4ms cached vs 2.2s live, ~48% cost reduction
ML Inference Platform ONNX serving with canary routing, shadow mode, drift detection, and Grafana observability
trainsafe HuggingFace/TRL callback for behavioral health checks during fine-tuning — catches language drift, output collapse, repetition loops mid-training
Speculative Decoding from Scratch PyTorch impl of Leviathan et al. 2022 with acceptance rate benchmarks across model pairs
clamp-cc TUI for fine-grained Claude Code context compaction — tag turns, generate targeted instructions
TEN-VAD Realtime Real-time speech segmentation with WebSocket event streaming built on TenVAD
Orbis Full-stack AI chatbot with RAG, web search, and streaming chat — Next.js + FastAPI + Groq

Pinned Loading

  1. clamp-cc clamp-cc Public

    Interactive TUI for Claude Code context compaction — tag turns, generate targeted /compact instructions, persist tags across sessions.

    Python

  2. llm_cache_proxy llm_cache_proxy Public

    A Rust caching proxy for LLM APIs. Delivers 500x faster responses (4ms vs 2s) and 90% cost reduction via Redis + Qdrant caching. Drop-in compatible with OpenAI SDKs and Groq.

    Rust

  3. ml-inference-platform ml-inference-platform Public

    ML inference platform with PSI + embedding drift detection, shadow mode inference, canary routing, and automated rollback. FastAPI · ONNX Runtime · Prometheus · Grafana · Loki.

    Python

  4. trainsafe trainsafe Public

    Behavioral health checks for HuggingFace / TRL fine-tuning. Monitors outputs at each checkpoint and stops training if something goes wrong.

    Python

  5. speculative-decoding-from-scratch speculative-decoding-from-scratch Public

    From-scratch implementation of speculative decoding (Leviathan et al. 2022) in PyTorch

    Python

  6. ten-vad-realtime ten-vad-realtime Public

    Real-time Voice Activity Detection with WebSocket integration. Detects speech segments, saves/merges WAV files, streams events for monitoring. Built with TenVAD, sounddevice, websockets.

    Python 1 1