CazVid - Video Resumes That Work
CazVidThis is my profile
ENESPT
Contact via CazVid

Muhammad

AI Engineer

Contact

Islamabad, Islamabad, Pakistan
Available on CazVid
Contact via CazVid

Competencies

RAG architecture

Demonstrated experience with RAG architecture.

hybrid retrieval and reranking

Demonstrated experience with hybrid retrieval and reranking.

vector search (pgvector / HNSW)

Demonstrated experience with vector search (pgvector / HNSW).

multilingual embeddings (Qwen3-Embedding, multilingual-e5)

Demonstrated experience with multilingual embeddings (Qwen3-Embedding, multilingual-e5).

document intelligence

Demonstrated experience with document intelligence.

Education

Master of Science (MS), Computer Engineering
COMSATS University
2021 - 2023
Bachelor of Science (BS), Computer Science
Pakistan Institute of Engineering and Applied Sciences (PIEAS)
2016 - 2020

Languages

Dutch
German
English
French

Summary

AI Engineer open to new opportunities

Experience

AI Engineer

Melior ITS
Oct 2026 - Present

Built the document-understanding and retrieval infrastructure for a field-service AI assistant answering equipment-specific questions from technical manuals. Replaced a GraphRAG / Azure AI-based ingestion path with local encoder models and deterministic extraction, eliminating LLM calls from ingestion while retaining page- and region-level evidence for downstream answers.. Architected a 21-stage validated DAG for document intake, layout analysis, OCR, tables, diagrams, entities, keywords, normalization, structured findings, chunking, embeddings, indexing and database write-back. Added fingerprint-based stage reuse, independent reruns, versioning and content-addressed artifacts to reduce unnecessary reprocessing.. Implemented granular provenance for extracted facts, fault codes, table cells and retrieval chunks, retaining page, line and bounding-box coordinates so the assistant could show precisely where its evidence originated.. Integrated PyMuPDF, PaddleOCR GPU, GLiNER2.5, KeyBERT / multilingual-e5 and DINOv3 behind configuration-driven adapters; supported Dutch, German, English and French manuals, including scans, drawings and files up to 860 pages.. Built deterministic extraction and validation for technical fault codes, avoiding LLM-based hallucination. In a 32-question evaluation, the correct source manual ranked first in 31 cases; used false matches to refine rejection of catalog numbers and procedural step IDs.. Deployed an API and five worker services on an NVIDIA H100 host with PostgreSQL / pgvector indexing and content-addressed document storage. Processed 15,152 documents for six companies; the first 8,435 documents / 297,000 pages completed in 16 hours (about 5.1 pages/s).. Designed safe write-back to a client’s live database using a per-document locked transaction, file-version checks, non-destructive updates and protection against status regression. During the first run, periodic reconciliation reported zero database mismatches.. Developed indexed hybrid retrieval combining pgvector / HNSW, language-specific full-text search, trigram fuzzy matching and exact fault-code lookup, with reciprocal-rank fusion and tenant / model prefilters.. Investigated a device-document mismatch affecting 34% of 15,152 manuals; built location-aware, rules-based identification using headings, covers, brand groups and product catalogs.. Backfilled all 15,152 documents without rebuilding unchanged search rows. More than 9,000 unchanged reruns made no client-database writes; the backfill ran at roughly 50 documents/minute without blocking new uploads.. Eliminated early GPU out-of-memory failures by releasing cached allocations between stages after 27 failures in approximately 230 initial documents; resolved nondeterministic PDF behavior caused by a process-wide setting and a startup / publish database deadlock.. Built a role-protected operations console with FastAPI, argon2id, CSRF protection and audit trails, allowing operators to pause, restart, retry and configure ingestion without server access.. Added per-stage queue, wall-clock and CPU timing, memory peaks and throughput diagnostics; implemented or maintained 578 automated tests across the ingestion system.

AI Engineer

Veroke
Aug 2024 - Present

