logoalt Hacker News

blitzartoday at 10:40 AM2 repliesview on HN

I'm half expecting to see "AI model" appearing as stand-in for "if > 0" at this point in the cycle.


Replies

Foobar8568today at 12:06 PM

This is why I am programming now in Ocaml, files themselves are AI ( ml ).

show 1 reply
Vetchtoday at 1:14 PM

This is essentially what any relu based neural network approximately looks like (smoother variants have replaced the original ramp function). AI, even LLMs, essentially reduce to a bunch of code like

    let v0 = 0
    let v1 = 0.40978399*(0.616*u + 0.291*v)
    let v2 = if 0 > v1 then 0 else v1

    let v3 = 0
    let v4 = 0.377928*(0.261*u + 0.468*v)
    let v5 = if 0 > v4 then 0 else v4...
show 1 reply