From 97ab2721e5bb73bcf5ed6352366ab333234532f7 Mon Sep 17 00:00:00 2001 From: Kenneth Enevoldsen Date: Wed, 4 Dec 2024 11:42:20 +0100 Subject: [PATCH] fix: Added all-minilm-l12-v2 (#1542) #1515 --- mteb/models/sentence_transformers_models.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mteb/models/sentence_transformers_models.py b/mteb/models/sentence_transformers_models.py index 0311ef81f..f2473e611 100644 --- a/mteb/models/sentence_transformers_models.py +++ b/mteb/models/sentence_transformers_models.py @@ -249,3 +249,23 @@ superseded_by="jinaai/jina-embeddings-v2-small-en", adapted_from=None, ) + + +all_MiniLM_L12_v2 = ModelMeta( + name="sentence-transformers/all-MiniLM-L12-v2", + languages=["eng-Latn"], + open_weights=True, + revision="364dd28d28dcd3359b537f3cf1f5348ba679da62", # can be any + release_date="2021-08-30", + n_parameters=33_400_000, + memory_usage=None, + embed_dim=384, + license="apache-2.0", + max_tokens=256, + reference="https://huggingface.co/sentence-transformers/all-MiniLM-L12-v2", + similarity_fn_name="cosine", + framework=["Sentence Transformers", "PyTorch"], + use_instructions=False, + supersedes="sentence-transformers/all-MiniLM-L12-v1", + adapted_from=None, +)