Project 1
Text-to-SQL Guardrails
Ask a database in English, Arabic or Urdu without trusting the model that writes the SQL.
What I didBuilt end to end: the pipeline, the guardrails and the evaluations.
Adil PervezAI EngineerKarachi, Pakistan
I test AI systems, find where they break, and build the fix.
Available immediately · Remote, or hybrid and onsite in Pakistan
Hiring an AI engineer?
Asked questions in English, Arabic and Urdu, a database assistant answered 85% correctly, and no harmful statement ran.
Text-to-SQL Guardrails ↗A video model I fine-tuned names the table-tennis stroke in a clip correctly 85.8% of the time on its validation clips, and runs on a CPU in 1 to 2 seconds.
Table Tennis Stroke Classifier ↗A book Q&A tool had the right chapter in its top 5 results 95% of the time, and marked none of 29 bad sentences as supported.
BookMind ↗Open a card for the full write-up: what I built, how I tested it, the results, and what went wrong.
Project 1
Ask a database in English, Arabic or Urdu without trusting the model that writes the SQL.
What I didBuilt end to end: the pipeline, the guardrails and the evaluations.
Project 2
RAG over a book where every answer sentence is checked against its evidence.
What I didBuilt end to end: retrieval, answers, the answer checker and the evaluations.
Project 3
584,524 order items from an Excel export that was 44% blank padding, accounted for row by row.
What I didBuilt end to end: ingestion, Spark jobs, warehouse, tests and CI.
Project 4
A vendor calls its confidence scores calibrated. I audited them against human annotators for $0.05, then shipped the fix as a one-file tool.
What I didRan the audit, then wrote the tool that fixes what it found.
Final-year project, 2024
A fine-tuned video transformer that names the stroke in a clip, served as an API, with its limits written down.
What I didFinal-year project: fine-tuned the model and built the API around it.
25 things broke across the five projects: 17 fixed, 4 accepted as a documented risk, 4 still open. Each one says how it showed up and what I did.
55 claims tested across the five projects. The failures are in there too, and each project page says what went wrong.
Every number links to the file it came from, pinned to a commit. A script re-checks all 119 of them before this site is published, so a wrong number stops the deploy.
Type a question about my projects. It searches this site and shows the passages it found and where they came from. Ask it something unrelated and it says it does not know. There is no chatbot behind it, so it cannot make things up.
Answers appear here, with the passage and where it came from. Off-topic questions should be refused.
Smaller projects from before the five above. No test results for these, just what they are and where the code is.
A CNN reaches 97% and a fine-tuned ResNet50 reaches 99.26% on the German Traffic Sign Benchmark: over 50,000 images across 40+ sign classes, trained on a Colab GPU.
An SVM classifier over sentiment features: SentiWordNet common-sense expansion, sentence-level sentiment shifts and reduced n-grams. Scored on accuracy, precision, recall and F1.
Logs matches and scores, tracks player statistics such as runs, wickets and averages, and aggregates them into team performance.
Inventory tracking, prescription storage with search, billing and customer records, written in C.
A WhatsApp-style messenger built with Flutter and Firebase: realtime messaging, authentication, media sharing and group chats.
A booking app for event tickets, hotels and movie showtimes, built with React on a MySQL backend.

I'm Adil, an AI engineer in Karachi with two years of industry experience at US and UAE AI companies (Turing, CNTXT AI), building RLHF preference data and training datasets for frontier LLMs and computer vision models.
I build production-style LLM applications in Python (RAG pipelines, SQL agents with guardrails) with evaluation harnesses and CI gates, and I fine-tune transformer models with PyTorch and Hugging Face.
It shapes how I work: decide what "working" means, try to break it, and publish the numbers, including the bad ones.
Turing
CNTXT AI