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

mjbommar
/
ogbert-v1-mlm

Fill-Mask
Transformers
Safetensors
English
modernbert
masked-language-model
dictionary
encyclopedia
glossary
embeddings
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use mjbommar/ogbert-v1-mlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mjbommar/ogbert-v1-mlm with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="mjbommar/ogbert-v1-mlm")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("mjbommar/ogbert-v1-mlm")
    model = AutoModelForMaskedLM.from_pretrained("mjbommar/ogbert-v1-mlm")
  • Notebooks
  • Google Colab
  • Kaggle
ogbert-v1-mlm
148 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
mjbommar's picture
mjbommar
Fix tokenizer to not produce token_type_ids (ModernBERT compatibility)
0a39df9 verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    8.18 kB
    Fix model-index metadata (add dataset fields) 5 months ago
  • config.json
    1.57 kB
    Upload OGBert v1 MLM model 5 months ago
  • model.safetensors
    145 MB
    xet
    Upload OGBert v1 MLM model 5 months ago
  • tokenizer.json
    2.25 MB
    Upload OGBert v1 MLM tokenizer 5 months ago
  • tokenizer_config.json
    696 Bytes
    Fix tokenizer to not produce token_type_ids (ModernBERT compatibility) 5 months ago