Spaces:
Build error
Build error
File size: 316 Bytes
7e3e85d |
1 2 3 4 5 6 7 8 9 10 11 |
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()
|