allenai / scibert

A BERT model for scientific text.
https://arxiv.org/abs/1903.10676
Apache License 2.0
1.47k stars 214 forks source link

Updates the model API #124

Open ghltshubh opened 2 years ago

ghltshubh commented 2 years ago

Old API model = AutoModel.from_pretrained('allenai/scibert_scivocab_uncased') raises exception therefore updating it to model = AutoModelWithLMHead.from_pretrained('allenai/scibert_scivocab_uncased')