Nauman Mustafa, Developer in Islamabad, Pakistan
Nauman is available for hire
Hire Nauman

Nauman Mustafa

Verified Expert  in Engineering

Deep Learning Developer

Islamabad, Pakistan
Toptal Member Since
October 10, 2019

Nauman has developed and deployed state-of-the-art deep learning models in production. He's worked with models in the domain of image classification, object detection, image generation, style transfer, text classification, and text generation. Nauman loves to apply modern deep learning out-of-the-box to solve various industry problems. He has mostly worked in startup-sized teams, and he prefers working on products involving GANs.


VisionX — Moonshot Labs
Docker, Google Cloud Platform (GCP), Keras, TensorFlow, PyTorch, Python
Amazon Web Services (AWS), C#, OpenCV, Python
TensorFlow, Python, C++




Preferred Environment

PyCharm, Anaconda, Windows

The most amazing...

...project was using GPT-2 to convert unstructured OCR text to a structured parsable format.

Work Experience

Deep Learning Engineer

2019 - PRESENT
VisionX — Moonshot Labs
  • Implemented an algorithm to construct lines from bounding boxes for OCR output.
  • Developed text classification for large class counts of more than 1,000.
  • Experimented and applied GPT-2 to unstructured OCR text to convert it to a parsable format.
  • Built Flask APIs to wrap information extraction using Firestore, Cloud Storage, Cloud Tasks, and other GCP native services.
  • Constructed and deployed API's docker images and deployed it to Google Cloud Run.
Technologies: Docker, Google Cloud Platform (GCP), Keras, TensorFlow, PyTorch, Python

Machine Learning Engineer

2018 - 2019
  • Maintained a product's core algorithm and fixed bugs.
  • Improved the performance and accuracy of a core functionality by implementing optimized text matching using the Aho Corasick algorithm.
  • Integrated Google Cloud's NER engine for raw information extraction from package labels.
  • Built a customized black-box testing framework for automated testing before deployment in production.
  • Constructed from the ground up a truth-labeling tool using Python and OpenCV to help implement future machine learning projects.
  • Developed a tool for analysis of production environment which helps the customer support team analyze the situation in production and respond accordingly.
  • Experimented with a machine learning-based string matching algorithm to take production system performance to the next level.
Technologies: Amazon Web Services (AWS), C#, OpenCV, Python

Associate Machine Learning Engineer

2018 - 2018
  • Extracted and isolated a staff-line detection algorithm in music sheets from the client's existing codebase (C++).
  • Wrapped multiple legacy software using command-line in a single consistent codebase of modern C++ (11).
  • Used an existing EAST text detector implementation to extract lyrics from music sheets.
  • Developed an algorithm to associate notes extracted from legacy code and lyrics from EAST implementation.
  • Experimented with EAST training and C++ implementation to optimize code to run on older hardware.
Technologies: TensorFlow, Python, C++

Deploy GPT-2 Model Serverless
This project provides a simple web interface to experiment with GPT-2 small model and it is deployed completely serverless on Google Cloud Run.

Generating New Icons using GANs
I implemented a vanilla generative adversarial network (GAN) from scratch using PyTorch and applied it to an icon dataset that was scraped from around the internet.


JavaScript, Python, C#, C++


Keras, PyTorch, OpenCV, TensorFlow






Agile, Parallel Programming


Anaconda, Docker, Amazon Web Services (AWS), Windows, Linux, Google Cloud Platform (GCP), Visual Studio Code (VS Code)


NoSQL, Cloud Firestore


Deep Learning

2014 - 2018

Bachelor's Degree in Computer Engineering (Electrical Engineering)

National University of Sciences and Technology - Islamabad, Pakistan