How to use from the
Use from the
Transformers library
# 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="flax-community/t5-base-cnn-dm")
# Load model directly
from transformers import AutoTokenizer, AutoModelForMultimodalLM

tokenizer = AutoTokenizer.from_pretrained("flax-community/t5-base-cnn-dm")
model = AutoModelForMultimodalLM.from_pretrained("flax-community/t5-base-cnn-dm")
Quick Links

Model

This model is fine-tuned from https://huggingface.co/flax-community/t5-base-openwebtext, fine-tuned on cnn_dailymail.

Downloads last month
76
Safetensors
Model size
0.2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for flax-community/t5-base-cnn-dm

Finetunes
2 models

Dataset used to train flax-community/t5-base-cnn-dm

Space using flax-community/t5-base-cnn-dm 1

Evaluation results