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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

UX4567
/
Text-Summarizer-t5-small

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

Instructions to use UX4567/Text-Summarizer-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use UX4567/Text-Summarizer-t5-small 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="UX4567/Text-Summarizer-t5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("UX4567/Text-Summarizer-t5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("UX4567/Text-Summarizer-t5-small", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Text-Summarizer-t5-small
173 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
UX4567's picture
UX4567
Update README.md
53adb6a verified about 1 month ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    1.33 kB
    Update README.md about 1 month ago
  • adapter_config.json
    1.08 kB
    Upload model about 1 month ago
  • adapter_model.safetensors
    40 Bytes
    xet
    Upload model about 1 month ago
  • config.json
    1.56 kB
    Upload T5ForConditionalGeneration about 1 month ago
  • generation_config.json
    142 Bytes
    Upload T5ForConditionalGeneration about 1 month ago
  • model.safetensors
    171 MB
    xet
    Upload T5ForConditionalGeneration about 1 month ago
  • tokenizer.json
    2.42 MB
    Upload tokenizer about 1 month ago
  • tokenizer_config.json
    2.38 kB
    Upload tokenizer about 1 month ago