from Hacker News

Ask HN: How is a ML model represented on disk?

by quietthrow on 11/24/23, 5:09 PM with 1 comments

Genuinely curious and please point me to resources if this documented somewhere.

I come from a “everything on a computer is a file” perspective and am curious what a model persisted on disk looks like? Is it essentially a long list of key value pairs where the key is the node “ID” and value is its “current”weight (may be from its last training?)

Is there more to it?

  • by pyb on 11/24/23, 5:48 PM

    Look up the onnx file format.