Giving GPT3 Long Term Memory via Summarization

The code for this post is here. I’ve been playing around with GPT3 (and ChatGPT) a lot and have been wanting to start posting again, so I decided to start posting little experiments I do. These won’t be polished but hopefully interesting at least. Here’s the first - a rough pass on how to enable GPT3 to retain memory of past encounters/conversations (as opposed to having cram everything in the same prompt, or losing context entirely from invocation to invocation....

December 11, 2022 · Binal Patel

Running VSCode in Docker

2020 Update A lot has changed since I first wrote this post - as of today I’d recommend you use VSCode Remote Containers Extension instead of this. PyCharm has similar functionality as well. What I normally do now - start up a remote container on a development server running JupyerLab (still using Conda for the Python environment), and attach to it. These docs may be useful is you want to do that....

April 4, 2019 · Binal Patel

Data Science with Docker and Conda

Soon after I started as a data scientist at an early stage startup I was tasked with helping productionalize and deploy analytical models as we ramped up more and more clients. The first few deploys were rushed, but relatively easy - just setup the root environment with all the dependencies, and have a simple bash script call the code on a schedule. Then as time went on things started to get messy....

October 7, 2018 · Binal Patel