Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

HydroEmbed
/
HydroEmbed-OpenQA-MiniLM-DualLoss

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:4338
loss:CosineSimilarityLoss
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use HydroEmbed/HydroEmbed-OpenQA-MiniLM-DualLoss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use HydroEmbed/HydroEmbed-OpenQA-MiniLM-DualLoss with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("HydroEmbed/HydroEmbed-OpenQA-MiniLM-DualLoss")
    
    sentences = [
        "What are the main climatic factors influencing water level fluctuations in lakes, particularly in semi-arid regions?",
        "The main climatic factors influencing water level fluctuations in lakes in semi-arid regions include potential evapotranspiration, precipitation, temperature, and vapor pressure.",
        "Bias correction improves the accuracy of satellite precipitation data, enhancing its effectiveness in streamflow simulation.",
        "Climate change is associated with an increase in the frequency and intensity of extreme rainfall events, although regional variations can complicate the detection of consistent trends."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
HydroEmbed-OpenQA-MiniLM-DualLoss
91.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
rsajja's picture
rsajja
Add new SentenceTransformer model
8ec9e55 verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    19.9 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    642 Bytes
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    214 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    368 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    732 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.53 kB
    Add new SentenceTransformer model about 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model about 1 year ago