LLM Risks - Prompt Injection

Generative AI models are all the rage nowadays. For data people, generative models have been around for several years, but the power and usability of products such as ChatGPT have taken the world by storm. This emergence has brought in new and emerging security risks with it. One of the largest and most novel risks is prompt injection. Prompt injection attacks can affect all large language and generative AI models....

June 15, 2023 · 4 min · James Malcolm

Hacking your Trustpilot score

Is this a clickbait title? Perhaps. Consumers are 74% more likely to purchase from a business with positive online reviews, coupled with Trustpilot’s reach - it’s becoming a easy decision to manage your TrustScore. Done successfully, there’ll be no shortage of customer feedback on your products and services, providing the following benefits: Word of mouth advertising. Trustpilot’s 3 million reviews posted every month help provide social proof for consumers...

March 28, 2023 · 3 min · James Malcolm

PyTorch Autograd and Training Models

Recently I’ve found myself wanting to dig a bit deeper into PyTorch to really understand how it works and hopefully figure out how to expand on my skillset to try new things. To aid this, I’ve been following the Deep Learning with PyTorch book by Eli Stevens, Luca Antiga and Thomas Viehmann. The book itself has been great and highly useful. I recommend it to anyone. In my observations, one the hardest things for newer users of PyTorch to understand is how to train a model....

February 1, 2021 · 6 min · James Malcolm

Deep Learning with Google Cloud

Recently with my consulting, I’ve been delving into Google Cloud, and the wide array of offering they have. Getting started with Deep Learning on the cloud is a cost-efficient method way to utilise GPUs. But there are a few gotchas with cloud providers. This post I wrote here, goes through how to set up a Google Compute instance for deep learning toolkits such as Tensorflow, PyTorch, etc. Read the full post here

December 20, 2020 · 1 min · James Malcolm

Current State of NZ's Economy - Sep 2020

There is a lot happening in New Zealand’s economy currently. New Zealand is officially in a recession with new GDP figures that came out yesterday, a monetary policy update is due next week and an election is taking place mid next month. Thursday’s numbers from Statistics New Zealand represented a -12.2% reduction in GDP for the June 2020 quarter - the largest quarterly fall in GDP on record. Which, unlike the previous quarter’s figures only captured a week or two of New Zealand’s nationwide 4-week lock down, June 2020 figures captures the lion’s share of the lock down....

September 17, 2020 · 5 min · James Malcolm