Skip to content
Nischal

Work

Projects

Open-source machine learning infrastructure, built from first principles and shipped to PyPI. Each project page reads like documentation: problem, architecture, design decisions, measured benchmarks, and roadmap.

01Grounded RAG

Stable · v1.0

Meridian

A from-scratch grounded RAG engine over biomedical literature (PubMed). Custom BPE tokenizer, dense retriever, HNSW/IVF ANN, cross-encoder reranker, and NLI faithfulness verifier — no third-party pre-trained models. Every answer is cited, verified, or refused.

Python 3.12+PyTorchRAGRetrievalNLI

System pipeline

  1. BM25
  2. Dense retrieval
  3. HNSW / IVF
  4. Cross-encoder
  5. Cited generation
  6. NLI verify
  7. Abstain

Measured results

R@5 after reranker rank fusion
0.983
HNSW recall@10 at 0.26 ms
0.996
NLI verifier, SNLI dev
78.3%
pip install meridian-rag

02Encoder NLP

Stable · v1.1

Polaris

A production-inspired NLP engineering platform for understanding text. The complete encoder-side stack — data, tokenization, collation, models, training, evaluation, deployment — from scratch on PyTorch tensors.

IMDB ceiling, four-lever study
~86%
epoch-1 val with MLM (vs 0.74)
0.81
versioned PyPI releases
17
Python 3.12+PyTorchEncodersMLMFastAPI

03Decoder LLMs

Stable · v1.0

Zenith

A from-scratch generative NLP library — decoder-only language models and text generation. Llama-style internals (RoPE, RMSNorm, SwiGLU), KV-cached generation, speculative decoding, LoRA, instruction tuning. Matches the nanoGPT baseline.

bits/char, nanoGPT parity
2.08
fewer target passes, spec. decoding
3.7×
smaller weights with int8
4×
Python 3.10+PyTorchDecodersGenerationHydra

04ML tooling

Stable · v2.0

Michi

道 — a local-first ML workbench. Independent CLI tools that profile datasets, evaluate models, and benchmark them with real statistical rigor. Automates the implementation, never the judgement.

independent CLI verbs
18
leakage overstatement caught
26 pts
network calls, fully local
0
Python 3.11+scikit-learnCLIStatistics

Also built

More projects

Smaller ML and applied-AI work — experiments, prototypes, and deployments that shaped the flagship projects.