Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
NotXia
/
pubmedbert-bio-ext-summ
like
1
Summarization
Transformers
PyTorch
allenai/mslr2022
English
pubmedbert-bio-ext-summ
feature-extraction
custom_code
License:
apache-2.0
Model card
Files
Files and versions
Community
1
Train
Use this model
1c6b8fc
pubmedbert-bio-ext-summ
/
utilities.py
NotXia
Add model
04f3f18
unverified
over 1 year ago
raw
Copy download link
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))