Hacker News new | ask | show | jobs
by a2code 822 days ago
How can you use or create this model for conventional non-API projects? Like to embed it within some C code?
1 comments

They're using ONNX Runtime to run the model, which has a C API: https://onnxruntime.ai/docs/get-started/with-c.html. You could also use any other ML inference library that supports the ONNX format.

You'd need to look at this project's code to see how it converts input data to the expected matrix format, though.

Exactly, the transformation done for inference are located here: https://github.com/mattismegevand/invertornot/blob/main/api/...