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

JulesBelveze
/
t5-small-headline-generator

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

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

  • Libraries
  • Transformers

    How to use JulesBelveze/t5-small-headline-generator 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="JulesBelveze/t5-small-headline-generator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("JulesBelveze/t5-small-headline-generator")
    model = AutoModelForSeq2SeqLM.from_pretrained("JulesBelveze/t5-small-headline-generator")
  • Notebooks
  • Google Colab
  • Kaggle
t5-small-headline-generator
487 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 9 commits
JulesBelveze's picture
JulesBelveze
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
0db30a2 about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    1.85 kB
    Update README.md over 3 years ago
  • config.json
    1.48 kB
    add model almost 4 years ago
  • model.safetensors
    242 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    242 MB
    xet
    add model almost 4 years ago
  • special_tokens_map.json
    2.2 kB
    add tokenizer almost 4 years ago
  • spiece.model
    792 kB
    xet
    add tokenizer almost 4 years ago
  • tokenizer.json
    2.42 MB
    add tokenizer almost 4 years ago
  • tokenizer_config.json
    2.36 kB
    add tokenizer almost 4 years ago