Generative transformers converting texts to python codes

Here I found many pretrained models, but still confused about finding appropriate pretrained models for generating python codes from text input…

CodeBert looks good for code conversion. distiBert good for text classification… etc…

GPT-3 is quite good to convert texts to python… Any open-source pretrained models similarly work as GPT-3?

We have quite simple text and python data sets, but still want generative models rather than matching text tokens to pre-defined python code blocks…

We appreciate any advice or comments on this issue…
Thanks…