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

huggingface-course
/
mt5-small-finetuned-amazon-en-es

Summarization
Transformers
PyTorch
google-tensorflow TensorFlow
TensorBoard
mt5
text2text-generation
Generated from Trainer
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use huggingface-course/mt5-small-finetuned-amazon-en-es with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use huggingface-course/mt5-small-finetuned-amazon-en-es 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="huggingface-course/mt5-small-finetuned-amazon-en-es")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("huggingface-course/mt5-small-finetuned-amazon-en-es")
    model = AutoModelForSeq2SeqLM.from_pretrained("huggingface-course/mt5-small-finetuned-amazon-en-es")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-small-finetuned-amazon-en-es
Ctrl+K
Ctrl+K
  • 2 contributors
History: 44 commits
Rocketknight1's picture
Rocketknight1 HF Staff
Upload tf_model.h5 with git-lfs
7e7155d over 4 years ago
  • runs
    Training complete over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • .gitignore
    13 Bytes
    Training complete over 4 years ago
  • README.md
    2.28 kB
    Update README.md over 4 years ago
  • config.json
    682 Bytes
    Training in progress, step 500 over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.2 GB
    xet
    Training complete over 4 years ago
  • special_tokens_map.json
    65 Bytes
    Training complete over 4 years ago
  • spiece.model
    4.31 MB
    xet
    Training complete over 4 years ago
  • tf_model.h5
    1.2 GB
    xet
    Upload tf_model.h5 with git-lfs over 4 years ago
  • tokenizer.json
    8.33 MB
    Training complete over 4 years ago
  • tokenizer_config.json
    398 Bytes
    Training complete over 4 years ago
  • training_args.bin

    Detected Pickle imports (5)

    • "torch.device",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.training_args_seq2seq.Seq2SeqTrainingArguments",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    2.99 kB
    xet
    Training in progress, step 500 over 4 years ago