(As usual, I'll give the point of view of small projects like WooCommerce ...)
The current way of using HF models is quite technical: build scripts to download models, convert to ONNX, deploy
(https://github.com/vespa-engine/sample-apps/blob/master/transformers/src/python/setup-model.py)
I suggest to ease the process, to be able to use any HF sentence transformer model, by configuration rather than scripts.
Some possibilities:
- Add parameters to the docker compose file
- Add parameters to the schema (most flexible I think)
- Add parameters to the services.xml file
(As usual, I'll give the point of view of small projects like WooCommerce ...)
The current way of using HF models is quite technical: build scripts to download models, convert to ONNX, deploy
(https://github.com/vespa-engine/sample-apps/blob/master/transformers/src/python/setup-model.py)
I suggest to ease the process, to be able to use any HF sentence transformer model, by configuration rather than scripts.
Some possibilities: