Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Humanity isn't stateless.


Neither is text generation as you continue generating text.


"Neither is text generation as you continue generating text."

LLM is stateless.


On a very fundamental level the LLM is a function from context to the next token but when you generate text there is a state as the context gets updated with what has been generated so far.


"On a very fundamental level the LLM is a function from context to the next token but when you generate text there is a state as the context gets updated with what has been generated so far."

Its output is predicated upon its training data, not user defined prompts.


If you have some data and continuously update it with a function, we usually call that data state. That's what happens when you keep adding tokens to the output. The "story so far" is the state of an LLM-based AI.


'If you have some data and continuously update it with a function, we usually call that data state. That's what happens when you keep adding tokens to the output. The "story so far" is the state of an LLM-based AI.'

You're conflating UX and LLM.


You're being pedantic. While the core token generation function is stateless, that function is not, by a long shot, the only component of an LLM AI. Every LLM system being widely used today is stateful. And it's not only 'UX'. State is fundamental to how these models produce coherent output.


"State is fundamental to how these models produce coherent output."

Incorrect.


I never said LLMs are stateful.


[flagged]


Please don't do flamewar on HN. It's not what this site is for, and destroys what it is for.

https://news.ycombinator.com/newsguidelines.html


Really?

Delete my account.


> Its output is predicated upon its training data, not user defined prompts.

Prompts very obviously have influence on the output.


"Prompts very obviously have influence on the output."

The LLM is also discrete.


the model is not effected by its inputs over time

its essentially a function that is called recursively on its result, no need to represent state


Being called recursively on a result is state.


if you say so, but the model itself is not updated by user input, it is the same function every time, hence, stateless.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: