TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GPT (text-DaVinci-003) can run hallucinated scripts

17 pointsby jamesjyuover 2 years ago

1 comment

greenie_beansover 2 years ago
i had something similar happen but with chatgpt (idk if that uses the same model?)<p>i tried to get it to write a web scraper but the code wasn&#x27;t very good. so i fed it the html and told it to write some code that outputs the results in a certain way. the code was still not good. then i input some code that i had already written to do this exact task, including a print statement at the end. then i asked it for the results of the print statement. it printed the right information and the original structure i told it.<p>it was wild. at first i thought that i had somehow made it run code then i realized that it was able to logically produce the result, kinda like how i can read code and surmise the outcome. maybe? i have no idea.<p>unfortunately i closed out the session and forgot what exactly i had said to do this, because i tried to keep doing it again but it told me that it couldn&#x27;t run code.
评论 #33914663 未加载