Is it? For a single-line function, that parses and runs just fine. Also it might just not have the text formatting of ChatGPT. That doesn't make it terrible, just makes it significantly less wieldy for formatting-heavy tasks like code, especially the whitespace-sensitive Python.
Yeah feels like the hallucination of this AI is strong. Way too strong. I tried to give it a simple word ranking task but it fails spectacularly.
Re:Pi.ai LLM Outperforms Palm/GPT3.5
by majormajor on Saturday June 24, 2023 @07:02PM
(#36463469)
The "import math" was silly, but with the correction it was right. Single line func works fine:
>>> def meaning_of_life(): return 42
...
>>> print(meaning_of_life())
42
https://heypi.com/s/gf72UPDDacbLwxTHEQLzg