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

LaurentBlanc
/
t5-small-finetuned

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

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

  • Libraries
  • Transformers

    How to use LaurentBlanc/t5-small-finetuned 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="LaurentBlanc/t5-small-finetuned")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("LaurentBlanc/t5-small-finetuned")
    model = AutoModelForSeq2SeqLM.from_pretrained("LaurentBlanc/t5-small-finetuned", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
t5-small-finetuned
244 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
LaurentBlanc's picture
LaurentBlanc
Update README.md
26554b4 verified 11 months ago
  • .gitattributes
    1.52 kB
    initial commit 11 months ago
  • README.md
    178 Bytes
    Update README.md 11 months ago
  • config.json
    1.55 kB
    ADD: model 11 months ago
  • generation_config.json
    149 Bytes
    ADD: model 11 months ago
  • model.safetensors
    242 MB
    xet
    ADD: model 11 months ago
  • special_tokens_map.json
    2.67 kB
    ADD: model 11 months ago
  • tokenizer.json
    2.42 MB
    ADD: model 11 months ago
  • tokenizer_config.json
    21.7 kB
    ADD: model 11 months ago