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

google
/
bigbird-pegasus-large-pubmed

Summarization
Transformers
PyTorch
English
bigbird_pegasus
text2text-generation
Eval Results (legacy)
Model card Files Files and versions
xet
Community
12

Instructions to use google/bigbird-pegasus-large-pubmed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use google/bigbird-pegasus-large-pubmed with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="google/bigbird-pegasus-large-pubmed")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("google/bigbird-pegasus-large-pubmed")
    model = AutoModelForSeq2SeqLM.from_pretrained("google/bigbird-pegasus-large-pubmed")
  • Notebooks
  • Google Colab
  • Kaggle
bigbird-pegasus-large-pubmed
4.62 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 13 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
4f6f9e7 about 3 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    4.35 kB
    Add evaluation results on scientific_papers dataset (#1) almost 4 years ago
  • config.json
    1.05 kB
    Update config.json almost 5 years ago
  • generation_config.json
    232 Bytes
    Adding generation config file(s) over 3 years ago
  • model.safetensors
    2.31 GB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.31 GB
    xet
    add ckpt-300000 about 5 years ago
  • special_tokens_map.json
    775 Bytes
    add ckpt-300000 about 5 years ago
  • spiece.model
    1.92 MB
    xet
    add ckpt-300000 about 5 years ago
  • tokenizer.json
    3.51 MB
    add model about 5 years ago
  • tokenizer_config.json
    1.2 kB
    add model about 5 years ago