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

recogna-nlp
/
ptt5-base-summ-wikilingua

Summarization
Transformers
PyTorch
Safetensors
Portuguese
t5
text2text-generation
pt-br
abstractive summarization
text-generation-inference
Model card Files Files and versions
xet
Community
1

Instructions to use recogna-nlp/ptt5-base-summ-wikilingua with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use recogna-nlp/ptt5-base-summ-wikilingua 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="recogna-nlp/ptt5-base-summ-wikilingua")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("recogna-nlp/ptt5-base-summ-wikilingua")
    model = AutoModelForSeq2SeqLM.from_pretrained("recogna-nlp/ptt5-base-summ-wikilingua")
  • Notebooks
  • Google Colab
  • Kaggle
ptt5-base-summ-wikilingua
1.78 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 13 commits
phpaiola's picture
phpaiola
Update README.md
53a9465 over 2 years ago
  • .gitattributes
    1.39 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    7.4 kB
    Update README.md over 2 years ago
  • config.json
    672 Bytes
    Upload config.json over 3 years ago
  • model.safetensors
    892 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    892 MB
    xet
    Upload pytorch_model.bin over 3 years ago
  • special_tokens_map.json
    1.79 kB
    Upload special_tokens_map.json over 3 years ago
  • spiece.model
    756 kB
    xet
    Upload spiece.model over 3 years ago
  • tokenizer_config.json
    1.92 kB
    Upload tokenizer_config.json over 3 years ago