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

  • Log In
  • Sign Up

Shuu12121
/
CodeSearch-ModernBERT-Owl-Plus

Sentence Similarity
sentence-transformers
Safetensors
Rust
English
modernbert
code
python
php
javascript
ruby
go
java
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Shuu12121/CodeSearch-ModernBERT-Owl-Plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Shuu12121/CodeSearch-ModernBERT-Owl-Plus with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Shuu12121/CodeSearch-ModernBERT-Owl-Plus")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
CodeSearch-ModernBERT-Owl-Plus
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Shuu12121's picture
Shuu12121
Update README.md
cb0edfe verified about 1 year ago
  • 1_Pooling
    Upload ModernBERT model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    3.03 kB
    Update README.md about 1 year ago
  • added_tokens.json
    73 Bytes
    Upload ModernBERT model about 1 year ago
  • config.json
    1.3 kB
    Upload ModernBERT model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Upload ModernBERT model about 1 year ago
  • merges.txt
    462 kB
    Upload ModernBERT model about 1 year ago
  • model.safetensors
    607 MB
    xet
    Upload ModernBERT model about 1 year ago
  • modules.json
    229 Bytes
    Upload ModernBERT model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Upload ModernBERT model about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload ModernBERT model about 1 year ago
  • tokenizer.json
    3.56 MB
    Upload ModernBERT model about 1 year ago
  • tokenizer_config.json
    2.15 kB
    Upload ModernBERT model about 1 year ago
  • vocab.json
    804 kB
    Upload ModernBERT model about 1 year ago