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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

VietAI
/
vit5-large-vietnews-summarization

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

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

  • Libraries
  • Transformers

    How to use VietAI/vit5-large-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-large-vietnews-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("VietAI/vit5-large-vietnews-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("VietAI/vit5-large-vietnews-summarization", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
vit5-large-vietnews-summarization
6.33 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 17 commits
justinphan3110's picture
justinphan3110
Update README.md
8926b4e about 4 years ago
  • .gitattributes
    1.17 kB
    initial commit over 4 years ago
  • README.md
    2.56 kB
    Update README.md about 4 years ago
  • config.json
    903 Bytes
    Update config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    3.17 GB
    xet
    Add vit5 large finetuned on vietnews over 4 years ago
  • spiece.model
    820 kB
    xet
    Upload spiece.model with git-lfs over 4 years ago
  • tf_model.h5
    3.17 GB
    xet
    Add vit5 large finetuned on vietnews over 4 years ago
  • tokenizer.json
    2.42 MB
    Upload tokenizer.json about 4 years ago