Hacker News new | ask | show | jobs
by _kidlike 345 days ago
I had this happen to me on Claude Sonnet once. It started spitting out huge blocks of source code completely unrelated to my prompt, seemingly from its training data, and switching codebases once in a while... like, a few thousand lines of some C program, then switching to another JavaScript one, etc. it was insane!
1 comments

Sounds like solidgoldmagikarp[0]. There must've been something in your prompt that is over-represented throughout the training data.

[0] https://www.lesswrong.com/posts/jbi9kxhb4iCQyWG9Y/explaining...