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

  • Log In
  • Sign Up

deep-learning-analytics
/
wikihow-t5-small

Summarization
Transformers
PyTorch
English
t5
text2text-generation
wikihow
t5-small
lm-head
seq2seq
pipeline:summarization
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use deep-learning-analytics/wikihow-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use deep-learning-analytics/wikihow-t5-small 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="deep-learning-analytics/wikihow-t5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("deep-learning-analytics/wikihow-t5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("deep-learning-analytics/wikihow-t5-small")
  • Notebooks
  • Google Colab
  • Kaggle
wikihow-t5-small
243 MB
Ctrl+K
Ctrl+K
History: 37 commits
system's picture
system HF Staff
Update tokenizer_config.json
4fe8137 over 5 years ago
  • .gitattributes
    345 Bytes
    initial commit over 5 years ago
  • README.md
    5.96 kB
    Update README.md over 5 years ago
  • config.json
    736 Bytes
    Update config.json over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    242 MB
    xet
    Update pytorch_model.bin over 5 years ago
  • special_tokens_map.json
    1.79 kB
    Update special_tokens_map.json over 5 years ago
  • spiece.model
    792 kB
    Update spiece.model over 5 years ago
  • tokenizer_config.json
    25 Bytes
    Update tokenizer_config.json over 5 years ago