Training text-davinci with code corpus

Is there a way we can train text-davinci-002 with custom code , the same way we train it with text corpus. If yes, any specific documentation?

1 Like

While it might work, I’m not sure it would work as well as Codex…

This might be worth your looking into…

The Codex model that’s powering the Copilot product is not open sourced. However, there are a few models similar to Codex available on the Hugging Face Hub such as Incoder or CodeGen:

Good luck!