arxiv-community/arxiv_dataset
Updated • 1.39k • 135
How to use Chega/distill-scibert_scivocab_uncased with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("fill-mask", model="Chega/distill-scibert_scivocab_uncased") # Load model directly
from transformers import AutoTokenizer, AutoModelForPreTraining
tokenizer = AutoTokenizer.from_pretrained("Chega/distill-scibert_scivocab_uncased")
model = AutoModelForPreTraining.from_pretrained("Chega/distill-scibert_scivocab_uncased")