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

  • Log In
  • Sign Up

mnaylor
/
mega-base-wikitext

Fill-Mask
Transformers
PyTorch
Safetensors
English
mega
Model card Files Files and versions
xet
Community
4

Instructions to use mnaylor/mega-base-wikitext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mnaylor/mega-base-wikitext with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="mnaylor/mega-base-wikitext")
    # Load model directly
    from transformers import AutoModelForMaskedLM
    model = AutoModelForMaskedLM.from_pretrained("mnaylor/mega-base-wikitext", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mega-base-wikitext
62 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
mnaylor's picture
mnaylor
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#4)
27ae0c8 almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    842 Bytes
    Update README.md about 3 years ago
  • config.json
    1.23 kB
    updating saved model after name change from encoders to layers in MegaModel about 3 years ago
  • merges.txt
    456 kB
    initial push of mega MLM checkpoint in HF classes about 3 years ago
  • model.safetensors
    29.3 MB
    xet
    Adding `safetensors` variant of this model (#4) almost 3 years ago
  • pytorch_model.bin
    29.3 MB
    xet
    Update model weights after renaming move as ema_gate about 3 years ago
  • special_tokens_map.json
    280 Bytes
    initial push of mega MLM checkpoint in HF classes about 3 years ago
  • tokenizer.json
    2.11 MB
    initial push of mega MLM checkpoint in HF classes about 3 years ago
  • tokenizer_config.json
    346 Bytes
    initial push of mega MLM checkpoint in HF classes about 3 years ago
  • vocab.json
    798 kB
    initial push of mega MLM checkpoint in HF classes about 3 years ago