Essential Tips for Developing a Retrieval-Augmented Generation (RAG) Chatbot Pipeline
This project post does not show how to create a RAG chatbot but see some key considerations for building a production RAG chatbot. High-level overview of a not-vanilla RAG pipeline Building a Retrieval-Augmented chatbot can be done easily using OSS stacks, LangChain or LlamaIndex with vector databases such as FAISS and pretty UIs (Gradio or Streamlit) with API calls to OpenAI or using local LLMs with llama-cpp-python. This post will not be on how to create a vanilla RAG chatbot but take a brief look at some interesting points to make a RAG for production. A high level overview of that pipeline can be seen in the image above. ...
Deepfake- is seeing still believing? & Policy insights for Mauritius
The word ‘deepfake’ has been thrown around a lot recently but what exactly is a deepfake? Deepfake or deepfake technology can be seen as a tool capable of creating synthetic (fake) but realistic images and videos by manipulating or generating visual and audio content with Artificial Intelligence (AI). Slowly, this technology became accessible (at a price), and its potential to impact various aspects of society, from politics to personal privacy, grows significantly and has already affected certain fields. ...
How to use Hugging Face🤗& Gradio to create simple Machine Learning (ML) projects
Access to educational resources on AI/ML is quite plentiful over the web nowadays. One can find free tutorials, courses or paid ones quite easily. While most want to dive deep into AI and understand its basic blocks, some just want to tinker around with some applications. And those who only want to just try out AI apps or demos can do so on Hugging Face🤗. Hugging Face🤗 is amazing. It has AI models, datasets and Spaces that can host the community AI apps to try out. I personally had been trying out Stable Diffusion on Spaces, and it has been fun trying out different sets of words that identifies with me. ...
On Facial Recognition Technology Adoption in Mauritius
This post is simply an informative piece and has no political bearing. With the implementation of the SafeCity Project in Mauritius comes the adoption of Facial Recognition Technology (FRT), and as per a local newspaper, FRT implementation is undergoing tests. Discussion with other people on FRT has made me realised that while people are adamant that FRT is pervasive and dangerous, some don’t understand the basics behind FRT. Without going in-depth into FRT and its privacy concerns, let’s see what it is. ...
Real-time Image Captioning with Attention Mechanism
Imaging you’re taking a picture of something in front of you – you pause to look at the picture and process the visual information in that picture cognitively. This is done to understand what’s in the picture. What if we wanted to automatically give a context or a tag to a picture? We can train an algorithm that recognizes the objects or features in a picture and then it assigns the picture a sentence describing what is happening in the picture. This is known as Image Captioning. ...