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

OPI-PIB
/
pl-ModernBERT-base

Fill-Mask
Transformers
Safetensors
Polish
modernbert
polish
encoder
masked-language-modeling
nlp
long-context
Model card Files Files and versions
xet
Community

Instructions to use OPI-PIB/pl-ModernBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use OPI-PIB/pl-ModernBERT-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="OPI-PIB/pl-ModernBERT-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("OPI-PIB/pl-ModernBERT-base")
    model = AutoModelForMaskedLM.from_pretrained("OPI-PIB/pl-ModernBERT-base", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
pl-ModernBERT-base
601 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
mmichall's picture
mmichall
Update README.md
11ddc82 verified 3 days ago
  • .gitattributes
    1.52 kB
    initial commit 24 days ago
  • README.md
    102 kB
    Update README.md 3 days ago
  • config.json
    1.04 kB
    Upload 5 files 17 days ago
  • model.safetensors
    598 MB
    xet
    Upload 5 files 17 days ago
  • special_tokens_map.json
    964 Bytes
    Upload 5 files 17 days ago
  • tokenizer.json
    3.36 MB
    Upload 5 files 17 days ago
  • tokenizer_config.json
    1.33 kB
    Upload 5 files 17 days ago