Skip to content
View yashpatil582's full-sized avatar

Block or report yashpatil582

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
yashpatil582/README.md

Yash Patil

AI/ML engineer building agentic copilots, production RAG — and the evals that keep them honest.

I work on LLM systems end to end — from rebuilding transformer architectures in raw PyTorch to shipping agents with deterministic safety rails. The through-line: I don't publish an AI claim I can't verify in code. Every project below ships its own evaluation harness.

Currently AI/ML Engineer at TipTop Technologies (LLM + RAG agents for healthcare workflows on LangGraph/EKS). M.S. Computer Science, Santa Clara University '25.

Spotlight

Project What it is Proof
llm-anatomy Qwen2.5, Llama-3.2, Gemma-2 & Mistral rebuilt from scratch in pure PyTorch — one readable file per model, no transformers in the model path Logit parity vs HF verified by a falsifiable harness with a negative control (bit-identical for Qwen & Llama); 10.5 GB fp32 models verify on an 8 GB laptop via mmap
clineval Claim-level hallucination, failure-mode & demographic-equity evaluation for LLM-generated medical notes Hand-validated LLM judge, bootstrap confidence intervals, live dashboard
llm-efficiency-bench Token-efficiency benchmark that pairs cost with reliability — a cheap-but-flaky model can't top it — plus TokenLint, a static linter for prompt-cache waste Sourced provider pricing with cache-write surcharge & break-even math; live leaderboard; 79 offline tests
open-scribe FHIR-native medical scribe baseline: encounter audio → SOAP note → ICD-10/CPT → FHIR R4B Bundle Token-F1 evals on PriMock57 with per-example scores committed
voice-triage Voice-first clinical intake agent (Whisper + Llama 3.3) with red-flag triage Deterministic regex failsafe that escalates even if the LLM call fails; persona-based eval suite; live demo
autolabel Self-improving weak supervision: an LLM writes labeling functions, an AST sandbox validates them, a ratchet keeps only what improves held-out F1 Snorkel-style label model over auto-generated LFs, built to run on free-tier 8B models

More: circuit-extract (circuit diagrams → component graphs), court-notice-gateway (court-notice ingestion with a deterministic phishing gate before any LLM call), matterpilot (legal AI matter platform), agent-skills (eval methods packaged as reusable Claude Agent Skills), healthcare-fde (dbt + DuckDB data-quality pipeline).

How I build

  • Evals as an engineering discipline. Parity harnesses with negative controls, hand-audited judges, committed per-example scores — if it can't be falsified, it doesn't ship.
  • Internals, not just APIs. From-scratch reimplementations with KV-cache streaming and low-memory tricks prove depth below the API layer.
  • Agents with deterministic safety rails. Every agent has a non-LLM failsafe: regex escalation gates, AST sandboxes for model-written code, phishing checks before extraction.
  • One coherent healthcare vertical. Scribe → note evaluation → patient intake → the messy-data layer underneath.

Stack

PyTorch Python TypeScript Next.js FastAPI LangGraph / LangChain pgvector / FAISS MCP dbt DuckDB PostgreSQL Redis Docker Kubernetes / EKS AWS Bedrock GCP Airflow Groq Whisper

Most used languages: Python 55%, TypeScript 34%, HTML, CSS, Cypher, Shell

Open to conversations about LLM evaluation, agent infrastructure, and healthcare AI.

Pinned Loading

  1. autolabel autolabel Public

    Self-improving weak supervision: an LLM writes Python labeling functions, an AST sandbox validates them, a greedy F1 ratchet keeps only winners

    Python 1

  2. clineval clineval Public

    Claim-level hallucination, failure-mode, and demographic-equity eval for LLM medical notes — validated judge, bootstrap CIs, live dashboard

    Python

  3. llm-anatomy llm-anatomy Public

    Qwen, Llama-3, Gemma-2 & Mistral rebuilt in pure PyTorch, one file each — logit parity vs HF transformers proven by a falsifiable harness

    Python

  4. llm-efficiency-bench llm-efficiency-bench Public

    Benchmark LLM token efficiency paired with reliability, plus a static linter that flags prompt-cache waste with sourced $ estimates

    Python

  5. open-scribe open-scribe Public

    Open medical scribe baseline: encounter audio -> SOAP note -> ICD-10/CPT -> FHIR R4B Bundle, with F1 evals on PriMock57 and ACI-Bench

    Python

  6. voice-triage voice-triage Public

    Voice-first clinical intake agent: Whisper STT + Llama 3.3 triage loop with a deterministic red-flag failsafe, persona evals, live on Vercel

    TypeScript