Pragyan Subedi·Jul 12, 2025Working with Vectors and ndarray in RustThe article provides concise examples on how to use vectors and ndarray in Rust, which should be helpful if you’re coming in from a…
Pragyan Subedi·May 26, 2024PyTorch C++ Frontend — Build a MNIST DCGAN using C++Learn how to build a MNIST DCGAN implementation in C++ using PyTorch C++ API. This article references PyTorch’s original tutorial on the…
Pragyan Subedi·Feb 9, 2024Uncovering variants of GLU for improving TransformersThis article is a concise explanation of variations of Gated Linear Unit (GLU) based gating mechanism introduced in the Language Modeling…
Pragyan Subedi·Feb 9, 2024Gated Linear Unit — Enabling stacked convolutions to out-perform RNNsThis article is a concise explanation of the Gated Linear Unit activation function introduced in the Language Modeling with Gated…
InCoinmonksbyPragyan Subedi·Feb 5, 2024Python Configuration Management using Hydra by MetaThis article is a concise explanation of the Hydra open-source configuration management package by Meta/Facebook Research.
Pragyan Subedi·Jun 23, 2023Position-wise Feed Forward Network For Positional Embeddings In TransformersPosition-wise feed-forward network has the following benefits over the usual positional embeddings in transformers:
Pragyan Subedi·Jun 23, 2023Adaptive Embedding for Transformer XLTransformer XL, an extension of the original Transformer model, introduced adaptive embeddings to address the limitation of fixed…
Pragyan Subedi·Jun 23, 2023Generating fixed positional embeddings for input sequences using sinusoidal embeddingsWhen implementing transformer based Machine Learning model architectures, fixed positional embeddings are usually required to capture the…
Pragyan Subedi·Apr 19, 2023Transformer Models by Google Brain Explained With PyTorch ImplementationThis article is a concise explanation of the Transformer model by Google Brain with a side-by-side implementation in PyTorch.A response icon1A response icon1
Pragyan Subedi·Apr 19, 2023CLIP by OpenAI ExplainedThis article is a concise explanation of the CLIP model by OpenAI.