TLDR: In this short intro to ChatGPT fine-tuning, I show how a 4o-mini model can become better in legal reasoning using my own custom dataset. The fine-tuned model having learnt from a legal dataset is better able to analyse new questions. A 30-page GST letter about my former startup arrived, threatening legal action over a […]
The Instagram moment for software
I have been coding almost daily for the last 6 years (and on-off for last 10). Like most others in this field, have been in the thick of the AI wave for the last 4. In terms of speed of code writing, the last 4 feel like one has progressively been switching to sports cars […]
First up, Celery is an open-source Python library which is used to run the tasks asynchronously. A simple use case is where you need to run a webserver and a compute intensive process on the same machine. The compute intensive process can hold up the entire machine leading the webserver to crash and denial of […]
Async multi-threading in python (celery)
Python is not really known as a language for servers. However the community simply refuses to die down and will force fit python into everything. In the pythonic way, great libraries are written to support all kinds of functionalities. Today am going in a rabbit hole to figure out the way to do asynchronous programming […]
Books I read in 2022
In my own contribution to the fashion du jour, listing down the (mostly) written words that absorbed my attention in the year gone by. In no particular order except what my memory serves Ponniyin Selvan – Book 1: Got me interested from the movie and began diving into the book. Discovered the movie doesn’t do […]
DIY Clickstream -4: Deployment
In this concluding part of this mini-series, we will be deploying our framework on a production server on apache There are also few final touches we need to close from the previous parts namely 2. To ensure that we send events in blocks of 10 seconds, we will create an array of events in local […]
Here we are going to store the events captured in the last post in a database. The steps are as follows To accept events, we will require a persistently running server. That purpose is fulfilled by Django Django follows a Model-View-Template architecture. Create Django app – events Now I will create a Django project and […]
We are going to first focus on data capture. Essentially this means the following But before I go there a few housekeeping things in order Website we will be used to test our clickstream http://adiganguli.com/test-shopping/ Github account for the code: Client (Event capture in browser) and Server (Store events) Ok lets get started First thing […]
We are going to create a clickstream framework from scratch. In all my years in analytics, I stumbled on clickstream data quite recently. What I saw honestly blew my mind. The ability to see what your users do on your website gives a powerful ability to influence and recommend them on the path you want. […]
The beauty of code
UBS trading desk – Before and After automation The world is getting increasingly divided between 2 sets of people or between haves and have nots guys who can code and guys who can’t . There used to be a time when coding actually was very esoteric when you you had to learn some fairly complicated […]