Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

efederici
/
it5-base-summarization

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

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

  • Libraries
  • Transformers

    How to use efederici/it5-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="efederici/it5-base-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("efederici/it5-base-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("efederici/it5-base-summarization")
  • Notebooks
  • Google Colab
  • Kaggle
it5-base-summarization
2.97 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
efederici's picture
efederici
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
f1c805f almost 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • README.md
    166 Bytes
    Update README.md over 4 years ago
  • config.json
    919 Bytes
    Update config.json over 4 years ago
  • flax_model.msgpack
    990 MB
    xet
    Update model files over 4 years ago
  • model.safetensors
    990 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    990 MB
    xet
    Update model files over 4 years ago
  • tokenizer.json
    1.01 MB
    Update model files over 4 years ago