Hi there! π Welcome to my AI/ML project repository.
This space is a living collection of my work in Artificial Intelligence, Machine Learning, and Data Science. It primarily serves as the official code repository for all the articles and tutorials I write on www.sundeepmachado.com
My goal is to bridge the gap between theory and practice by providing clean, well-commented code for the concepts I discuss.
Here is a list of my work. Each project includes a link to the relevant article (for the "why") and the source code (for the "how").

Article: π Read the full article on my Blog
Description: An embedding model is needed to generate embeddings (vector representations that help an LLM to understand things like text, images etc). Google recently released EmbeddingGemma-300M (a whooping 300 million parameter model) which has very low requirements to run. We test this assumption in this article.
Code: π Find the code in the /nvidia-triton-server/simple/google-embeddinggemma-300m directory

Article: π Read the full article on my Blog
Description: Long-form document summarisation with Ollama can cause sustained 100% CPU utilisation due to a prefill phase bottleneck. This article walks through the tuning parameters and Docker configuration that smooth out those spikes and keep the model responsive on CPU-only hardware.
Code: π Find the code in the /ollama/advance/ai-summarization-ollama-cpu-spike-prefill-phase directory

Article: π Read the full article on my Blog
Description: By default, k3s nodes don't support GPUs. This tutorial walks through installing the NVIDIA driver and container toolkit, configuring k3s to use the NVIDIA container runtime, deploying the NVIDIA GPU Operator via Helm, and verifying GPU access with a test CUDA pod.
Code: π Find the code in the /k3s/simple/enable-nvidia-gpu-workloads directory

GLiGuard is an open-source, ultra-fast and very light weight AI guardrail that has only 300 million parameters. It is available on HuggingFace and can be easily integrated on any AI Gateway like LiteLLM.
/concepts/simple/guardrail/adding-gliguard-litellm-ai-gateway directory
Article: π Read the full article on my Blog
Description: Nvidia Garak is an open-source LLM vulnerability scanner from NVIDIA's AI Red Team. It probes models for prompt injection, jailbreaks, training data exposure, toxicity, hallucinations, encoding-based filter evasion, and malware generation. This article walks through installing Garak and running it against a local Ollama model, including how to read the Defense Capability (DC) scoring used to judge results.
Code: π Find the code in the /garak/simple/getting-started-with-nvidia-garak directory
git clone https://github.com/sjmach/artificial-intelligence.git
cd [nvidia-triton-server]
25 commits
Python
83.9%
Shell
16.1%
Hi there! π Welcome to my AI/ML project repository.
This space is a living collection of my work in Artificial Intelligence, Machine Learning, and Data Science. It primarily serves as the official code repository for all the articles and tutorials I write on www.sundeepmachado.com
My goal is to bridge the gap between theory and practice by providing clean, well-commented code for the concepts I discuss.
Here is a list of my work. Each project includes a link to the relevant article (for the "why") and the source code (for the "how").

Article: π Read the full article on my Blog
Description: An embedding model is needed to generate embeddings (vector representations that help an LLM to understand things like text, images etc). Google recently released EmbeddingGemma-300M (a whooping 300 million parameter model) which has very low requirements to run. We test this assumption in this article.
Code: π Find the code in the /nvidia-triton-server/simple/google-embeddinggemma-300m directory

Article: π Read the full article on my Blog
Description: Long-form document summarisation with Ollama can cause sustained 100% CPU utilisation due to a prefill phase bottleneck. This article walks through the tuning parameters and Docker configuration that smooth out those spikes and keep the model responsive on CPU-only hardware.
Code: π Find the code in the /ollama/advance/ai-summarization-ollama-cpu-spike-prefill-phase directory

Article: π Read the full article on my Blog
Description: By default, k3s nodes don't support GPUs. This tutorial walks through installing the NVIDIA driver and container toolkit, configuring k3s to use the NVIDIA container runtime, deploying the NVIDIA GPU Operator via Helm, and verifying GPU access with a test CUDA pod.
Code: π Find the code in the /k3s/simple/enable-nvidia-gpu-workloads directory

GLiGuard is an open-source, ultra-fast and very light weight AI guardrail that has only 300 million parameters. It is available on HuggingFace and can be easily integrated on any AI Gateway like LiteLLM.
/concepts/simple/guardrail/adding-gliguard-litellm-ai-gateway directory
Article: π Read the full article on my Blog
Description: Nvidia Garak is an open-source LLM vulnerability scanner from NVIDIA's AI Red Team. It probes models for prompt injection, jailbreaks, training data exposure, toxicity, hallucinations, encoding-based filter evasion, and malware generation. This article walks through installing Garak and running it against a local Ollama model, including how to read the Defense Capability (DC) scoring used to judge results.
Code: π Find the code in the /garak/simple/getting-started-with-nvidia-garak directory
git clone https://github.com/sjmach/artificial-intelligence.git
cd [nvidia-triton-server]
25 commits
Python
83.9%
Shell
16.1%