Instructions to use ydshieh/tiny-random-BertForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-BertForPreTraining with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-BertForPreTraining") model = AutoModelForPreTraining.from_pretrained("ydshieh/tiny-random-BertForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
435f718 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:2c45c68c5d35abc608a7629763bd4c2c6ac6522f92a9df36c9eb6150edc0a4bf
size 717792
|