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

codechrl
/
modernbert-tiny

Fill-Mask
Transformers
Safetensors
English
modernbert
distillation
knowledge-distillation
model-compression
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use codechrl/modernbert-tiny with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="codechrl/modernbert-tiny")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("codechrl/modernbert-tiny")
    model = AutoModelForMaskedLM.from_pretrained("codechrl/modernbert-tiny")
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-tiny
92 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
codechrl's picture
codechrl
modernbert-tiny: compressed ModernBERT base (tinybert)
75da445 verified 6 days ago
  • .gitattributes
    1.52 kB
    initial commit 6 days ago
  • README.md
    4.78 kB
    modernbert-tiny: compressed ModernBERT base (tinybert) 6 days ago
  • config.json
    1.49 kB
    modernbert-tiny: compressed ModernBERT base (tinybert) 6 days ago
  • model.safetensors
    88.4 MB
    xet
    modernbert-tiny: compressed ModernBERT base (tinybert) 6 days ago
  • tokenizer.json
    3.58 MB
    modernbert-tiny: compressed ModernBERT base (tinybert) 6 days ago
  • tokenizer_config.json
    380 Bytes
    modernbert-tiny: compressed ModernBERT base (tinybert) 6 days ago