Instructions to use hf-tiny-model-private/tiny-random-ElectraForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-ElectraForPreTraining with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("hf-tiny-model-private/tiny-random-ElectraForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-tiny-model-private/tiny-random-ElectraForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
1a53c09 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:63102ded8cc83ec7489b379e1a382ce3a2ea8caa1fb6c13d2c6f72fe857cf47c
size 1134840
|