GPT-4's knowledge of library versions is quite outdated (~2021). I was trying to build a Snake game (of course) in Python using pygame and asked autocoder to create a requirement.txt file with all dependencies. It did but the version for pygame was 2.0.1 that you can't even install on modern macs and python. So I had to tell autocoder to remove the version so that we could use the latest version from pypi which worked. In general, I think LLMs suggesting outdated dependencies is a very common problem. Few ideas for how to solve it:
Fine-tuning OSS models on latest data
Overwrite dependencies files with the latest versions
GPT-4's knowledge of library versions is quite outdated (~2021). I was trying to build a Snake game (of course) in Python using
pygame
and asked autocoder to create arequirement.txt
file with all dependencies. It did but the version for pygame was 2.0.1 that you can't even install on modern macs and python. So I had to tell autocoder to remove the version so that we could use the latest version from pypi which worked. In general, I think LLMs suggesting outdated dependencies is a very common problem. Few ideas for how to solve it: