cnndm-summ

bart-base fine-tuned for one epoch on 40k CNN/DailyMail 3.0.0 articles (fp16, label smoothing 0.1, input cut at 512 tokens). the input starts with a length prefix: summarize short: , summarize medium: or summarize long: , chosen from the tertiles of the reference length (41 and 55 words).

on a fixed random 2,000-article test subset with the medium prefix and beam 4: rouge-1 40.5, rouge-2 18.0, rouge-lsum 37.1. the browser version (smaller vocabulary, int8) is in cnndm-summ-onnx.

from transformers import pipeline
s = pipeline("summarization", model="manasrpandya/cnndm-summ")
s("summarize medium: " + article, num_beams=4, max_length=142, no_repeat_ngram_size=3)

code: https://github.com/manasrpandya/NLP_CV_Lab/tree/main/projects/03-summarization

Downloads last month
61
Safetensors
Model size
0.1B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for manasrpandya/cnndm-summ

Finetuned
(532)
this model

Dataset used to train manasrpandya/cnndm-summ