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

harshrao-dev
/
text-summarizer-t5

Summarization
Transformers
Safetensors
PyTorch
English
t5
text2text-generation
text-generation
nlp
t5-small
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use harshrao-dev/text-summarizer-t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use harshrao-dev/text-summarizer-t5 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="harshrao-dev/text-summarizer-t5")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("harshrao-dev/text-summarizer-t5")
    model = AutoModelForSeq2SeqLM.from_pretrained("harshrao-dev/text-summarizer-t5")
  • Notebooks
  • Google Colab
  • Kaggle
text-summarizer-t5
244 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
harshrao-dev's picture
harshrao-dev
Update README.md
9cba088 verified 12 days ago
  • .gitattributes
    1.52 kB
    initial commit 12 days ago
  • README.md
    5.73 kB
    Update README.md 12 days ago
  • config.json
    1.62 kB
    Upload T5ForConditionalGeneration 12 days ago
  • generation_config.json
    149 Bytes
    Upload T5ForConditionalGeneration 12 days ago
  • model.safetensors
    242 MB
    xet
    Upload T5ForConditionalGeneration 12 days ago
  • tokenizer.json
    2.42 MB
    Upload tokenizer 12 days ago
  • tokenizer_config.json
    2.71 kB
    Upload tokenizer 12 days ago