Instructions to use google/electra-base-discriminator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/electra-base-discriminator with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("google/electra-base-discriminator") model = AutoModelForPreTraining.from_pretrained("google/electra-base-discriminator", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create tokenizer_config.json
Browse files- tokenizer_config.json +3 -0
tokenizer_config.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_lower_case": true
|
| 3 |
+
}
|