Summarization
Transformers
PyTorch
English
encoder-decoder
text2text-generation
Eval Results (legacy)
Instructions to use patrickvonplaten/bert2bert_cnn_daily_mail with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use patrickvonplaten/bert2bert_cnn_daily_mail 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="patrickvonplaten/bert2bert_cnn_daily_mail")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("patrickvonplaten/bert2bert_cnn_daily_mail") model = AutoModelForSeq2SeqLM.from_pretrained("patrickvonplaten/bert2bert_cnn_daily_mail") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 2d19926d67633ca48c836dca9aededc9b118469b5aaa7a7e286d804c86f7f988
- Size of remote file:
- 990 MB
- SHA256:
- c42e5122d8eaf2192d3da7cd4fa360d1cfad98ca07ffe6a9a3aeb8ea1e525dd9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.