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

yhavinga
/
mt5-base-cnn-nl

Summarization
Transformers
PyTorch
mt5
text2text-generation
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use yhavinga/mt5-base-cnn-nl 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="yhavinga/mt5-base-cnn-nl")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("yhavinga/mt5-base-cnn-nl")
    model = AutoModelForSeq2SeqLM.from_pretrained("yhavinga/mt5-base-cnn-nl")
  • Notebooks
  • Google Colab
  • Kaggle
mt5-base-cnn-nl
2.33 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Yeb Havinga
Add model and card
b2764d1 about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    3.78 kB
    Add model and card about 5 years ago
  • all_results.json
    624 Bytes
    Add model and card about 5 years ago
  • config.json
    1.07 kB
    Add model and card about 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.33 GB
    xet
    Add model and card about 5 years ago
  • special_tokens_map.json
    65 Bytes
    Add model and card about 5 years ago
  • spiece.model
    4.31 MB
    xet
    Add model and card about 5 years ago
  • test_results.json
    261 Bytes
    Add model and card about 5 years ago
  • tokenizer_config.json
    351 Bytes
    Add model and card about 5 years ago
  • train_results.json
    117 Bytes
    Add model and card about 5 years ago
  • trainer_state.json
    10.7 kB
    Add model and card about 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

    • "transformers.trainer_utils.EvaluationStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "seq2seq_training_args.Seq2SeqTrainingArguments"

    How to fix it?

    2.48 kB
    xet
    Add model and card about 5 years ago
  • val_results.json
    268 Bytes
    Add model and card about 5 years ago