Ashfak Nawshad
Open to AI/ML internships & roles — 2026

AshfakNawshadAI/ML

AI / ML Enthusiast
BSc (Hons) Artificial Intelligence
University of Moratuwa
Available 2026

AI undergraduate at Moratuwa, learning by building. I work on document understanding, retrieval and reasoning systems — and I'm stubborn about making a model's answer traceable back to its source.

Scroll
01Profile

I'm drawn to the unglamorous half of applied AI: making a model's output provable.

Currently
BSc (Hons) Artificial Intelligence
University of Moratuwa · Second year
Based in
Colombo, Sri Lanka

I'm an Artificial Intelligence undergraduate at the University of Moratuwa, focused on document AI, retrieval-augmented systems and neuro-symbolic reasoning. Most of my work starts from the same question — how do you stop a language model from inventing a number?

My flagship project, SME-GPT, answers it with a four-stage pipeline: OCR post-correction that is forbidden from altering digits, layout-aware serialization that carries provenance through every transform, and a planner-executor split where the LLM writes the plan and a deterministic runtime does the arithmetic.

Alongside all of that, I've tutored mathematics to 105+ students across the Sri Lankan and Edexcel syllabi. Explaining calculus to a room is the fastest way to find out whether you actually understand it.

0
Shipped projects
0+
Students tutored
0
Search algorithms visualized
0
Live deployments
02Selected work
FlagshipDocument AI · Neuro-symbolic QA

SME-GPT

2025 —
Ongoing
Backend + AI/ML · Team of 3
01 / 04Semantic OCR post-correction

Explainable financial-document understanding for Sinhala and English. SMEs upload invoices, POs, receipts and delivery notes; the system extracts structured data and answers natural-language questions with grounded, provenance-backed, arithmetic-safe results.

The problem

Language models are fluent liars about numbers. For a small business reconciling invoices, a hallucinated total is worse than no answer at all — and Sri Lankan documents add bilingual Sinhala/English OCR noise on top. The system had to be auditable end to end: every figure traceable to a pixel region in a source document.

The approach
  1. 01

    Semantic OCR post-correction

    A correction pass repairs recognition errors in text while being structurally forbidden from altering digits, so cleanup can never silently rewrite a financial value.

  2. 02

    Layout-aware serialization

    Spatial document structure is serialized into a linear representation that carries provenance through every transform — each token keeps a pointer back to its region on the page.

  3. 03

    Neuro-symbolic PAL question answering

    The LLM plans; it never computes. It emits a program, and a deterministic executor runs the arithmetic — which removes the entire class of math hallucinations rather than mitigating it.

  4. 04

    Multi-tenant relationship index

    Documents are linked across a tenant's corpus so questions can span an invoice, its purchase order and its delivery note in a single grounded answer.

Second-year industry-based research project, in active development with a three-person team. Every answer the system returns cites the document region it came from.

Stack
Python 3.12FastAPINext.js 16React 19TypeScriptTailwind 4Supabase PostgrespgvectorPrisma 7OllamaSurya OCRmultilingual-e5-smallJWT + bcryptDocker
Index
03Capabilities

The tools are replaceable. The mathematics underneath is not.

Applied mathematics is the job. Pure mathematics is the reason the job is interesting — calculus, linear algebra and statistics are the working vocabulary behind every model I build.

CalculusLinear AlgebraStatistics & ProbabilityDiscrete Mathematics
04Teaching

Mathematics, taught the way I wish it had been explained to me.

Alongside the AI work I tutor mathematics across the Sri Lankan local syllabus and Edexcel AS & A Level. It keeps the fundamentals sharp — you cannot hand-wave a derivation in front of a student who is about to sit the exam.

0+
Students tutored
0%
Average grade improvement
0%
Pass rate
Sri Lankan Local Syllabus
  • Grade 9–11 Mathematics
  • G.C.E. O/L Mathematics
  • G.C.E. O/L ICT
  • G.C.E. A/L ICT
Edexcel O Level
  • Mathematics
  • Computer Science
Edexcel AS & A Level
  • Pure Mathematics 1–4
  • Further Pure FP1 · FP2 · FP3
  • Statistics S1 · S2
  • Mechanics M1 · M2
“Sir is a dedicated and supportive Mathematics teacher who goes the extra mile for his students. When I was struggling academically, he personally guided me and taught me simple, effective methods to improve. Within three weeks, I gained confidence and was able to progress towards achieving a good pass.”
Sahana Trisha
Local O/L Mathematics