Brand New AI ChatBot Service From DigitalHQ

How’s it going everyone, I decided to write a quick blog post to talk about a new service I’m working on. I’ve just finished university, and the job market is slow, so what better way to make money to feed the family than to release a specialised service? Enter (drumroll…) our new AI ChatBot Service for business owners. Here’s a demo of this in action (a quick video I made to showcase the service). Why is this such a good...Read more

Configuring AWS & Local Environment for MLOps Pipelines Project

Welcome to this post which will be the first in a series where I implement an end-to-end ML (Machine Learning) pipeline. To do this I will be using AWS (Amazon Web Services) and some of the tools on offer at Amazon i.e. SageMaker etc. This post aims to get you set up with an environment which you can then use to implement your own pipeline. The code for this project can be found in my GitHub (4igeek) repository. What are...Read more

Fine-Tuning an LLM Model Using LoRA

Around a month ago, Apple released a report called “Introducing Apple’s On-Device and Server Foundation Models” which talks about how you can use “adaptors” to fine-tune a foundation large language model i.e. GPT-3 or Llama2 etc. In this post, (using the Apple research article) we will look at how we can use an external dataset to fine-tune one of these models using a technique called LoRA. Why would we want to do this? For a start, LLMs are trained on...Read more

University Results Day

Those of you who know me know that in 2018 I embarked on an adventure to a) get my A-Levels and then b) a degree that would allow me to work in the field of AI. In 2019 I started the BEng (Hons) at UWE but after the first year, I decided to switch to Computer Science as Robotics didn’t really allow me to specialise in coding (I love coding). Well. Today is the day that my results came out...Read more

Google Data Analyst Certification Adventure

I have just decided that I am going to embark on a journey to take the Google Data Analyst Certificate which is a program hosted on Coursera. The reason I made this decision was because I want to work in the field of machine learning and AI and the first step to doing that sort of thing well is being able to work (at an advanced level) with data. Having just completed my BSc (Hons) in Artificial Intelligence I am...Read more

AI Classification With Scikit-Learn

This post is going to cover AI classification and give an introduction to decision trees (which will be covered in a future post). The idea is to give a good overall idea of what classification is in AI. The topics we are going to look at in this post are: Classification Algorithms Data Preparation Scikit-Learn Model Evaluation Overfitting & Underfitting Hyperparameters and Cross-Validation Metrics Decision Tree Introduction Classification is a supervised learning technique in that it is trained on an...Read more

Combining, Dividing & Defining 2D and 3D Vectors

I have written about Vectors back in Feb 2020 (in this post called Introduction to Vectors) but seeing as that was so long ago I wanted to refresh my mind on the topic by writing a bit of a meatier post (as we covered more of this than we did at UWE). // Notes taken from my lectures at the University of Kent 2022 Starting at the beginning, what is a vector? A vector is a line that has been...Read more

List Comprehensions & Slicing in Python

This post is going to cover comprehensions and slicing of data sets in Python. This topic is what makes Python so loved by programmers because it allows us to filter elements from a collection and transform those elements in the filtering process using one very concise expression where other languages (such as Java) may require 5 or 6 lines of code to do the same thing. // These are notes taken from my lecture at university The following is what...Read more

Data Structures and Loops in Python

This post is going to be the first post that I write on the topic of Python and will cover data structures and various implementations. I will be discussing lists, dictionaries, sets and tuples as well as loops and data structures. // These are notes taken from my lectures. Lists The key points of a list are that they are ordered, flexible (don’t need to be initialised with a size) and can contain different data types within the list i.e....Read more
Introduction to Logarithms (Logs)

Introduction to Logarithms (Logs)

Logarithms or logs are another way of expressing indices and is a bit like the inverse of dealing with powers. Logs were used to perform difficult calculations before there were calculators. To understand how logs work we could just look at a simple to understand example: We know that , so if we wanted to know the value of the indices that would make into (how many times multiplied by itself gives us i.e. ) then we could use the...Read more