Here's the prompt immediately before that, writing the code to a file. (Which I'm now realizing wasn't quite formatted right, but it worked anyway.)
Interestingly, it didn't like so I had to manually add the declaration for printf.
Here's the prompt immediately before that, writing the code to a file. (Which I'm now realizing wasn't quite formatted right, but it worked anyway.)
Interestingly, it didn't like so I had to manually add the declaration for printf.
Considering it can write specific code in specific frameworks*, I think it really just is able to emulate a Linux terminal. But it's not actually running everything that's running behind the scenes on a real Linux machine, it's just taking the conversation so far and predicting what would come next. The same way you can look at a block of C code followed by commands to compile and run it and predict/know what the output would be.
*I've had it help me solve a pretty specific problem in Spring that I couldn't find a good enough answer for online.
I totally misread this:
https://www.engraved.blog/building-a-virtual-machine-inside/
I was thinking the pytorch version was actually fetched, but its just making up a version number.