PinnedAllen Liang·Dec 10, 2024RoPE: A Detailed Guide to Rotary Position Embedding in Modern LLMsA response icon1A response icon1
Allen Liang·Aug 3, 2025Killing LMMs with a tiny 27M model: Hierarchical Reasoning Model Explained (HRM) Briefly ExplainedA response icon5A response icon5
Allen Liang·Jun 30, 2025Common Pitfalls When Working with CUDA and NVIDIA GPUsWe all know that working with NVIDIA GPUs can sometimes be a pain. Especially when we start to set up the environment, we encounter all…
InPython in Plain EnglishbyAllen Liang·Jun 29, 2025What is Gaussian Kernel Density Estimation (KDE)So, what’s the Gaussian Kernel Density Estimation (KDE)? In short, it’s a is a method that uses your sample points to approximate the…
Allen Liang·May 6, 2025Contrastive Learning for Beginners: SimCLR and NT-Xent Loss ExplainedLet’s dive straight into SimCLR.
Allen Liang·May 3, 2025Contrastive Learning for Beginners: InfoNCE Loss Explained in DetailsInfoNCE, or Information Noise-Contrastive Estimation, is a cornerstone in contrastive learning. Proposed by van den Oord et al. in the 2018A response icon3A response icon3
Allen Liang·Mar 2, 2025Master Graph Mode in KerasGraph Mode is a key concept in Keras. In Graph Mode, Keras constructs a blueprint — a static graph — for the model before running it. This…
Allen Liang·Feb 18, 2025Box Python SDK Tutorial: How to Download Files in Box with PythonTraining and fine-tuning AI models needs a large amount of data. Data can be hosted on various platforms, Hugging Face would be the best…A response icon1A response icon1
Allen Liang·Jan 28, 2025An Introduction to Keras Hub PresetsKeras Hub is a pretrained modeling library for Keras 3. The library features popular models implemented in Keras such as Llama3…