generated_from_trainer

CORD19-BERT

How to use

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)

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

Training results

Framework versions