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

gomyk
/
modernbert-student-modernbert_L4_uniform

Sentence Similarity
sentence-transformers
Safetensors
modernbert
multilingual
layer-pruning
vocab-pruning
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use gomyk/modernbert-student-modernbert_L4_uniform with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use gomyk/modernbert-student-modernbert_L4_uniform with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("gomyk/modernbert-student-modernbert_L4_uniform")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-student-modernbert_L4_uniform
146 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
gomyk's picture
gomyk
Upload modernbert_L4_uniform (pruned) from ModernBERT
d1a010e verified 4 months ago
  • 1_Pooling
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    10 kB
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • config.json
    1.25 kB
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • config_sentence_transformers.json
    297 Bytes
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • model.safetensors
    144 MB
    xet
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • modules.json
    242 Bytes
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • sentence_bert_config.json
    61 Bytes
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • special_tokens_map.json
    731 Bytes
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • tokenizer.json
    1.32 MB
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago
  • tokenizer_config.json
    2.18 kB
    Upload modernbert_L4_uniform (pruned) from ModernBERT 4 months ago