Sentence Similarity
sentence-transformers
Safetensors
How to use from the
Use from the
sentence-transformers library
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("tdro-llm/s2-tdro-Mistral-7B-v0.1-top70")

sentences = [
    "That is a happy person",
    "That is a happy dog",
    "That is a very happy person",
    "Today is a sunny day"
]
embeddings = model.encode(sentences)

similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [4, 4]

s2-tdro-Mistral-7B-v0.1-top70

Arxiv | Github

tDRO: Task-level Distributionally Robust Optimization for Large Language Model-based Dense Retrieval. Guangyuan Ma, Yongliang Ma, Xing Wu, Zhenpeng Su, Ming Zhou and Songlin Hu.

This is a fine-tuned tDRO optimized retriever with Dataset Selection Top-70% of tdro-llm/finetune_data.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tdro-llm/s2-tdro-Mistral-7B-v0.1-top70

Finetuned
(947)
this model

Dataset used to train tdro-llm/s2-tdro-Mistral-7B-v0.1-top70

Paper for tdro-llm/s2-tdro-Mistral-7B-v0.1-top70