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 / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Shuu12121's picture
Shuu12121
Upload ModernBERT model
3dbe8f9 about 1 year ago
  • config.json
    296 Bytes
    Upload ModernBERT model about 1 year ago