Training LLMs using Off-Policy vs On-Policy Distillation
Most practitioners distill by training on teacher outputs — that’s off-policy distillation, and it has a fundamental flaw. On-policy distillation fixes it at...
Most practitioners distill by training on teacher outputs — that’s off-policy distillation, and it has a fundamental flaw. On-policy distillation fixes it at...
Disaggregated prefill/decode isn’t an academic concept it’s the fix that saved my LLM serving at scale for 40M users. Here’s exactly how it works and why mon...
Auto regressive generation is sequential and diffusion uses much fewer passes in text generation.
Cross-entropy loss isn’t a heuristic, it is maximum likelihood estimation with a sign flip. It also shows how the same math powers GPT training.
Understanding the basics of RLHF vs RLAIF vs RLVR for AI feedback comparison
Master the complete pipeline for fine-tuning Large Language Models using Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) with Axolotl f...
Understanding RoPE Scaling and how it enables LLMs to handle longer contexts
Basics of gradient accumulation and gradient checkpointing to train LLMs
Understanding basics of flops and how they influence gpu computation
Lessons learned from deploying large language models in productions using vLLM
Tutorial to work on large datasets in memory Polars DataFrames in Python
Understanding asyncio using simple examples in python 3.7
Learning to use FTS5 with sqlite for full text search applications
Use pex python library to package a python project for deployment.
this line will show up as preview on the posts page
Create tfidf matrix in R just like using scikit-learn
Use pex python library to package a python project for deployment.
this line will show up as preview on the posts page
I fine tuned Phi-3 as a pairwise reranker with LoRA and logged every gradient. Early layers changed 200x more than late layers, but ranking representations o...
Auto regressive generation is sequential and diffusion uses much fewer passes in text generation.
Cross-entropy loss isn’t a heuristic, it is maximum likelihood estimation with a sign flip. It also shows how the same math powers GPT training.
Use pex python library to package a python project for deployment.
this line will show up as preview on the posts page
Master the complete pipeline for fine-tuning Large Language Models using Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) with Axolotl f...
Basics of gradient accumulation and gradient checkpointing to train LLMs
I fine tuned Phi-3 as a pairwise reranker with LoRA and logged every gradient. Early layers changed 200x more than late layers, but ranking representations o...
Learning to rank with lambdarank multi objective pairwise ranking models using lightgbm
Create tfidf matrix in R just like using scikit-learn
Create tfidf matrix in R just like using scikit-learn
Learning to use FTS5 with sqlite for full text search applications
Learning to use FTS5 with sqlite for full text search applications
Understanding asyncio using simple examples in python 3.7
Understanding asyncio using simple examples in python 3.7
Lessons learned from deploying large language models in productions using vLLM
Understanding basics of flops and how they influence gpu computation
Basics of gradient accumulation and gradient checkpointing to train LLMs
Understanding RoPE Scaling and how it enables LLMs to handle longer contexts
Understanding RoPE Scaling and how it enables LLMs to handle longer contexts
Learning to rank with lambdarank multi objective pairwise ranking models using lightgbm
Master the complete pipeline for fine-tuning Large Language Models using Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) with Axolotl f...
Disaggregated prefill/decode isn’t an academic concept it’s the fix that saved my LLM serving at scale for 40M users. Here’s exactly how it works and why mon...
Disaggregated prefill/decode isn’t an academic concept it’s the fix that saved my LLM serving at scale for 40M users. Here’s exactly how it works and why mon...
Most practitioners distill by training on teacher outputs — that’s off-policy distillation, and it has a fundamental flaw. On-policy distillation fixes it at...
Most practitioners distill by training on teacher outputs — that’s off-policy distillation, and it has a fundamental flaw. On-policy distillation fixes it at...