Pfizer logoPfizer Externship via Extern
Tanvir Ahmed portrait

Early-career ML builder focused on document intelligence

I prototype OCR, LLMs, and RAG workflows to turn PDFs into structured data, demonstrated in a Pfizer externship project.

Work samples

Portfolio work centers on OCR, LLMs, and RAG for document intelligence. The showcased project is a Pfizer Advanced externship prototype for automating PDF extraction and insights.

  • Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship
    Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship
    Pfizer logo

    Pfizer · ✅ Verified by Extern · ⏱️ In progress

    Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship

    Prototype AI-powered document intelligence with Pfizer—using OCR, LLMs, and RAG to automate real enterprise PDF workflows and build a standout portfolio project.

    AI & MLPythonDocument IntelligencePresentation Skills
  • AI/ML Extern – Document Intelligence, Pfizer
    AI/ML Extern – Document Intelligence, Pfizer

    Externship - Extern in partnership with Pfizer | Python, RAG, LlamaIndex, OCR, Mistral-7B, Phi-2 Architected end-to-end Python ingestion pipelines using PaddleOCR and Tesseract to extract semi-structured data from pharmaceutical vendor documents into validated JSON schemas, while engineering a LlamaIndex RAG pipeline (Mistral-7B, Phi-2) with dynamic chunking and semantic reranking over embedded vector stores. Evaluated and benchmarked extraction accuracy between Mistral-7B and Phi-2, designing strict prompt templates and verification heuristics to eliminate model hallucinations across compliance audits.

    PythonRAGLlamaIndexPaddleOCRTesseractMistral-7BPhi-2

About me

I prototype OCR, LLMs, and RAG workflows to turn PDFs into structured data, demonstrated in a Pfizer externship project.

I am an early-career technologist focused on building applied ML and document automation projects. I completed a Pfizer Advanced externship where I prototyped OCR, LLMs, and retrieval-augmented generation to automate enterprise PDF workflows. I am learning production patterns for data extraction and document intelligence.

Externships

Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship

In progress

Experience

Software Engineer (Part-Time)

Sattar Metal Industries · Sep 2023 – Sep 2025

Education

University of Calgary

Bachelor of Science, Computer Science · Class of 2026

Skills

OCR pipeline prototypingLarge language models (LLMs)Retrieval-augmented generation (RAG)Document data extractionPrototype development for enterprise PDFs

✅ Verified by Extern · ⏱️ In progress

Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship

Prototype AI-powered document intelligence with Pfizer—using OCR, LLMs, and RAG to automate real enterprise PDF workflows and build a standout portfolio project.

AI & MLPythonDocument IntelligencePresentation Skills

Overview

The work prototyped AI document intelligence for pharmaceutical PDFs. It explained LLM mechanics, including training on large corpora, the Transformer architecture and attention, next-token prediction, and human fine-tuning. It also produced a flattened DataFrame from nested JSON orders, a word-level extraction of a 3-page SDF with bounding boxes and layout metadata, and a comparison of three OCR

Pfizer Advanced: AI-Powered Document Insights & Data Extraction Externship

What I've accomplished

I produced a plain-language explanation of LLM mechanics; a flattened DataFrame listing customer_id, order_id, product, quantity, and total from nested JSON; a word-level extraction of a 3-page SDF with bounding boxes and layout metadata; and an OCR comparison that found Tesseract preserved single-line key-value groupings best for automated extraction.

Project breakdown

Situation: the module required explaining LLMs. Task: describe how they work. Action: I summarized training on large text corpora, the Transformer architecture and attention, next-token prediction, and human fine-tuning. Result: the submission clearly explained LLM mechanics in plain terms.

During the Work with JSON Data task I parsed a nested JSON file, extracted order and item fields, normalized the structure with pandas.json_normalize, and produced a flat DataFrame of customer_id, order_id, product, quantity, and total for review.

Google Drive
Access

During the PyMuPDF extraction task I processed a 3-page SDF, captured every word with bbox and layout metadata, reported where tables and multi-column layouts fragmented text, and proposed anchor-based and regex heuristics to extract date fields.

Google Docs
Access

I ran Tesseract, EasyOCR, and PaddleOCR on a supplier PDF, extracted key fields (product, lot, expiry), compared text grouping and symbol handling, and concluded Tesseract preserved single-line key-value groupings best for automated extraction.

Google Docs
Access
View all work

AI/ML Extern – Document Intelligence, Pfizer

Externship - Extern in partnership with Pfizer | Python, RAG, LlamaIndex, OCR, Mistral-7B, Phi-2 Architected end-to-end Python ingestion pipelines using PaddleOCR and Tesseract to extract semi-structured data from pharmaceutical vendor documents into validated JSON schemas, while engineering a LlamaIndex RAG pipeline (Mistral-7B, Phi-2) with dynamic chunking and semantic reranking over embedded vector stores. Evaluated and benchmarked extraction accuracy between Mistral-7B and Phi-2, designing strict prompt templates and verification heuristics to eliminate model hallucinations across compliance audits.

PythonRAGLlamaIndexPaddleOCRTesseractMistral-7BPhi-2
View all work

Varkly – VARK Learning Style Quiz

ZOOTech Cursor Hackathon (TechStart UCalgary & ECESS) | React 18, TypeScript, Vite, Tailwind CSS, Vercel Built a responsive, component-based TypeScript, React 18, HTML5, and Tailwind CSS web app featuring a 13-question interactive assessment form, client-side routing, and real-time multimodal result scoring. Engineered a stateless sharing architecture using Base64 URL state encoding (/r/:hash), achieving 100% zero-backend state persistence and instant cross-device result sharing. Shipped end-to-end under a strict 24-hour hackathon deadline by leveraging AI-assisted development (Cursor) for rapid component prototyping and input validation, deploying via Git CI/CD on Vercel.

React 18TypeScriptViteTailwind CSSVercel
View all work

FlareWatch – Alberta Emissions Intelligence Platform

Calgary Databricks Hackathon | Databricks, Apache Spark, Delta Lake, Python, SQL, Genie AI Spearheaded rapid prototyping and Lakehouse pipeline engineering using Apache Spark and Databricks Unity Catalog to process and aggregate 27M+ rows of Alberta Petrinex energy data across 8 relational datasets into optimized Delta tables. Integrated analytics into an interactive Databricks Dashboard and configured a Databricks Genie AI Space, enabling non-technical stakeholders to execute natural-language queries across multi-million row datasets.

DatabricksApache SparkDelta LakePythonSQLGenie AI
View all work

CineMagic – Indie Theatre Discovery & Ticket Booking Web App

Human Interactions 1 capstone | React, JavaScript, React Router, HTML/CSS, Figma Led UI/UX as the team's Figma lead, turning wireframes and high-fidelity prototypes into interactive React components for the booking flow. Owned the end-to-end booking flow across React Router pages: showtime and seat selection, multi-category tickets with live subtotals, and checkout with promo codes; managed state with React Hooks. Built the authentication and profile system: sign-up, login, password reset, and order history, with real-time form validation and a responsive, accessible design; deployed on Vercel.

ReactJavaScriptReact RouterHTMLCSSFigmaVercel
View all work