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

LeoCordoba
/
mt5-small-mlsum

Summarization
Transformers
PyTorch
JAX
Safetensors
Spanish
mt5
text2text-generation
sagemaker
spanish
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

Instructions to use LeoCordoba/mt5-small-mlsum with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use LeoCordoba/mt5-small-mlsum 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="LeoCordoba/mt5-small-mlsum")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("LeoCordoba/mt5-small-mlsum")
    model = AutoModelForSeq2SeqLM.from_pretrained("LeoCordoba/mt5-small-mlsum", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-small-mlsum
3.61 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 16 commits
LeoCordoba's picture
LeoCordoba
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
58466f3 about 3 years ago
  • .gitattributes
    836 Bytes
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    5.43 kB
    Update README.md about 4 years ago
  • all_results.json
    1.34 kB
    commit files to HF hub over 5 years ago
  • config.json
    658 Bytes
    commit files to HF hub over 5 years ago
  • eval_results.json
    463 Bytes
    commit files to HF hub over 5 years ago
  • flax_model.msgpack
    1.2 GB
    xet
    upload flax model about 5 years ago
  • metadata.json
    2.44 kB
    commit files to HF hub over 5 years ago
  • model.safetensors
    1.2 GB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    1.2 GB
    xet
    commit files to HF hub over 5 years ago
  • special_tokens_map.json
    65 Bytes
    commit files to HF hub over 5 years ago
  • spiece.model
    4.31 MB
    xet
    commit files to HF hub over 5 years ago
  • test_generations.txt
    1.71 MB
    commit files to HF hub over 5 years ago
  • test_results.json
    443 Bytes
    commit files to HF hub over 5 years ago
  • tokenizer_config.json
    360 Bytes
    commit files to HF hub over 5 years ago
  • train_results.json
    460 Bytes
    commit files to HF hub over 5 years ago
  • trainer_state.json
    14.7 kB
    commit files to HF hub over 5 years ago
  • training_args.bin
    2.35 kB
    xet
    commit files to HF hub over 5 years ago