You can switch the chat bot (http://chat.petals.ml) to the "few-shot mode" and provide a couple of "task description & code" examples. Then you can add a new task description and it'll respond with code.
The underlying LM, BLOOM, had a few programming languages in its dataset, so it works at least with Python and C++.
The underlying LM, BLOOM, had a few programming languages in its dataset, so it works at least with Python and C++.