Downloads · 30 days
31
2% of all-time downloads
CovRelex-SE/CORD19-BERT
CORD19-BERT is a fill-mask model from CovRelex-SE. Use it when you need the model to fill a missing word. It is set up for transformers.
The following hyperparameters were used during training: - learningrate: 5e-05 - trainbatchsize: 32 - evalbatchsize: 8 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lrschedulertype: linear -…
Downloads · 30 days
31
2% of all-time downloads
All-time downloads
1.4K
Public
Repo size
876 MB
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
from transformers import BertTokenizer, BertModel
tokenizer = BertTokenizer.from_pretrained('CovRelex-SE/CORD19-BERT')
model = BertModel.from_pretrained("CovRelex-SE/CORD19-BERT")
text = "The virus can spread from an infected person’s mouth or nose."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)
The following hyperparameters were used during training: