DeepSeek-V3 from Scratch: Implementing the DeepSeek Trainer