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

patrickvonplaten
/
longformer-random-tiny

Feature Extraction
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
longformer
Model card Files Files and versions
xet
Community
3

Instructions to use patrickvonplaten/longformer-random-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use patrickvonplaten/longformer-random-tiny with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="patrickvonplaten/longformer-random-tiny")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMultimodalLM
    
    tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/longformer-random-tiny")
    model = AutoModelForMultimodalLM.from_pretrained("patrickvonplaten/longformer-random-tiny")
  • Notebooks
  • Google Colab
  • Kaggle
longformer-random-tiny
125 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
patrickvonplaten's picture
patrickvonplaten
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#3)
d85d8ea about 3 years ago
  • .gitattributes
    345 Bytes
    initial commit almost 6 years ago
  • config.json
    570 Bytes
    Update config.json almost 6 years ago
  • model.safetensors
    17.3 kB
    Adding `safetensors` variant of this model (#3) about 3 years ago
  • pytorch_model.bin
    22.3 kB
    xet
    Update pytorch_model.bin almost 6 years ago
  • tf_model.h5
    84 kB
    xet
    Update tf_model.h5 almost 6 years ago