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

hafsteinn
/
icelandic-modernbert-base

Fill-Mask
Transformers
Safetensors
Icelandic
modernbert
icelandic
encoder
masked-lm
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use hafsteinn/icelandic-modernbert-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="hafsteinn/icelandic-modernbert-base")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("hafsteinn/icelandic-modernbert-base")
    model = AutoModelForMaskedLM.from_pretrained("hafsteinn/icelandic-modernbert-base", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
icelandic-modernbert-base
547 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
hafsteinn's picture
hafsteinn
icelandic-modernbert-base (main): public release, MIT licence
3cf2a3e about 6 hours ago
  • .gitattributes
    1.52 kB
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • DONE.json
    516 Bytes
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • README.md
    6.34 kB
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • config.json
    1.09 kB
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • export_check.json
    27 Bytes
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • log.txt
    46.2 kB
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • model.safetensors
    544 MB
    xet
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • param_counts.json
    79 Bytes
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • special_tokens_map.json
    221 Bytes
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • tokenizer.json
    2.43 MB
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago
  • tokenizer_config.json
    341 Bytes
    icelandic-modernbert-base (main): public release, MIT licence about 6 hours ago