longformer-bio-ext-summ / configuration.py
NotXia's picture
Add model
6f408cf unverified
raw
history blame
287 Bytes
from transformers import PretrainedConfig
class ExtSummConfig(PretrainedConfig):
model_type = "longformer-bio-ext-summ"
def __init__(
self,
input_size: int = 4096,
**kwargs
):
self.input_size = input_size
super().__init__(**kwargs)