Hello, I am

Hussein Ertimi

AI & Software Engineer · ML Research

Incoming MASc in AI at the University of Guelph · AI & Software Engineer at the Central Bank of Libya

About

I’m an AI & Software Engineer at the Central Bank of Libya and an incoming MASc student in Engineering at the University of Guelph, with a Collaborative Specialization in Artificial Intelligence. I hold a B.Sc. in Electrical & Electronic Engineering from the University of Tripoli (First Class Honors, top of my class).

I build and study LLM systems that run efficiently, reliably and safely.

At the bank I ship production systems end to end: AI document processing (OCR→LLM extraction), backend services over multiple production databases, and the system design, data engineering, and deployment work behind them.

On the research side, I rebuilt a NeurIPS 2024 method for differentiable logic gate networks from scratch, extended it to semantic segmentation with novel logic-based upsampling operators, deployed a trained network on an FPGA, and am now preparing the work as a first-author paper. I’ve also done independent mechanistic-interpretability work on sycophancy in a reasoning model: the steering vector I isolated reduced sycophancy but appeared more associated with refusal than with truthfulness. I’ve also built NLP systems, including an Arabic retrieval-augmented QA toolkit.

Looking forward, my interests center on foundation models and LLMs, AI safety, alignment, and interpretability, and safe, efficient, hardware-aware AI.

I write here about what I build and learn.

Skills
  • Programming: Python, C/C++
  • Machine Learning: PyTorch, scikit-learn, Hugging Face
  • Backend & System Design: FastAPI, microservices, APIs, DBs, Docker
  • Data Engineering: SQL, pandas, NumPy
  • Hardware & FPGA: Verilog, Digital Logic Design, Quartus Prime, ModelSim/Questa
  • DevOps & Tools: Azure, Docker Compose, Linux, Git
Interests
  • Foundation Models / LLMs
  • AI Safety, Alignment and Interpretability
  • Efficient & Hardware-Aware ML
  • Differentiable Logic Networks
Recent Blog Posts
Sycophancy Steering: Isolating a …

A short mechanistic interpretability investigation on DeepSeek-R1-Distill-Llama-8B. I isolate a steering vector that reduces sycophancy, but observe a coherence trade-off at higher strengths.

Recent Projects

NLP RAG Arabic LangChain Chroma Gradio
IjtihadAI — Arabic RAG Chatbot Toolkit
An open-source Arabic retrieval-augmented Q&A system: scraping → embeddings/vector DB → retrieval chain → web/CLI interface + evaluation scripts.

Get in Touch