Core engineer for MiiQ, a multi-tenant enterprise knowledge platform. Delivered production components across document processing, GPU execution, inference routing, orchestration, observability, resilience and policy enforcement. Focused on failure-safe architecture and verifying that critical features execute in actual live workflows.. Designed a durable, PostgreSQL-backed GPU execution broker to offload document AI stages to serverless inference endpoints while preserving a bounded CPU fallback. Implemented idempotency keys, lease expiry, deadlines, reaping and safe claims with FOR UPDATE SKIP LOCKED.. Built a four-endpoint GPU routing fleet with stage allowlists, health probes, admission controls and GPU workers for named-entity recognition, layout detection, OCR, vision-language fallback, Docling and MinerU. Verified that GPU-generated results were applied without double execution.. Diagnosed a fleet-wide incompatibility after migration to NVIDIA Blackwell: CUDA 12.4 containers lacked the required sm_120 kernels. Restored Hopper-compatible deployments and introduced device, compute-capability and per-framework VRAM telemetry to detect accidental CPU execution.. Audited 728 real GPU jobs and proved the NER batching path never combined documents because one slice consumed 90% of a shared ceiling. Introduced stage-specific budgets; the next run combined six slices from three documents.. Established that utilization, not VRAM, constrained throughput: memory remained near 2.5 GB while observed utilization improved from 16% to 90%. Enlarged embedding and topic batches to 384 items, achieving 1.6× / 3.3× per-item efficiency gains and reducing submissions for a 522-chunk document from five to two per stage.. Added progressive batch splitting (half, quarter, eighth) and retries for missing item outputs; refactored layout inference to process multiple pages per forward pass. Used control-stage comparisons to avoid attributing a performance change to batch size when GPU class was the actual confounder.. Re-architected a four-stage monolithic ingestion flow into nine independently queued and resumable stages; defined six queue contracts, migrated worker groups without breaking existing processing profiles and added per-chunk / per-page checkpointing.. Implemented a transactional outbox so database state changes and subsequent work dispatch remain consistent even when a worker fails. Distinguished capacity deferrals from genuine failures, preventing exhausted retries when only worker availability was limited.. Built a Redis admission gate with leased tokens, expiration, bounded waits and capacity derived from real process topology. Extended inference-gateway lane control to protect interactive chat from document ingestion with queue-age limits and per-stage concurrency caps.. Developed a Locust load and resilience suite reporting both execution duration and queue delay. Exercised Postgres, RabbitMQ, Redis and live model services under contention; identified CPU LLM generation as the true throughput ceiling and informed deployment sizing.. Built an application observability stack from previously uncollected metrics: instrumented 131 metric families covering LLM calls, inference, retrieval, GPU capacity, chat turns, queues and workers; published 12 Grafana dashboards and 32 Prometheus alert rules.. Found a multiprocess metrics-registry defect that made dashboards report 10×–38× inconsistent counts. Separated cluster-level and process-level measurements and corrected scrape formats, exporting 49 metric families in Prometheus text format.. Detected a production defect in which completed chat responses were not persisted: tracing metric anomalies exposed a token-metering identifier mismatch inside a shared database transaction. Verified 8/8 healthy scrape targets, monotonic counters and working alert delivery in staging.. Implemented the runtime guardrail layer for a previously configuration-only control plane: versioned policies, scope merging, shadow versus enforcement modes, PII detection, prompt-injection classifiers, retrieval-level filters and append-only audit trails that avoid retaining redacted text.. Discovered retrieval-time controls were connected to an unused path and therefore never enforced in live conversations. Integrated tenant, entitlement and content-policy checks into the active retrieval pipeline; ensured the system declined to answer when all evidence was removed.. Led a technical audit identifying 77 guardrail findings, including PII persistence, unprotected retrieval and ineffective policy settings. Closed all critical and high-priority findings and most lower-severity issues through repeated live-stack verification, with 46 fixes documented in the source workstream.. Enforced tenant ownership directly from database records rather than potentially incomplete ingestion metadata. Hardened text detection through Unicode normalization, eliminating eight measured bypasses and seven false positives; reduced an adversarial email-regex case from 840 ms to 0.3 ms.. Evaluated three Arabic PII NER checkpoints on measured examples and selected the Arabic-specialized model after generic multilingual options failed to detect the intended person entity. Kept policy rollout independently configurable per rule.. Root-caused an inference-gateway crash loop to a published routing configuration and a Redis-cached shared snapshot, showing why rolling back configuration alone could not restore service.. Identified nine design-to-execution gaps in which components passed local tests but could not run through the production request path. Added cross-service contract checks, static analysis, mutation-based tests and live red-verification to prevent recurrence.

Skills

RAG architecturehybrid retrieval and rerankingvector search (pgvector / HNSW)multilingual embeddings (Qwen3-Embedding, multilingual-e5)document intelligence
Published on CazVid - Nov 9, 2026
See more candidates in IslamabadEn español
  1. Home
  2. /Hire in Pakistan
  3. /Islamabad
  4. /Muhammad
Contact Muhammad