Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

LEIA
/
LEIA-LM-base

Fill-Mask
Transformers
PyTorch
English
roberta
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use LEIA/LEIA-LM-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="LEIA/LEIA-LM-base")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("LEIA/LEIA-LM-base")
    model = AutoModelForMaskedLM.from_pretrained("LEIA/LEIA-LM-base", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
LEIA-LM-base
2.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
b9ad198 verified almost 2 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    755 Bytes
    Update README.md over 2 years ago
  • added_tokens.json
    17 Bytes
    Upload with huggingface_hub over 3 years ago
  • bpe.codes
    1.08 MB
    Upload with huggingface_hub over 3 years ago
  • config.json
    725 Bytes
    Upload with huggingface_hub over 3 years ago
  • model.safetensors
    540 MB
    xet
    Adding `safetensors` variant of this model almost 2 years ago
  • optimizer.pt
    1.08 GB
    xet
    Upload with huggingface_hub over 3 years ago
  • pytorch_model.bin
    540 MB
    xet
    Upload with huggingface_hub over 3 years ago
  • rng_state.pth
    14.5 kB
    xet
    Upload with huggingface_hub over 3 years ago
  • scheduler.pt
    623 Bytes
    xet
    Upload with huggingface_hub over 3 years ago
  • special_tokens_map.json
    150 Bytes
    Upload with huggingface_hub over 3 years ago
  • tokenizer_config.json
    357 Bytes
    Upload with huggingface_hub over 3 years ago
  • trainer_state.json
    23.1 kB
    Upload with huggingface_hub over 3 years ago
  • training_args.bin
    2.74 kB
    xet
    Upload with huggingface_hub over 3 years ago
  • vocab.txt
    843 kB
    Upload with huggingface_hub over 3 years ago