HKContact
research · systems · language models

Harsh Kaushik

AI Systems · LLM Training · Efficient Inference

I build language models from scratch, reproduce modern LLM research, optimize inference systems, and explore efficient AI architectures.

§ 01 — Featured Projects

Selected Systems & Models

01Ongoing

Turbo-LLM

Fast Memory-Efficient Inference Engine for Large MoE Models

Turbo-LLM is an experimental inference engine designed to run very large Mixture-of-Experts language models under strict VRAM constraints using dynamic expert execution and adaptive memory management.

35B MoE
Model Scale Supported
~6 GB
Peak VRAM Consumption
2.3 tok/s
RTX 3050 Laptop Speed
~21.0×
Throughput Gain vs Baseline
PythonPyTorchCUDAC++
Read Case Study
02Completed

TinyStories-17M

Training a 17.2M Parameter Language Model From Scratch

TinyStories-17M is a decoder-only Transformer trained entirely from scratch on 2.1 million TinyStories-style synthetic stories to explore how capable modern Small Language Models can become through high-quality data and efficient architecture.

17.2M
Trained Parameters
2.1M
Synthetic Stories
8 Layers
Transformer Depth
512
Context Window Length
PyTorchSentencePieceParquetHugging Face
Read Case Study
03Completed

Spam Detection Model

From Classical Machine Learning to Knowledge Distillation

An end-to-end email classification system that explores multiple machine learning paradigms, progressing from TF-IDF baselines to deep neural networks and finally a lightweight distilled model for efficient deployment.

98.38%
Teacher Accuracy
98.12%
Distilled Model
80M
Teacher Parameters
2M
Student Parameters
PythonPyTorchScikit-learnNumPy
Read Case Study
04Research

Indian Legal LLM

Domain Adaptation of Open Language Models for Indian Legal Reasoning

A series of domain-specific fine-tuning experiments exploring how high-quality legal instruction datasets improve small language models for Indian legal question answering, structured reasoning, and long-form explanation.

2 Models
Versions Trained
171K+
Legal Instructions
1.7B
Max Parameters
GGUF
Deployment Format
PyTorchTransformersGGUFHugging Face
Read Case Study
§ 03 — Technical Expertise

Capabilities & Toolkit

Structured directory of core technical capabilities. Highlighted areas indicate primary engineering focus in training pipelines and low-latency inference systems.

AI Systems

Primary
Efficient LLM InferenceTransformer ArchitecturesSmall Language Models (SLMs)Model CompressionMixture of Experts (MoE)
5 domains mapped

Model Training

Primary
Pre-trainingContinued Pre-training (CPT)Supervised Fine-tuning (SFT)LoRAQLoRAPEFTTokenizer TrainingMixed Precision
8 domains mapped

Deep Learning & Machine Learning

PyTorchTransformersNumPyPandasScikit-learn
5 domains mapped

LLM Ecosystem

Hugging FacevLLMllama.cppOllamaLM StudioSentencePieceTokenizers
7 domains mapped

Data Engineering

ParquetDataset PreprocessingData CleaningMultiprocessing
4 domains mapped

Programming

PythonC++C
3 domains mapped

Development

LinuxGitVS CodeJupyterKaggleGoogle Colab
6 domains mapped
§ 04 — Currently researching

Open questions

Problems I return to weekly — an evolving intersection of systems and post-training.

Full research page

Efficient MoE inference

SSD → RAM → VRAM expert offloading with double-buffered scheduling and warm-cache routing bias.

Training small LMs

Data-density scaling for models under 100M parameters — how far can curated synthetic data go.

Grounded SFT

Provision-summary formats that stop compact SFT models from hallucinating source-adjacent facts.

§ 05 — Recent open source

Published artifacts

All artifacts ↗
§ 06 — Contact

Open to research collaborations, residencies, and internships in LLM systems and foundation models.