Hugging Face's logo Hugging Face
    • Models
    • Datasets
    • Pricing
      • Website
        • Metrics
        • Languages
        • Organizations
      • Community
        • Forum
        • Blog
        • GitHub
      • Documentation
        • Model Hub doc
        • Inference API doc
        • Transformers doc
        • Tokenizers doc
        • Datasets doc

    • Log In
    • Sign Up
    • Account
      • Log In
      • Sign Up
    • Website
      • Models
      • Datasets
      • Metrics
      • Languages
      • Organizations
      • Pricing
    • Community
      • Forum
      • Blog
    • Documentation
      • Model Hub doc
      • Inference API doc
      • Transformers doc
      • Tokenizers doc
      • Datasets doc

    's picture allenai
    /
    longformer-base-4096

    PyTorch TensorFlow Rust arxiv:2004.05150 longformer
    Model card Files and versions

      How to use from the 🤗/transformers library:

                      from transformers import AutoTokenizer, AutoModel
        
        tokenizer = AutoTokenizer.from_pretrained("allenai/longformer-base-4096")
        
        model = AutoModel.from_pretrained("allenai/longformer-base-4096")
                  

      Or just clone the model repo

        git lfs install
        git clone https://huggingface.co/allenai/longformer-base-4096
        
      # if you want to clone without large files – just their pointers # prepend your git clone with the following env var:
      GIT_LFS_SKIP_SMUDGE=1
      • main
    allenai/longformer-base-4096 /
    History: 8 commits
    guillaume-be's picture
    guillaume-be
    Addition of Rust model 18dee75 1 month ago
    • .gitattributes 345.0B initial commit 9 months ago
    • README.md 1.2KB Migrate model card from transformers-repo 2 months ago
    • config.json 694.0B Update config.json 6 months ago
    • merges.txt 445.6KB Add vocab 3 months ago
    • pytorch_model.bin 569.6MB Update pytorch_model.bin 9 months ago
    • rust_model.ot 716.9MB Addition of Rust model 1 month ago
    • tf_model.h5 729.1MB Update tf_model.h5 6 months ago
    • vocab.json 877.8KB Add vocab 3 months ago