Skip to content

Commit

Permalink
fix: Added all-minilm-l12-v2 (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen authored Dec 4, 2024
1 parent 5013df8 commit 97ab272
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions mteb/models/sentence_transformers_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

0 comments on commit 97ab272

Please sign in to comment.