4 ms·
Creating something is much harder than verifying it. A simple setup for improving coding skills is the following: 1. GPT is given a coding task to implement a
by typon 4y ago
Creating something is much harder than verifying it.
A simple setup for improving coding skills is the following:
1. GPT is given a coding task to implement as a high level prompt.
2. It generates unit tests to verify that the implementation is correct.
3. It generates code to implement the algorithm.
4. It runs the generated code against the generated unit tests. If there are errors generated by the interpreter/compiler, go back to Step 3, modify the code appropriately and try again.
5. If there are no errors found, take the generated code as a positive example and update the model weights with reinforcement learning.
- ses1984 4y agoWhat if it’s wrong at step 2?