Closed lawrenceadams closed 4 months ago
I wish to use model on huggingface that exist as PyTorch.bin files, however fastembed-rs does not support these if using optimum to convert these.
fastembed-rs
Optimum tends to export the last layer as logits and not last_hidden_state: but at present fastembed-rs is hardcoded to use the latter.
logits
last_hidden_state
Desired outcome is to be able to use optimum generated ONNX models to use this tool, allowing many more models: e.g. BioBERT.
:tada: This issue has been resolved in version 3.9.1 :tada:
The release is available on:
v3.9.1
Your semantic-release bot :package::rocket:
I wish to use model on huggingface that exist as PyTorch.bin files, however
fastembed-rs
does not support these if using optimum to convert these.Optimum tends to export the last layer as
logits
and notlast_hidden_state
: but at present fastembed-rs is hardcoded to use the latter.Desired outcome is to be able to use optimum generated ONNX models to use this tool, allowing many more models: e.g. BioBERT.