Skip to content

Commit 23fe6f7

Browse files
authored
Extend sentence-transformers ONNX test (#1734)
* extend sentence transformers onnx test * trigger ci
1 parent 9ff5ea8 commit 23fe6f7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/exporters/exporters_utils.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,10 @@
334334

335335
PYTORCH_SENTENCE_TRANSFORMERS_MODEL = {
336336
"clip": "sentence-transformers/clip-ViT-B-32",
337-
"transformer": "sentence-transformers/all-MiniLM-L6-v2",
337+
"transformer": {
338+
"sentence-transformers/all-MiniLM-L6-v2": ["feature-extraction", "sentence-similarity"],
339+
"fxmarty/tiny-dummy-mistral-sentence-transformer": ["feature-extraction", "sentence-similarity"],
340+
},
338341
}
339342

340343

0 commit comments

Comments
 (0)