Software engineer · ML researcher
Hi, I'm Umar Ahmed
I write about software engineering, machine learning, data science, and quantum computing.
Lab notebook
6 entries- 7 min read
Clean Tickets, Wrong Orders: Running a 0.8B Parser in Your Browser Tab
We put a fine-tuned 0.8B model inside the browser with llama.cpp compiled to WebAssembly. No order text leaves the device, every ticket is scored in the tab by the benchmark's own matcher, and on all 1,357 test orders the browser writes the same output as the server for 99.0% of them.
#machine-learning#llm#webassembly#web - 9 min read
Parsed, Plausible, Wrong: How Output Format Controls Silent Errors in Small Models
A fine-tuned parser that prints a clean but wrong ticket fails silently. Across 300 runs on two sub-billion models, we found that writing the target in plain words, not just making it shorter, cuts those silent errors by up to 2.3× while using 4× fewer tokens.
#machine-learning#llm#semantic-parsing#fine-tuning - 4 min read
MLX-Quantum: Differentiable Quantum Layers on Apple Silicon
I wanted a quantum layer that drops into an MLX model like any other nn.Module. So I built a differentiable statevector simulator that runs natively on the Metal GPU which is 250–1770× faster than driving Qiskit from Python, matching it to float32.
#quantum-computing#mlx#apple-silicon#machine-learning - 4 min read
Hybrid Quantum Neural Networks: Visualizing Geometric Advantage
Classical Neural Networks struggle with complex topologies like rings and donuts. In this post, we visualize how Hybrid Quantum Neural Networks use entanglement to solve these geometries instantly.
#quantum-computing#pytorch#qiskit#machine-learning - 2 min read
How Quantum RNNs Work (Step-by-Step)
Quantum Recurrent Neural Networks (QRNNs) combine ideas from classical RNNs with the expressive power of quantum circuits. Let’s walk through the concept step by step.
#quantum-computing#qiskit#machine-learning#qrnn - 3 min read
How Linear Regression Works (Visualized Step-by-Step)
Linear Regression is often the first algorithm that newcomers to machine learning learn and for good reason. It’s intuitive, powerful, and forms the foundation for many more advanced techniques.
#python#linear-regression#machine-learning#matplotlib