Instructions to use allenai/scibert_scivocab_uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/scibert_scivocab_uncased with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("allenai/scibert_scivocab_uncased", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Jupyter notebook kernel restarts when downloading scibert_scivocab_uncased
#5
by phantomloe - opened
I have installed transformer and everything should be updated, but when I run the following line,
model = AutoModel.from_pretrained('allenai/scibert_scivocab_uncased')
my kernel keeps crashing. I tried to download the cased model, which has also started to make my notebook crash. Does anyone have an idea of what I can do to solve this problem?