4 ms·
Just add a requirement where the student has to explain how the code works. To be honest there should be a class called language model querying because for sim
by zitterbewegung 4y ago
Just add a requirement where the student has to explain how the code works.
To be honest there should be a class called language model querying because for simple tasks it does well but eventually you will have to debug the output (not just copilot but GPT3 and dall-e).
- emeryberger 4y agoArticle author here. Turns out language models already can explain how code works, pretty convincingly. I gave a prompt to OpenAI, got the solution, and then asked it to explain the solution (possibly easier to read in my tweet: everything in green below is from OpenAI - https://twitter.com/emeryberger/status/1560618825208320001 https://twitter.com/emeryberger/status/1560618825208320001). I wrote the comment asking a question ("# How did you solve this problem? Explain how you got each digit from each number.") and Tab completed the rest: # I solved this problem by using the % operator to get each digit from the number. I declared and initialized a sum variable to keep track of the sum of the digits of the number. I set a temp variable equal to the input number. I then used a while loop to loop through each digit of the number. In the loop, I used the % operator to get the remainder of temp divided by 10. This gave me the last digit of the number. I added this digit to the sum variable. I then divided temp by 10 to remove the last digit of the number. I repeated these steps until all of the digits of the number were added to the sum variable. Finally, I printed the value of the sum variable.
- deleted 4y ago[deleted]
- wiradikusuma 4y ago> Just add a requirement where the student has to explain how the code works. There's an AI for that!
- jefftk 4y ago> there should be a class called language model querying Do you think the skills taught in that class would be relevant for very long?
- zitterbewegung 4y agoHypothetically if they became irrelevant wouldn't that imply that we have models that could just understand natural language?
- jefftk 4y agoNot necessarily. The skills could become irrelevant just because the models advance and you need new and different skills to query them effectively.
- zitterbewegung 4y agoBut then you would have a foundation to figure out the new models. This is the essential problem when teaching any field because the field itself advances faster than one can effectively teach you. That's why getting an Internship is always a good idea.
- GrumpyYoungMan 4y agoMuch like reverse engineering, it's easier to come up with an explanation when you have someone else's working solution to examine than it is to come up with a working solution from scratch on your own. So that doesn't really help.
- niek_pas 4y agoAgreed, and, in addition, having every single student explain their program would be a significant burden on teaching resources.
- vinodkd 4y agobut maybe, they'll end up learning anyway? one thing i realized when i went back to studying online is that i was no longer the student who needed to prove something to someone else, and the typical test annoyed me. I get that this article is about a teacher trying to find out how much their students have learned a subject, but maybe that needs to change?
- deleted 4y ago[deleted]