Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

adevbanshi
/
fine_tuned_pegasus

Summarization
Transformers
Safetensors
English
pegasus
text2text-generation
code
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use adevbanshi/fine_tuned_pegasus 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="adevbanshi/fine_tuned_pegasus")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("adevbanshi/fine_tuned_pegasus")
    model = AutoModelForSeq2SeqLM.from_pretrained("adevbanshi/fine_tuned_pegasus")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    1.83 kB
    Update README.md almost 2 years ago
  • config.json
    1.32 kB
    Upload PegasusForConditionalGeneration almost 2 years ago
  • generation_config.json
    275 Bytes
    Upload PegasusForConditionalGeneration almost 2 years ago
  • model.safetensors
    2.28 GB
    xet
    Upload PegasusForConditionalGeneration almost 2 years ago
  • special_tokens_map.json
    1.77 kB
    Upload tokenizer almost 2 years ago
  • spiece.model
    1.91 MB
    xet
    Upload tokenizer almost 2 years ago
  • tokenizer.json
    6.6 MB
    Upload tokenizer almost 2 years ago
  • tokenizer_config.json
    20.1 kB
    Upload tokenizer almost 2 years ago