🚨 Implement KV Cache from scratch in pure PyTorch. 🚨 We have documented all of our learning while implementing KV Cache to nanoVLM. Joint work with @kashif@lusxvr@andito@pcuenq Blog: hf.co/blog/kv-cache
Tried my hand at simplifying the derivations of Direct Preference Optimization. I cover how one can reformulate RLHF into DPO. The idea of implicit reward modeling is chef's kiss. Blog: https://huggingface.co/blog/ariG23498/rlhf-to-dpo