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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

kiel2
/
KielEmbed-Code

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

Instructions to use kiel2/KielEmbed-Code with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use kiel2/KielEmbed-Code with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("kiel2/KielEmbed-Code")
    
    sentences = [
        "But Close wondered whether the package would be worth the cost of licensing the third-party software , along with Salesforce.com 's rental price .",
        "Close also questions whether it would be worth the cost of licensing third-party software , along with Salesforce.com 's rental price .",
        "No tumors were detected ; rather , empty cavities and scar tissue were found in their place .",
        "A race observer sits in the passenger seat of the follow vehicle to record any broken rules and also keep track of the car 's time ."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
KielEmbed-Code
502 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
kiel2's picture
kiel2
Update README.md
d40c276 verified 1 day ago
  • 1_Pooling
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    6.88 kB
    Update README.md 1 day ago
  • config.json
    694 Bytes
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • config_sentence_transformers.json
    284 Bytes
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • model.safetensors
    499 MB
    xet
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • modules.json
    277 Bytes
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • sentence_bert_config.json
    241 Bytes
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • tokenizer.json
    3.56 MB
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago
  • tokenizer_config.json
    388 Bytes
    Upload multi-domain fine-tuned KielEmbed-Code weights 1 day ago