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

Shanny
/
Longformer_Unigram_

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

Instructions to use Shanny/Longformer_Unigram_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Shanny/Longformer_Unigram_ with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="Shanny/Longformer_Unigram_")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("Shanny/Longformer_Unigram_")
    model = AutoModelForMaskedLM.from_pretrained("Shanny/Longformer_Unigram_")
  • Notebooks
  • Google Colab
  • Kaggle
Longformer_Unigram_
32.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Shanny's picture
Shanny
Upload tokenizer
50f590c over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • config.json
    804 Bytes
    Upload LongformerForMaskedLM over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    32.4 MB
    xet
    Upload LongformerForMaskedLM over 3 years ago
  • special_tokens_map.json
    279 Bytes
    Upload tokenizer over 3 years ago
  • tokenizer.json
    231 kB
    Upload tokenizer over 3 years ago
  • tokenizer_config.json
    463 Bytes
    Upload tokenizer over 3 years ago
  • unigram.json
    194 kB
    Upload tokenizer over 3 years ago