• Franconian_Nomad@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    24 days ago

    They take code snippets and copy and paste them? Or do they create own code based on what they’ve learned by trawling?

    • Barbarian@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      24 days ago

      LLMs don’t “create”. Under the hood, they’re tokenizing the queries, looking for “clouds” of tokens that are similar to the query, then returning a sequence of tokens (with some random noise thrown in) that match what their training data says the answer should be.

      In short: all LLM code is an amalgamation of their training data by definition. If there’s nothing similar in there, it’s literally not possible for it to be part of any response.

      • Franconian_Nomad@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        24 days ago

        You’re exactly right. I should have used „generate“ instead of „create“.The point is I don’t think LLMs normally use copyrighted code in a way that would hurt open source projects.

        Under the hood, they’re tokenizing the queries, looking for “clouds” of tokens that are similar to the query, then returning a sequence of tokens (with some random noise thrown in) that match what their training data says the answer should be.

        Lol, so how do humans code in comparison?