Open ghltshubh opened 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')
model = AutoModel.from_pretrained('allenai/scibert_scivocab_uncased')
model = AutoModelWithLMHead.from_pretrained('allenai/scibert_scivocab_uncased')
Old API
model = AutoModel.from_pretrained('allenai/scibert_scivocab_uncased')
raises exception therefore updating it tomodel = AutoModelWithLMHead.from_pretrained('allenai/scibert_scivocab_uncased')