RubixML / ML

A high-level machine learning and deep learning library for the PHP language.
https://rubixml.com
MIT License
2k stars 180 forks source link

Use pretrained models? #265

Open nibra opened 1 year ago

nibra commented 1 year ago

Is there any way to use pretrained models like fx those from Huggingface?

andrewdalpino commented 1 year ago

Not models built with anything but Rubix ML, but you can use shared models that have been trained with Rubix ML.

See this section of the docs for caveats https://docs.rubixml.com/2.0/model-persistence.html#caveats

Starting in ML 3.0, you will be able to save/load any model from the same major version of the library

DrDub commented 1 year ago

I'd love it if we can support models exported in the ONNX format: https://onnx.ai/

But we'll need much more contributors to achieve that.

andrewdalpino commented 1 year ago

Definitely @DrDub, ONNX support would enable a ton of possibilities for PHP Machine Learning engineers