Open to AI Research Internships

Tathagat
Builds Language
From Scratch.

Pretrained a 57.5M parameter GPT-style transformer on consumer hardware. Published empirical findings on context window degradation. Currently exploring atomic fact indexing for RAG pipelines.

Read the Paper → GitHub ↗ Get in Touch
train.py
# Pretraining a 57.5M param GPT on a single RTX 3050
from torch import nn

model = GPT(
  vocab_size=50257,
  n_layers=12,
  n_heads=12,
  d_model=768,
  context_len=512
)

# 150M tokens · fp16 · gradient accumulation
trainer.fit(model, data, epochs=3)
01

Research Paper

● IJIRT Vol.12 Issue 10 · March 2026 · ISSN 2349-6002
Context Window Degradation in a Resource-Constrained Language Model: Empirical Evidence from MiniLLM

An empirical study of context window degradation in MiniLLM — a 57.5M parameter GPT-style transformer trained from scratch on ~150M tokens using a single NVIDIA RTX 3050 (6GB). Four fine-tuned checkpoints evaluated through identical protocols across positional recall probes and multi-turn perplexity measurements, producing five novel findings about small-scale LLM behaviour.

01
Lost-in-the-middle at 57.5M — middle-position facts degrade 50% at 350 tokens. Smallest scale ever demonstrated.
02
Positional recall is QA-specific, not architectural. Non-QA checkpoints score 0% across all 180 probes.
03
Two-phase collapse: perplexity spike then fluency attractor retreat. Repetition rate must also be tracked.
04
Effective context ≈ 100–150 tokens across all checkpoints despite 512-token nominal window.
NLP Context Window LLM from Scratch PyTorch Perplexity Evaluation RAG Design Transformers
Read full paper on IJIRT ↗
02

Selected Projects

Project — 01 · 2024–2025
MiniLLM

GPT-style language model pretrained from scratch on 150M tokens, deployed as a production web app with real-time streaming.

  • 57.5M parameter transformer, fp16 + gradient accumulation, single RTX 3050
  • 4 fine-tuned personalities: QA, farming, storytelling, poetry
  • FastAPI + PostgreSQL + JWT auth + SSE streaming
  • React frontend with live token streaming and Wikipedia context injection
PyTorch FastAPI React PostgreSQL
github.com/tathagat-git/MiniLLM ↗
Project — 02 · 2024
Multimodal RAG Pipeline

End-to-end retrieval-augmented generation system supporting PDF, DOCX, TXT, and image ingestion with fully local inference.

  • Recursive chunking, deduplication, all-MiniLM-L6-v2 embeddings
  • FAISS vector store with top-k similarity retrieval
  • Loader dispatcher, prompt builder, evaluation framework (Hit Rate, Recall@K, MRR, Latency)
  • Fully local — no external API required
LangChain FAISS HuggingFace sentence-transformers
github.com/tathagat-git/RAG-Pipeline ↗
Project — 03 · Aug 2025
Hand2Math

Deep learning app that converts handwritten mathematical expressions into LaTeX — real-time inference via FastAPI.

  • Custom CNN pipeline for handwritten math symbol classification
  • EasyOCR for image-to-text extraction
  • FastAPI REST endpoint for real-time inference
Deep Learning OCR FastAPI Python
github.com/tathagat-git ↗
Project — 04 · Jul 2025
Contact Extractor

Web app that auto-extracts structured contact info from PDFs, DOCX, and images using NLP + OCR.

  • spaCy NER for named entity extraction
  • EasyOCR for image-based text recognition
  • JSON output with timestamps via FastAPI
spaCy EasyOCR FastAPI NLP
github.com/tathagat-git/Contact-Extractor ↗
03

Technical Skills

Generative AI & LLMs
LLM Pretraining (from scratch) Fine-tuning & RLHF concepts RAG Pipeline Design Prompt Engineering Perplexity Evaluation
AI / ML
Deep Learning Transformers (GPT-style) NLP & Text Processing CNN / Computer Vision Model Training & Evaluation
Libraries
PyTorch HuggingFace Transformers LangChain · FAISS sentence-transformers spaCy · EasyOCR · scikit-learn
Backend & Infra
FastAPI · PostgreSQL JWT Auth · SSE Streaming Docker · AWS Cloud React · GitHub Python · SQL · JavaScript
04

Experience & Education

Feb 2026 – Mar 2026
Published Researcher
IJIRT — International Journal of Innovative Research in Technology
First-authored empirical paper on context window degradation in small-scale LLMs. Designed and ran full evaluation suite across 4 model checkpoints. Published in IJIRT Vol.12 Issue 10, ISSN 2349-6002.
May 2024 – Jun 2024
Data Analyst Intern
PUCHO Online · Patna, Bihar
Cleaned and structured 50,000+ records using Python and Excel. Built automated dashboards reducing manual reporting effort. Conducted EDA to improve data collection processes.
Sep 2024 – Aug 2026
MCA — Master of Computer Applications
Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow
Focus on AI/ML systems. Research group MCA25-26MNP1 at RD Engineering College, Ghaziabad.
Aug 2019 – Aug 2023
BCA — Bachelor of Computer Applications
Veer Kunwar Singh University (DK College) · 72.24%
Foundations in computer science, databases, and programming.
05

Get in Touch

Actively looking for research internships at AI labs. If you're working on language models, NLP systems, or AI infrastructure — let's talk.

What I Bring
01 Hands-on LLM experience — actually pretrained a GPT model, not just fine-tuned a wrapper
02 Published first author — empirical research with novel findings on context degradation
03 Full-stack AI deployment — FastAPI, React, PostgreSQL, SSE, auth — production-ready systems
04 Resource-constrained mindset — built research-quality experiments on a 6GB consumer GPU