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

iamleonie
/
leonies-test

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

Instructions to use iamleonie/leonies-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use iamleonie/leonies-test with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("iamleonie/leonies-test")
    
    sentences = [
        "How are retail sales data integrated into trading models?",
        "Lagged variables represent historical values of a time series variable and are used in forecasting models to capture the impact of past observations on future market trends, enhancing the accuracy of predictions by incorporating relevant historical information.",
        "Retail sales data reflect consumer spending patterns and overall economic activity. Traders analyze this indicator to gauge consumer confidence, sectoral performance, and potential market trends related to retail-focused stocks.",
        "Regulatory approval for a new drug can have a positive impact on a pharmaceutical company's stock price as it opens up new revenue streams and market opportunities."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
leonies-test
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
iamleonie's picture
iamleonie
Add new SentenceTransformer model
5d6f1e6 verified 12 months ago
  • 1_Pooling
    Add new SentenceTransformer model 12 months ago
  • .gitattributes
    1.52 kB
    initial commit 12 months ago
  • README.md
    22.1 kB
    Add new SentenceTransformer model 12 months ago
  • config.json
    696 Bytes
    Add new SentenceTransformer model 12 months ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model 12 months ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model 12 months ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model 12 months ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model 12 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 12 months ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 12 months ago
  • tokenizer_config.json
    1.27 kB
    Add new SentenceTransformer model 12 months ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model 12 months ago