Skip to content

Plug & Play download & configuration of HuggingFace sentence transformer models #26696

@eostis

Description

@eostis

(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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions