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

VietAI
/
vit5-base-vietnews-summarization

Summarization
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Vietnamese
t5
text2text-generation
text-generation-inference
Model card Files Files and versions
xet
Community
2

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

  • Libraries
  • Transformers

    How to use VietAI/vit5-base-vietnews-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="VietAI/vit5-base-vietnews-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("VietAI/vit5-base-vietnews-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/vit5-base-vietnews-summarization")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
vit5-base-vietnews-summarization
2.72 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 6 commits
justinphan3110's picture
justinphan3110
Update README.md
a54febd over 3 years ago
  • .gitattributes
    1.38 kB
    initial commit almost 4 years ago
  • README.md
    2.56 kB
    Update README.md over 3 years ago
  • config.json
    702 Bytes
    Update config.json over 3 years ago
  • flax_model.msgpack
    904 MB
    xet
    Add models 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?

    904 MB
    xet
    Add models almost 4 years ago
  • special_tokens_map.json
    2.12 kB
    Add models almost 4 years ago
  • spiece.model
    820 kB
    xet
    Add models almost 4 years ago
  • tf_model.h5
    904 MB
    xet
    Add models almost 4 years ago
  • tokenizer.json
    2.4 MB
    Add models almost 4 years ago
  • tokenizer_config.json
    2.2 kB
    Add models almost 4 years ago