Closed jeffrey-flo closed 2 months ago
@jeffrey-flo Some embeddings models also need token_type_ids
as inputs to the ONNX model. Currently, the native libs do not provide token_type_ids
, and hence the crash. The fix should be easy and I'll try working on it from today.
The initial scope of the project was to provide a port of the all-MiniLM-L6-V2
model only, but after resolving this issue, the project will be able to support more embedding models.
@shubham0204 Super! Thanks for your great works!
@jeffrey-flo You can try using the app in the 3-support-more-embedding-models branch which now supports the bge-small-en-v1.5
model.
Follow up question: Are there anymore embedding models whose support would be beneficial for the project?
@shubham0204 I checked the 3-support-more-embedding-models branch It's works fine !
Regards
“I am trying to use the model from https://huggingface.co/BAAI/bge-small-en-v1.5, but I encounter an error during encoding. Do you have any suggestions?”