SummerTime / model /defaults.py
akhaliq3
spaces demo
546a9ba
raw history blame
No virus
316 Bytes
from .single_doc import PegasusModel
class summarizer(PegasusModel):
def __init__(self, device="cpu"):
super(summarizer, self).__init__(device)
def show_capability(self):
print("Pegasus is the default singe-document summarization model.")
super(summarizer, self).show_capability()