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

7 points by quietthrow ↗ HN
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?

1 comment

[ 3.7 ms ] story [ 11.0 ms ] thread
Look up the onnx file format.