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

PhucMap
/
ViSenSum

Summarization
Transformers
PyTorch
Safetensors
Vietnamese
mbart
text2text-generation
Model card Files Files and versions
xet
Community
1

Instructions to use PhucMap/ViSenSum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use PhucMap/ViSenSum 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="PhucMap/ViSenSum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("PhucMap/ViSenSum")
    model = AutoModelForSeq2SeqLM.from_pretrained("PhucMap/ViSenSum")
  • Notebooks
  • Google Colab
  • Kaggle
ViSenSum
532 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
PhucMap's picture
PhucMap
Upload tokenizer
ea0aa6c over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • added_tokens.json
    75 Bytes
    Upload tokenizer over 2 years ago
  • config.json
    997 Bytes
    Upload MBartForConditionalGeneration over 2 years ago
  • dict.txt
    360 kB
    Upload tokenizer over 2 years ago
  • generation_config.json
    161 Bytes
    Upload MBartForConditionalGeneration over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    526 MB
    xet
    Upload MBartForConditionalGeneration over 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload tokenizer over 2 years ago
  • special_tokens_map.json
    267 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    1.32 kB
    Upload tokenizer over 2 years ago