edit: chatgpt found out that its rot13 and couldn't explain the code directly without deobfuscating it first.
OpenAI is good at unminifying code
21–30 of 321 posts
Re: OpenAI is good at unminifying code
#22Re: OpenAI is good at unminifying code
#23A more general unminification or unobfuscation still seems to be an open problem. I wrote handful of programs that are intentionally obfuscated in the past and ChatGPT couldn't understand them even at the surface level in my experience. For example, a gist for my 160-byte-long Brainfuck interpreter in C had some comment trying to use GPT-4 to explain the code [1], but the "clarified version" bore zero similarity with the original code...
[1] https://gist.github.com/lifthrasiir/596667#gistcomment-47512...
Re: OpenAI is good at unminifying code
#24LLMs are excellent at text transformation. It's their core strength and I don't see it being used enough.
They can’t sort a list but they can translate languages, for instance, given that a list sorted almost right is wrong but that we will often settle for an almost right translation.
Re: OpenAI is good at unminifying code
#25Should the title say ChatGPT or gpt-4 (the model) instead of OpenAI (the company)?
Re: OpenAI is good at unminifying code
#26Re: OpenAI is good at unminifying code
#27LLMs are excellent at text transformation. It's their core strength and I don't see it being used enough.
Re: OpenAI is good at unminifying code
#28Re: OpenAI is good at unminifying code
#29LLMs are excellent at text transformation. It's their core strength and I don't see it being used enough.
Re: OpenAI is good at unminifying code
#30LLMS are trained to predict next text. But examples like these look like they have also 'learned patterns'. If rot13 is applied on this minified code, will LLM still find meaning in it? if it still could, its more than just next tokens. Need to try it. edit: chatgpt found out that its rot13 and couldn't explain the code directly without deobfuscating it first.