We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2bc31e commit 6c1e476Copy full SHA for 6c1e476
tests/ml_models/test_sentencetransformermodel_pytest.py
@@ -726,13 +726,13 @@ def test_save_as_pt_model_with_different_id():
726
model_id2 = "sentence-transformers/all-MiniLM-L6-v2"
727
model_format = "TORCH_SCRIPT"
728
zip_file_path = os.path.join(TEST_FOLDER, "msmarco-distilbert-base-tas-b.zip")
729
- zip_file_path2 = os.path.join(TEST_FOLDER, "all-MiniLM-L6-v2")
+ zip_file_path2 = os.path.join(TEST_FOLDER, "all-MiniLM-L6-v2.zip")
730
expected_filenames_wo_model_id = {
731
"msmarco-distilbert-base-tas-b.pt",
732
"tokenizer.json",
733
}
734
expected_filenames_with_model_id = {
735
- "msmarco-distilbert-base-tas-b.pt",
+ "all-MiniLM-L6-v2.pt",
736
737
738
0 commit comments