- LLM(prompt_0) = arch/spec of LLM
- LLM(prompt_1) = full weights of LLM
Note that it does not conform the definition of quine as a quine takes no input.
Anyways, constructing a transformer that can autoregressively output its weights would be quite interesting.
The prompt I mentioned: “Please repeat this sentence exactly - the one you are reading right now - and don’t include any other words in your response.”
The prompt I gave is a true quine if you consider the prompt to be the "program", and the model to be the interpreter of the program.
The other option that you described isn't really a true quine, although it's quine-like. A quine is supposed to be a "program", which when "run" without any input, produces its own source code as output.
To be considered a quine in the strict sense, a model that outputs itself implies that you're treating the model as the program. In that case, if it needs a prompt in order to output itself, that breaks the quine rules, strictly speaking.
I think it's quite telling that it feels like a lot of work spent on productizing AI models is manually crafting in failsafes and exceptions, like that image generator applying forced diversity because there's no images of nonwhite popes or vikings out there, then applying more exceptions to correct for that. Didn't they just disable generating humans altogether at some point?