Skip to content

Commit

Permalink
fix: Added all-minilm-l12-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEnevoldsen committed Dec 3, 2024
1 parent 5fa7b7b commit be7740b
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 @@ -165,3 +165,23 @@
supersedes="sentence-transformers/all-mpnet-base-v1",
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 be7740b

Please sign in to comment.