Skip to content

Commit

Permalink
add test for sentence transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
echarlaix committed Feb 13, 2024
1 parent b2751dc commit 6d1dc0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/openvino/test_modeling.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ class OVModelForFeatureExtractionIntegrationTest(unittest.TestCase):
"bert",
"distilbert",
"roberta",
"sentence-transformers-bert",
)

@parameterized.expand(SUPPORTED_ARCHITECTURES)
Expand Down
1 change: 1 addition & 0 deletions tests/openvino/utils_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"roberta": "hf-internal-testing/tiny-random-roberta",
"roformer": "hf-internal-testing/tiny-random-roformer",
"segformer": "hf-internal-testing/tiny-random-SegformerModel",
"sentence-transformers-bert": "sentence-transformers-testing/stsb-bert-tiny-safetensors"
"speech_to_text": "hf-internal-testing/tiny-random-Speech2TextModel",
"squeezebert": "hf-internal-testing/tiny-random-squeezebert",
"stable-diffusion": "hf-internal-testing/tiny-stable-diffusion-torch",
Expand Down

0 comments on commit 6d1dc0a

Please sign in to comment.