Making AI Safer. Focus on LLM、RL、Infra
X-R1. minimal-cost for training 0.5B R1-Zero
815NSA-pytorch. DeepSeek Native Sparse Attention pytorch implementation
119grpo-loss. Jupyter Notebook
44easy-dualpipe. Pipeline-Parallel Lecture: Simplest Dualpipe Implementation.
31mHC-pytorch. pytorch implementation of Manifold-constrained Hyper Connection (mHC)
27DeepSeek-V4-mini. DeepSeek-V4 Lecture
23Engram-pytorch. pytorch implementation of DeepSeek Engram
19online-softmax. simplest online-softmax notebook for explain Flash Attention
18cut-cross-entropy-pytorch. pytorch notebook for implemention for cut-cross-entropy LLM training.
8easy-infer. LLM Inference Server Lecture: reproduce Continue Batching、vLLM、PD-disaggreation、ChunkedPrefill
7PKU-SafeRLHF-DPO-Demo. Jupyter Notebook
3