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

mrm8488
/
bert2bert_shared-spanish-finetuned-summarization

Summarization
Transformers
PyTorch
Safetensors
Spanish
encoder-decoder
text2text-generation
news
Model card Files Files and versions
xet
Community
2

Instructions to use mrm8488/bert2bert_shared-spanish-finetuned-summarization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mrm8488/bert2bert_shared-spanish-finetuned-summarization 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="mrm8488/bert2bert_shared-spanish-finetuned-summarization")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("mrm8488/bert2bert_shared-spanish-finetuned-summarization")
    model = AutoModelForSeq2SeqLM.from_pretrained("mrm8488/bert2bert_shared-spanish-finetuned-summarization")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bert2bert_shared-spanish-finetuned-summarization
1.11 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
mrm8488's picture
mrm8488
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
0d0f875 about 3 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    7.2 kB
    Update README.md almost 5 years ago
  • config.json
    4.51 kB
    Initial commit from mrm8488 about 5 years ago
  • model.safetensors
    555 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    556 MB
    xet
    Initial commit from mrm8488 about 5 years ago
  • special_tokens_map.json
    112 Bytes
    Initial commit from mrm8488 about 5 years ago
  • tokenizer_config.json
    520 Bytes
    Update tokenizer config about 5 years ago
  • training_args.bin

    Detected Pickle imports (4)

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

    How to fix it?

    2.54 kB
    xet
    Initial commit from mrm8488 about 5 years ago
  • vocab.txt
    242 kB
    Initial commit from mrm8488 about 5 years ago