Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

LequeuISIR
/
final-DPR-8e-05

Sentence Similarity
sentence-transformers
Safetensors
modernbert
feature-extraction
Generated from Trainer
dataset_size:478146
loss:CoSENTLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use LequeuISIR/final-DPR-8e-05 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use LequeuISIR/final-DPR-8e-05 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("LequeuISIR/final-DPR-8e-05")
    
    sentences = [
        "However, its underutilization is mainly due to the absence of a concrete and coherent dissemination strategy.",
        "At the same time, they need to understand that living in Europe brings great responsibilities in addition to great benefits.",
        "The mainstay of any intelligent and patriotic mineral policy can be summed up in the following postulate: \"since minerals are exhaustible, they should only be exploited with the maximum return for the economy of the country where they are mined\".",
        "We must move quickly to a shared sustainable energy supply, sustainable transportation and clean air."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
final-DPR-8e-05
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
LequeuISIR's picture
LequeuISIR
initial commit
40a4a2c verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago