Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mjbommar
/
ogbert-2m-base

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

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

  • Libraries
  • Transformers

    How to use mjbommar/ogbert-2m-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="mjbommar/ogbert-2m-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("mjbommar/ogbert-2m-base")
    model = AutoModelForMaskedLM.from_pretrained("mjbommar/ogbert-2m-base")
  • Notebooks
  • Google Colab
  • Kaggle
ogbert-2m-base
9.04 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mjbommar's picture
mjbommar
Upload README.md with huggingface_hub
d7ffe7a verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    3.04 kB
    Upload README.md with huggingface_hub 5 months ago
  • config.json
    1.52 kB
    Upload folder using huggingface_hub 5 months ago
  • model.safetensors
    8.49 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • special_tokens_map.json
    189 Bytes
    Upload folder using huggingface_hub 5 months ago
  • tokenizer.json
    534 kB
    Upload folder using huggingface_hub 5 months ago
  • tokenizer_config.json
    467 Bytes
    Upload folder using huggingface_hub 5 months ago