Upload 3 files 3bb76fa
sberbank-ai commited on
How to use ai-forever/ruElectra-small with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForPreTraining
tokenizer = AutoTokenizer.from_pretrained("ai-forever/ruElectra-small")
model = AutoModelForPreTraining.from_pretrained("ai-forever/ruElectra-small")