• brucethemoose@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    edit-2
    19 hours ago

    Technically, LLMs (and most ML models) are deterministic with the same input and same seed.

    I get what you mean though.

    • Scrollone@feddit.it
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      15 hours ago

      So does ChatGPT intentionally change seed at every interaction so it always spits two different outputs given the same input?

      • Scipitie@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        13
        ·
        14 hours ago

        In short: yes. You can tune these values when self hosting - it basically changes the b chance which tokens will be used under which circumstances.

      • brucethemoose@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        13 hours ago

        Like Scipitie said, sort of.

        In the ChatGPT app, there’s tons of shuffling in the background, like context being injected, maybe sampling changed, agenic action, quantization… its “far” from the actual LLM, opaque by design, and as a result certainly not deterministic.

        You can sometimes get deterministic output with the OpenAI API, but it’s also dependent on nothing changing on their end. And their end changes a lot.

        But self hosting or using a more consistent provider will give you deterministic output.