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

lljllll2219
/
mt5-base-xlsum

Summarization
Transformers
PyTorch
mt5
text2text-generation
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

Instructions to use lljllll2219/mt5-base-xlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lljllll2219/mt5-base-xlsum 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="lljllll2219/mt5-base-xlsum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("lljllll2219/mt5-base-xlsum")
    model = AutoModelForSeq2SeqLM.from_pretrained("lljllll2219/mt5-base-xlsum")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-base-xlsum
2.35 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 6 commits
luo
Training complete
867bf73 over 2 years ago
  • .gitattributes
    1.57 kB
    Training in progress, step 500 over 2 years ago
  • README.md
    2.05 kB
    Training complete over 2 years ago
  • added_tokens.json
    44 Bytes
    Training in progress, step 500 over 2 years ago
  • config.json
    827 Bytes
    Training in progress, step 500 over 2 years ago
  • generation_config.json
    112 Bytes
    Training complete over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.33 GB
    xet
    Training in progress, step 2000 over 2 years ago
  • special_tokens_map.json
    74 Bytes
    Training in progress, step 500 over 2 years ago
  • spiece.model
    4.31 MB
    xet
    Training in progress, step 500 over 2 years ago
  • tokenizer.json
    16.3 MB
    xet
    Training in progress, step 500 over 2 years ago
  • tokenizer_config.json
    824 Bytes
    Training in progress, step 500 over 2 years ago
  • training_args.bin
    4.22 kB
    xet
    Training in progress, step 500 over 2 years ago