abisee/cnn_dailymail
Viewer • Updated • 936k • 66.9k • 353
How to use braindao/flan-t5-cnn with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("braindao/flan-t5-cnn")
model = AutoModelForSeq2SeqLM.from_pretrained("braindao/flan-t5-cnn", device_map="auto")This model is a fine-tuned version of google/flan-t5-base on the cnn_dailymail 3.0.0 dataset. It achieves the following results on the evaluation set:
The information below in this section are copied from the model's official model card:
Language models, including Flan-T5, can potentially be used for language generation in a harmful way, according to Rae et al. (2021). Flan-T5 should not be used directly in any application,
Training procedure example notebook for flan-T5 and pushing it to hub https://github.com/EveripediaNetwork/ai/blob/main/notebooks/Fine-Tuning-Flan-T5_1.ipynb
The following hyperparameters were used during training: