Skip to content

01AI / ML Engineer · Data Engineering

Chill in codingfeel in styling.

Open to AI / ML & Data roles · HCMC

Trần Nam Anh

Line · AI / Machine Learning Engineer

Researcher by training, engineer by habit. I turn ideas from papers into ML and LLM systems that hold up in production.

02 · About

Where research meets production.

I'm Line (Trần Nam Anh), an AI / ML engineer based in Ho Chi Minh City. I work across the whole life of a model: cleaning and validating the data, building and benchmarking the model, then shipping it inside a system people actually use.

Right now I'm a Data Engineer at Twohearts Technologies, building validation and evaluation workflows for AI ordering agents. I'm also first author on a clinical ML study with the Hospital for Tropical Diseases HCMC, and an Advisor to GDGoC HCMIU.

Currently exploring

  • Multi-agent systems
  • Knowledge distillation
  • Vietnamese NLP
  • Clinical ML
  • Causal inference
  • MLOps
Trần Nam Anh (Line) in a Hackathon Vietnam · GDG on Campus t-shirt, making a hand sign outdoors at sunset
Line · Ho Chi Minh City

What I bring

  • ML modeling & evaluation

    Gradient boosting and set-based neural nets, checked with nested, patient-grouped cross-validation.

    Clinical ML · first author

  • Data engineering

    Reproducible pipelines that extract, harmonize and validate clinical lab data under strict privacy rules.

    Leakage-audited pipeline

  • LLM & agent systems

    Multi-provider routing, tool-use validation and eval harnesses for ordering agents in production.

    Live at Twohearts

  • Applied NLP research

    Co-first author of GoiBERT: compact Vietnamese encoders that beat PhoBERT-v2 at a quarter of the size.

    GoiBERT · arXiv

03 · Experience

Where I've worked.

Twohearts Technologies (opens in new tab)

Twohearts lets restaurants, cafes, homestays, tours and small brands in Vietnam sell inside ChatGPT for 5–10% per order, instead of the quarter to a third that delivery platforms take. The platform spans five products: ChatOS, VoiceOS, ScanOS, OwnerOS and Customer Intelligence.

Highlight

By the numbers

541 backend commits · 249 of 258 harness commits · 6 production prompts approved · 250-case release benchmark.

  1. Data Engineer

    Full-time · Jul 2026 – Present · 5 mos

    Ho Chi Minh City

    • Built the AI evaluation system for a multi-tenant Vietnamese chat-ordering agent: scenario runtime, sandbox orchestration, a deterministic grader and a certified no-PII benchmark grown from 204 to 250 cases, wired in as the CI release gate.
    • Owned the optimization campaign for six production prompts; the prompt set was approved for production in August 2026.
    • Raised multi-turn ordering Outcome + Safety from 17% to 78.75%, and shipped an order-consent guard that cut critical failures from 7 to 0 on the real-backend benchmark.
    • Built a governed Customer Intelligence platform (identity graph, resolution, compliance, omnichannel capture, profile memory) across eight gated phases with tenant-scoped row-level security.
    • Created and own the black-box end-to-end testing harness: compose stack, mock providers, five test tiers, mutation testing and SHA-pinned CI gates.
    • Co-first author of GoiBERT, the in-house family of compact Vietnamese encoders: two-teacher distillation on 328.6M tokens with a single NVIDIA L40S GPU, published on Hugging Face and exported to ONNX with exact fp32 parity.
    • Compared classifier setups with paired statistical tests (task success 71.3% vs 75.2%, p = 0.011).

    Highlight

    GoiBERT · compact Vietnamese encoders

    Two-stage knowledge distillation into 26.4M- and 49.4M-parameter encoders. GoiBERT-large averages 81.13 across eight Vietnamese benchmarks, above PhoBERT-v2 (80.71) at about half the parameters, and GoiBERT-base keeps 99% of the score at a quarter of the size. Preprint on arXiv, models public on Hugging Face.

    Read the project story

    Award

    KFC F&B Track Winner · Agentic AI Build Week

    KFC Vietnam asked whether a customer could order just by talking, in Vietnamese. In one week the Twohearts team built a live voice agent that takes and confirms the order, streams every turn to a real-time dashboard, and keeps guardrails on what it may promise. Organised by GenAI Fund.

    The Twohearts team, KFC F&B Track winners
    Galaxy Innovation Hub, HCMC
    • TypeScript
    • Node.js
    • PostgreSQL
    • Python
    • PyTorch
    • Promptfoo
    • Docker
    • GitHub Actions
    • LLM evaluation
  2. Joined the team

    Jun 2026 – Jul 2026 · 2 mos

    Ho Chi Minh City

    • Moved the point-of-sale integration from iPOS to CukCuk: compatible auth, multi-tenant menu sync, idempotent import planning and a readback verifier.
    • Built the first Customer Intelligence phases: identity graph, identity resolution and governed customer facts.
    • Shipped storefront fixes: data-driven menu merchandising, checkout delivery-time and pickup-pricing corrections, menu contract guards.

04 · Stack

Tools I ship with.

Agentic coding

The harness I build with every day

  • Claude Code
  • Codex CLI
  • MCP
  • context7
  • codegraph
  • Playwright
  • Promptfoo
  • Langfuse
  • Supervisor–worker
  • Task packets
  • Review gates

LLMs in production

Multi-provider, evaluated, observed

  • OpenAI
  • Anthropic
  • Google Gemini
  • Groq
  • Cerebras
  • OpenRouter
  • Evals
  • Tool-use validation
  • Multi-agent

Languages

What I write every day

  • Python
  • TypeScript
  • SQL
  • JavaScript
  • PowerShell
  • R
  • Java

ML & modeling

Training, distilling, benchmarking

  • PyTorch
  • Hugging Face
  • scikit-learn
  • XGBoost
  • LightGBM
  • OpenCV
  • PyMC

Data engineering

Pipelines and storage

  • pandas
  • Polars
  • NumPy
  • PostgreSQL
  • Redis
  • MongoDB
  • MySQL
  • Vector databases
  • Async pipelines

Ship & run

From commit to production

  • Docker
  • GitHub Actions
  • GitHub
  • Vercel
  • Next.js
  • Neon
  • Supabase
  • pnpm
  • CI/CD
  • Automated testing

Methods

  • Knowledge distillation
  • Bayesian modeling
  • Time-series forecasting
  • Recommender systems
  • Reinforcement learning

05 · Work

Selected projects.

Real things I've shipped, from clinical ML research to production LLM systems.

GoiBERT-M, 01 / 08

06 · Framework

The DABM framework.

Data first. Systems that behave. Models you can trust.

My own way of thinking through an AI system, from the raw data to the model that has to hold up in the real world.

  1. Data

    01

    Question the data before trusting it: where it comes from, how it was processed, and whether it is enough for what we want to learn.

  2. Agent

    02

    Model the actors as autonomous agents with their own logic, so the system can be simulated and decisions can be supported.

  3. Behavior

    03

    Study how the parts interact: how flows propagate and how the system actually behaves under load.

  4. Modeling

    04

    Turn the whole system into something we can simulate, optimize and verify against the original intent.

See it applied inside each project

07 · Record

Experience and milestones.

  • Education
  • Role
  • Award
  • Event
  • Project
  • Active now
  • Awards & wins

08 · Contact

Let's build something.

Hiring for an AI / ML or data role, or have a research idea worth testing? My inbox is open.