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

FacebookAI
/
xlm-mlm-en-2048

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
English
xlm
exbert
Model card Files Files and versions
xet
Community
2

Instructions to use FacebookAI/xlm-mlm-en-2048 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use FacebookAI/xlm-mlm-en-2048 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="FacebookAI/xlm-mlm-en-2048")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("FacebookAI/xlm-mlm-en-2048")
    model = AutoModelForMaskedLM.from_pretrained("FacebookAI/xlm-mlm-en-2048")
  • Notebooks
  • Google Colab
  • Kaggle
xlm-mlm-en-2048
5.59 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 15 commits
joaogante's picture
joaogante
Adding generation config file(s)
6eb6401 over 3 years ago
  • .gitattributes
    345 Bytes
    initial commit almost 7 years ago
  • README.md
    4.61 kB
    Add model card (#1) almost 4 years ago
  • config.json
    840 Bytes
    Update config.json about 6 years ago
  • generation_config.json
    116 Bytes
    Adding generation config file(s) over 3 years ago
  • merges.txt
    487 kB
    Update merges.txt almost 7 years ago
  • pytorch_model.bin
    2.67 GB
    xet
    Update pytorch_model.bin over 6 years ago
  • tf_model.h5
    2.92 GB
    xet
    Update tf_model.h5 over 6 years ago
  • tokenizer_config.json
    65 Bytes
    Update tokenizer_config.json almost 5 years ago
  • vocab.json
    646 kB
    Update vocab.json almost 7 years ago