The default model loaded when creating a Summarizer
is now BEE-spoke-data/pegasus-x-base-synthsumm_open-16k which I trained on diverse data (including some code) to be a better generalist model than the previous default model based on booksum.
as before, you can load the old model/any model on the hub with:
from textsum.summarize import Summarizer
summarizer = Summarizer(model_name_or_path = "pszemraj/long-t5-tglobal-base-16384-book-summary")
What's Changed
Full Changelog: v0.2.1...v0.2.2