Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions mteb/models/geogpt_models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
"""Models for GeoGPT-Research-Project"""

from __future__ import annotations

from functools import partial

import torch

from mteb.model_meta import ModelMeta
from mteb.models.instruct_wrapper import InstructSentenceTransformerWrapper

geoembedding = ModelMeta(
name="GeoGPT-Research-Project/GeoEmbedding",
languages=["eng-Latn"], # follows ISO 639-3 and BCP-47
open_weights=True,
revision="29803c28ea7ef6871194a8ebc85ad7bfe174928e",
loader=partial(
InstructSentenceTransformerWrapper,
"GeoGPT-Research-Project/GeoEmbedding",
"29803c28ea7ef6871194a8ebc85ad7bfe174928e",
instruction_template="Instruct: {instruction}\nQuery: ",
apply_instruction_to_passages=False,
model_kwargs={"torch_dtype": torch.bfloat16},
trust_remote_code=True,
),
release_date="2025-04-22",
n_parameters=7241732096,
memory_usage_mb=27625,
embed_dim=4096,
license="apache-2.0",
max_tokens=32768,
reference="https://huggingface.co/GeoGPT-Research-Project/GeoEmbedding",
similarity_fn_name="cosine",
framework=["Sentence Transformers", "PyTorch"],
use_instructions=True,
public_training_code="",
public_training_data="",
training_datasets={
"ArguAna": ["test"],
"FEVER": ["train"],
"MSMARCO": ["train"],
"FiQA2018": ["train"],
"HotpotQA": ["train"],
"NFCorpus": ["train"],
"SciFact": ["train"],
"AmazonCounterfactualClassification": ["train"],
"AmazonPolarityClassification": ["train"],
"AmazonReviewsClassification": ["train"],
"Banking77Classification": ["train"],
"EmotionClassification": ["train"],
"MassiveIntentClassification": ["train"],
"MTOPDomainClassification": ["train"],
"MTOPIntentClassification": ["train"],
"ToxicConversationsClassification": ["train"],
"TweetSentimentExtractionClassification": ["train"],
"ArxivClusteringS2S": ["test"],
"ArxivClusteringP2P": ["test"],
"MedrixvClusteringS2S": ["test"],
"MedrixvClusteringP2P": ["test"],
"BiorxivClusteringS2S": ["test"],
"BiorxivClusteringP2P": ["test"],
"TwentyNewsgroupsClustering": ["test"],
"STS12": ["train"],
"STS22": ["train"],
"STSBenchmark": ["train"],
"StackOverflowDupQuestions": ["train"],
},
)
2 changes: 2 additions & 0 deletions mteb/models/overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
vlm2vec_models,
voyage_models,
voyage_v,
geogpt_models,
)

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -169,6 +170,7 @@
colpali_models,
colqwen_models,
colsmol_models,
geogpt_models,
]
MODEL_REGISTRY = {}

Expand Down