@travisfw building a generative AI model from scratch is not a single copy/paste type thing, and still you're going to use something like pytorch or tensorflow unless you really want to build all the math from scratch too. Even 20 years ago we used prebuilt libraries for the matrix math.
@bageler I refuse to accept this. There must be a simple example that demonstrates principles, however useless. "Hello world" is useless except you learn to compile code, and write to the console.
@travisfw @bageler it would just be a whole load of loops over arrays multiplying and adding numbers. The structure of these systems is encoded in the weighting of terms in sums, billions of weights, and the programs that evaluate them are more like CPU emulators than anything structurally similar to the resulting computation.