sjmach/artificial-intelligence

A repository for A.I. projects

0

stars

25

commits

Python

primary language

Jun 23, 2026

updated

cuda
docker
gemma
guardrails
k3s
llm-inference
nvidia-triton
ollama
python
pytorch
triton-inference-server

README

Sundeep Machado's AI/ML Portfolio & Article Code

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.


πŸš€ Projects & Articles

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").


1. Serving an Embedding Model on NVIDIA Triton Server

Serving an Embedding Model on NVIDIA Triton Server


2. How to Reduce CPU Spikes for AI Summarisation with Ollama

How to Reduce CPU Spikes for AI Summarisation with Ollama


3. How to Enable NVIDIA GPU Workloads on k3s

How to Enable NVIDIA GPU Workloads on k3s


4. Adding a Custom Guardrail (GLiGuard) to a LiteLLM AI Gateway

Adding a Custom Guardrail (GLiGuard) to a LiteLLM AI Gateway

  • Article: πŸ”— Read the full article on my Blog
  • Description: Guardrails for a Large language model (LLM) are rule based safety controls that validate the input and output of a model. They basically act like a gatekeeper between a user and a Large language model.

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.


5. Getting Started with Nvidia Garak

Getting Started with Nvidia Garak

  • 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


More to come

βš™οΈ How to Use This Repository

  1. Clone the repo:
    git clone https://github.com/sjmach/artificial-intelligence.git
    
  2. Navigate to a project: Each project is self-contained in its own directory.
    cd [nvidia-triton-server]
    
  3. Follow the instructions: Every Project will have different set of instructions as mentioned in the pertaining article

Contributors

sjmach

25 commits

sjmach/artificial-intelligence

A repository for A.I. projects

0

stars

25

commits

Python

primary language

Jun 23, 2026

updated

cuda
docker
gemma
guardrails
k3s
llm-inference
nvidia-triton
ollama
python
pytorch
triton-inference-server

README

Sundeep Machado's AI/ML Portfolio & Article Code

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.


πŸš€ Projects & Articles

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").


1. Serving an Embedding Model on NVIDIA Triton Server

Serving an Embedding Model on NVIDIA Triton Server


2. How to Reduce CPU Spikes for AI Summarisation with Ollama

How to Reduce CPU Spikes for AI Summarisation with Ollama


3. How to Enable NVIDIA GPU Workloads on k3s

How to Enable NVIDIA GPU Workloads on k3s


4. Adding a Custom Guardrail (GLiGuard) to a LiteLLM AI Gateway

Adding a Custom Guardrail (GLiGuard) to a LiteLLM AI Gateway

  • Article: πŸ”— Read the full article on my Blog
  • Description: Guardrails for a Large language model (LLM) are rule based safety controls that validate the input and output of a model. They basically act like a gatekeeper between a user and a Large language model.

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.


5. Getting Started with Nvidia Garak

Getting Started with Nvidia Garak

  • 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


More to come

βš™οΈ How to Use This Repository

  1. Clone the repo:
    git clone https://github.com/sjmach/artificial-intelligence.git
    
  2. Navigate to a project: Each project is self-contained in its own directory.
    cd [nvidia-triton-server]
    
  3. Follow the instructions: Every Project will have different set of instructions as mentioned in the pertaining article

Contributors

sjmach

25 commits

Languages

Python

83.9%

Shell

16.1%