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

jmroth
/
nlp-biencoder-finetuned

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:4122
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use jmroth/nlp-biencoder-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jmroth/nlp-biencoder-finetuned with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jmroth/nlp-biencoder-finetuned")
    
    sentences = [
        "Environment Minister Greg Hunt the Coalition's emissions reduction fund, at $13.95 per tonne of carbon, is around 1 per cent of the cost of reducing carbon under the former Labor government's carbon pricing scheme, which he cost $1,300 a tonne.",
        "Sirius's heliacal rising, just before the start of the Nile flood, gave Sopdet a close connection with the flood and the resulting growth of plants.",
        "The proposal would have set an emissions price of NZ$15 per tonne of CO2-equivalent.",
        "\"More recently, evaporation over lakes has steadily been increasing, largely due to increases in water surface temperature,\" Gronewold said."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
nlp-biencoder-finetuned
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
jmroth's picture
jmroth
Add new SentenceTransformer model
a76d583 verified 15 days ago
  • 1_Pooling
    Add new SentenceTransformer model 15 days ago
  • .gitattributes
    1.52 kB
    initial commit 15 days ago
  • README.md
    21.7 kB
    Add new SentenceTransformer model 15 days ago
  • config.json
    744 Bytes
    Add new SentenceTransformer model 15 days ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 15 days ago
  • model.safetensors
    90.9 MB
    xet
    Add new SentenceTransformer model 15 days ago
  • modules.json
    429 Bytes
    Add new SentenceTransformer model 15 days ago
  • sentence_bert_config.json
    241 Bytes
    Add new SentenceTransformer model 15 days ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 15 days ago
  • tokenizer_config.json
    374 Bytes
    Add new SentenceTransformer model 15 days ago