• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    AI isn’t code

    Yes it is. It defines a function from input to output. It’s not x86 or Arm code. It’s code that runs on a different type of machine. It’s a type of code that you may not be able to read, but it’s still code.

    • Sneezycat@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 days ago

      Just by opening wikipedia “In computing, source code, or simply code or source, is a plain text computer program written in a programming language.” So what programming language is it?

      • wewbull@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 days ago

        Is Maxine code “code”? And I don’t mean assembler, I mean the binary stream read by the processor.

        I’d say yes. People have programmed it. It’s where the verb “to code” comes from.

        These models are no different. They are binary streams that encode a function, a program, into a form that can be interpreted by a machine. Yes, a computer generated the code, but that’s nothing new.

      • model_tar_gz@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        Neural nets are typically written in C; then frameworks abstract on top of that (like Torch, or Tensorflow) providing higher-level APIs to languages like (most commonly) Python, or JavaScript.

        There are some other nn implementations in Rust, C++, etc.

        • General_Effort@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 days ago

          Other way around. The NNs are written in, mostly, Python. The frameworks, mainly Pytorch now, handle the heavy-duty math.