pubmedbert-bio-ext-summ / utilities.py
NotXia's picture
Add model
04f3f18 unverified
raw
history blame
147 Bytes
"""
Pads a list to a given size
"""
def padToSize(to_pad_list, pad_size, filler):
return to_pad_list + [filler]*(pad_size-len(to_pad_list))