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

NotXia
/
longformer-bio-ext-summ

Summarization
Transformers
PyTorch
English
longformer-bio-ext-summ
feature-extraction
custom_code
Model card Files Files and versions
xet
Community
1

Instructions to use NotXia/longformer-bio-ext-summ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use NotXia/longformer-bio-ext-summ 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="NotXia/longformer-bio-ext-summ", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("NotXia/longformer-bio-ext-summ", trust_remote_code=True, dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
longformer-bio-ext-summ
653 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
NotXia's picture
NotXia
Update README.md
245f41d verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.38 kB
    Update README.md over 2 years ago
  • config.json
    459 Bytes
    Add model almost 3 years ago
  • configuration.py
    287 Bytes
    Add model almost 3 years ago
  • merges.txt
    456 kB
    Add model almost 3 years ago
  • model.py
    1.58 kB
    Add model almost 3 years ago
  • pipeline.py
    4.6 kB
    Add scores in output over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    651 MB
    xet
    Add model almost 3 years ago
  • special_tokens_map.json
    957 Bytes
    Add model almost 3 years ago
  • summary.py
    3.45 kB
    Add model almost 3 years ago
  • tokenizer_config.json
    1.32 kB
    Add model almost 3 years ago
  • transformerutils.py
    2.09 kB
    Add model almost 3 years ago
  • utilities.py
    147 Bytes
    Add model almost 3 years ago
  • vocab.json
    999 kB
    Add model almost 3 years ago