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

Varadkadtan
/
varad-cnn-t5

Summarization
Transformers
PyTorch
English
mt5
text2text-generation
Model card Files Files and versions
xet
Community
1

Instructions to use Varadkadtan/varad-cnn-t5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Varadkadtan/varad-cnn-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="Varadkadtan/varad-cnn-t5")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Varadkadtan/varad-cnn-t5")
    model = AutoModelForSeq2SeqLM.from_pretrained("Varadkadtan/varad-cnn-t5")
  • Notebooks
  • Google Colab
  • Kaggle
varad-cnn-t5
2.35 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Varadkadtan's picture
Varadkadtan
Update README.md
e0cd0f9 over 2 years ago
  • .gitattributes
    1.57 kB
    Upload 10 files over 2 years ago
  • README.md
    8.22 kB
    Update README.md over 2 years ago
  • added_tokens.json
    1.39 kB
    Upload 10 files over 2 years ago
  • config.json
    4.15 kB
    Upload 10 files over 2 years ago
  • generation_config.json
    210 Bytes
    Upload 10 files over 2 years ago
  • merges.txt
    456 kB
    Upload 10 files over 2 years ago
  • pytorch_model.bin
    2.33 GB
    xet
    Upload 10 files over 2 years ago
  • special_tokens_map.json
    1.19 kB
    Upload 10 files over 2 years ago
  • spiece.model
    4.31 MB
    xet
    Upload 10 files over 2 years ago
  • tokenizer.json
    16.3 MB
    xet
    Upload 10 files over 2 years ago
  • tokenizer_config.json
    10.1 kB
    Upload 10 files over 2 years ago
  • vocab.json
    798 kB
    Upload 10 files over 2 years ago