I'm trying to re-create your model.onnx file to ensure that I understand the process correctly. While I've been able to correctly set up the required args (i.e. ["input_ids", "token_type_ids", "attention_mask"]), the embeddings aren't matching. While both sets of embeddings are the same dimensions, my onnx model's embedding are noticeably different than yours. I've checked the sentence-transformers/all-MiniLM-L6-v2 repo and the last update to the weights was 1 to 2 years ago.
Would you mind sharing the code you used to generate your file? Thank you! I used the following:
Hi,
I'm trying to re-create your model.onnx file to ensure that I understand the process correctly. While I've been able to correctly set up the required args (i.e. ["input_ids", "token_type_ids", "attention_mask"]), the embeddings aren't matching. While both sets of embeddings are the same dimensions, my onnx model's embedding are noticeably different than yours. I've checked the sentence-transformers/all-MiniLM-L6-v2 repo and the last update to the weights was 1 to 2 years ago.
Would you mind sharing the code you used to generate your file? Thank you! I used the following: