Hi there 馃憢

Welcome to my blog. Here I share my thoughts about software engineering & ML. Check out my about page to learn more about me.

LLMs as general reasoners

In ML it鈥檚 common to measure generalization performance as the delta between the training, validation and test dataset. Training data is what your model actively optimizes against using some optimization procedure (e.g. SGD or conjugate gradient or quadratic programming). The validation data is used to get an unbiased estimate of the performance of the model on unseen data. Since the process of selection (hyper parameter selection, stopping criteria) invariably overfits the model to the validation data at the very end we get an estimate of model performance through the test dataset that should not be used for the process of training a model....

August 21, 2023 路 4 min 路 702 words 路 Rick Lamers

Streaming a USB camera from a Raspberry Pi (4B)

A neat use case for Raspberry Pi I was looking for a way to monitor my puppy鈥檚 dog crate and I figured a good approach would be to use my PS3 eye USB camera with my Raspberry Pi 4 to stream audio and video to my phone. Buying a dedicated monitoring handheld felt like a waste of money, since I already had the hardware to do it, in theory. Of course, in practice you run into issues and in this article I鈥檒l describe the issues I ran into and how I solved them....

August 20, 2023 路 5 min 路 1024 words 路 Rick Lamers

Writing my own ChatGPT Code Interpreter

tl;dr: github.com/ricklamers/gpt-code-ui and to run it pip install gpt-code-ui && gptcode Alright, I鈥檒l cut right to the chase. I鈥檝e built GPT-Code UI because OpenAI couldn鈥檛 be bothered to give me access to their new fancy ChatGPT Code Interpreter. And most likely, you don鈥檛 have access either. What is ChatGPT Code Interpreter? Well, it鈥檚 basically a REPL (read鈥揺val鈥損rint loop) that鈥檚 integrated with the coding abilities of ChatGPT. You can do really neat things with it like giving it a file (e....

May 17, 2023 路 9 min 路 1736 words 路 Rick Lamers

Writing resources

CommonMark live testing tool https://spec.commonmark.org/dingus/ Hugo docs https://gohugo.io/documentation/ PaperMod docs https://github.com/adityatelange/hugo-PaperMod/wiki

May 15, 2023 路 1 min 路 11 words 路 Rick Lamers