Remix.run Logo
anentropic 3 months ago

It's what ChatGPT does apparently...

https://simonwillison.net/2024/Dec/10/chatgpt-canvas/

simonw 3 months ago | parent [-]

Not exactly - ChatGPT has two ways it can run Python code. It can use Pyodide and run it directly in the user's browser (for Canvas), and it can also run Python code on one of their servers in a Jupyter environment in a locked-down Kubernetes container (their "Code Interpreter" tool).

To my knowledge they don't yet have a run-Python-in-WASM-on-the-server implementation.

jamestimmins 3 months ago | parent [-]

What’s the purpose of Jupyter here? Isn’t that optimized for notebooks, which presumably wouldn’t be relevant on the server?

simonw 3 months ago | parent [-]

I think it's more about tapping into the Jupyter ecosystem of visualization libraries etc, plus the fact that there's lots of data analyst examples in the training data that come from notebooks.

jamestimmins 3 months ago | parent | next [-]

That's an interesting dynamic of the training data impacting the architecture. I wonder if this is a one-off or we see that in other areas as well.

fzzzy 3 months ago | parent [-]

I think this is inevitable. Whatever is most highly represented (correctly) will become even more dominant.

__mharrison__ 3 months ago | parent | prev [-]

So that's why it writes such bad pandas code...