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

songhieng
/
khmer-mt5-summarization-1024tk

Summarization
Transformers
Safetensors
Khmer
mt5
text2text-generation
Model card Files Files and versions
xet
Community

Instructions to use songhieng/khmer-mt5-summarization-1024tk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use songhieng/khmer-mt5-summarization-1024tk 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="songhieng/khmer-mt5-summarization-1024tk")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("songhieng/khmer-mt5-summarization-1024tk")
    model = AutoModelForSeq2SeqLM.from_pretrained("songhieng/khmer-mt5-summarization-1024tk")
  • Notebooks
  • Google Colab
  • Kaggle
khmer-mt5-summarization-1024tk
1.21 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
songhieng's picture
songhieng
Update README.md
a1bdd8d verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    5.53 kB
    Update README.md about 1 year ago
  • config.json
    802 Bytes
    Upload MT5ForConditionalGeneration over 1 year ago
  • generation_config.json
    142 Bytes
    Upload MT5ForConditionalGeneration over 1 year ago
  • model.safetensors
    1.2 GB
    xet
    Upload MT5ForConditionalGeneration over 1 year ago
  • special_tokens_map.json
    416 Bytes
    Upload tokenizer over 1 year ago
  • spiece.model
    4.31 MB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    892 Bytes
    Upload tokenizer over 1 year ago