Tuesday, 19 November 2024

Using Generative AI And Large Language Models (LLMs) To Write DSP Code - Autumn 2024 Update

Having previously written a couple of blog posts regarding the use of LLMs to write DSP code, I've spent the last few months working on a project that has shown the landscape has changed dramatically.

The previous blog posts are here:

Using Generative AI And Large Language Models (LLMs) To Write DSP Code


At the start of the project, Claude 3.5 Sonnet was a step up from Chat-GPT 3 and Gemini really didn't cut the mustard at all. Then Chat-GPT 4o was released and this is a game changer, it has much more knowledge about the nuances of signal processing libraries such as scipy.signal and while it still struggles sometimes to write C code, I find it is by far the best option.

While I am lucky enough to have paid access to Chat-GPT 4o, not everyone does however there is an option through GitHub Marketplace that should work for most people. The nice thing about this is that you can easily try different LLMs but I find sticking to GPT 4o is the best option for me.

Copyright © 2024 Delta Numerix


No comments:

Post a Comment