Instructions to use princeton-nlp/electra_base_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use princeton-nlp/electra_base_1 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("princeton-nlp/electra_base_1") model = AutoModelForPreTraining.from_pretrained("princeton-nlp/electra_base_1") - Notebooks
- Google Colab
- Kaggle
Ctrl+K