Hi, I'm Taha.
live in LHR. Build AI systems, fine-tune models, and ship web apps.
Most days I'm training LLMs, improving myself, and catching up with the world.
Fine-tuning Mistral-7B with 3 Multi-LoRA heads and DeBERTa-v3 evidence-guided probability arbitration on LawInstruct.
I build AI systems and ship the real code
I like working close to the actual models and the product layer around them. Lately that has meant fine-tuning Mistral-7B with multiple LoRA heads, building a local-first Socratic tutor that refuses to leak answers, and forecasting floods across Pakistan.
Everything below links straight to my GitHub with real training runs, tests, and benchmarks.
Some things I made
- Mistral-7B Multi-LoRA 3-head Multi-LoRA legal fine-tuning with DeBERTa-v3 evidence-guided token fusion (0.6623 F1, 46.67% EM).
- Socratic Tutor v2 Local-first Next.js 15 and LangGraph tutor with in-browser Pyodide Python execution and 0.0% answer leak rate.
- Aegis Bilingual flood prediction and disaster assistance PWA for Pakistan backed by Indus Basin forecasting (KGE 0.89).
- ACDSA 2027 Paper Accepted paper on Expert Arbitration Networks for resolving conflicting objectives in deep learning.
- Nexium AI Web Dev Intern integrating LLM APIs into production React apps from Figma specs.
- Elevvo Pathways UX and Web Dev Intern owning the design-to-code flow for an accessible ed-tech platform.
Benchmarks
Real evaluation runs from Mistral-7B-MultiLoRA-Legal (1,500 steps, N=120) and Aegis Indus Basin cycles.
| Model / Station | Evaluation | Result | Baseline | Note |
|---|---|---|---|---|
| Mistral EAN (IID) | 3-head Multi-LoRA + DeBERTa-v3 gated probability fusion (N=120) | F1 0.6623 / RL 0.6611 | F1 0.0864 / RL 0.0743 | EM 46.67% |
| Mistral EAN (OOD) | Zero-shot transfer to held-out legal jurisdictions (N=120) | F1 0.3243 / RL 0.3468 | F1 0.0484 / RL 0.0780 | EM 20.00% |
| Aegis: Nowshera D1 | Lead Time D1 Nash-Sutcliffe KGE and CSI vs observed discharge | KGE 0.89 / 0.84 | KGE 0.73 / 0.82 | CSI 0.70 |
| Aegis: Tarbela D1 | Lead Time D1 reservoir inflow prediction across 2024/2025 cycles | KGE 0.75 / 0.83 | KGE -0.66 / -0.57 | Recall 0.69 |
| Aegis: Mangla D1 | Extreme event capture and hydrograph fidelity | Recall 0.87 / 0.76 | Recall 0.55 / 0.43 | KGE 0.82 |
| Aegis: Nowshera D7 | Extended 7-day lead time stability retention | KGE 0.79 / 0.65 | KGE 0.20 / 0.27 | Recall 0.64 |
| Aegis: Tarbela D7 | Extended 7-day stability vs ED-LSTM breakdown | Recall 0.64 / 0.64 | Recall 0.06 / 0.05 | KGE 0.45 |
From my desk
Drag any print around, or click one for a closer look. Tap any print for a closer look.
Say hi: social links
Open to AI, Junior, and Associate Software Engineer roles. Always happy to Reach out anywhere below.