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

  • Log In
  • Sign Up

sumedh
/
t5-base-amazonreviews

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

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

  • Libraries
  • Transformers

    How to use sumedh/t5-base-amazonreviews 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="sumedh/t5-base-amazonreviews")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("sumedh/t5-base-amazonreviews")
    model = AutoModelForSeq2SeqLM.from_pretrained("sumedh/t5-base-amazonreviews")
  • Notebooks
  • Google Colab
  • Kaggle
t5-base-amazonreviews
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
sumedh's picture
sumedh
Merge branch 'main' of https://huggingface.co/sumedh/t5-base-amazonreviews
b7f796a almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit almost 4 years ago
  • README.md
    293 Bytes
    Update README.md almost 4 years ago
  • config.json
    1.42 kB
    add files almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    892 MB
    xet
    add files almost 4 years ago
  • special_tokens_map.json
    1.79 kB
    add files almost 4 years ago
  • spiece.model
    792 kB
    xet
    add files almost 4 years ago
  • tokenizer_config.json
    1.95 kB
    add files almost 4 years ago