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/s0-baseline-Mistral-7B-v0.1")

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]

s0-baseline-Mistral-7B-v0.1

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 baseline retriever with uniform sampling weights 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/s0-baseline-Mistral-7B-v0.1

Finetuned
(949)
this model

Dataset used to train tdro-llm/s0-baseline-Mistral-7B-v0.1

Paper for tdro-llm/s0-baseline-Mistral-7B-v0.1