Thursday, December 22, 2022

Simulating the Python REPL inside ChatGPT

Lately, I have been reading some interesting articles about [ChatGPT][https://chat.openai.com]. In one, someone invented a new language and had ChatGPT speak it. In another, someone ran a virtual machine inside ChatGPT. The latter inspired me to ask this question: Can you run an interactive Python session inside ChatGPT? The short answer is “yes, you can”, and ChatGPT knows quite some Python! I played around with ChatGPT, gave it some different prompts and instructions, and then tested ChatGPT's limits and understanding of the Python language. I was blown away by ChatGPT's understanding of Python. It understood and gave the correct results for code that used: read more...

No comments:

How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs

  This project is about how to systematically persuade LLMs to jailbreak them. The well-known ...