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

marianna13
/
flan-t5-base-summarization

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

Instructions to use marianna13/flan-t5-base-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use marianna13/flan-t5-base-summarization 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="marianna13/flan-t5-base-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("marianna13/flan-t5-base-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("marianna13/flan-t5-base-summarization")
  • Notebooks
  • Google Colab
  • Kaggle
flan-t5-base-summarization
994 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
marianna13's picture
marianna13
Update README.md
85b418b almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.26 kB
    Update README.md almost 3 years ago
  • config.json
    1.53 kB
    initial almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    990 MB
    xet
    initial almost 3 years ago
  • special_tokens_map.json
    2.2 kB
    initial almost 3 years ago
  • spiece.model
    792 kB
    xet
    initial almost 3 years ago
  • tokenizer.json
    2.42 MB
    initial almost 3 years ago
  • tokenizer_config.json
    2.54 kB
    initial almost 3 years ago