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:98c7c585031cbf279e701b6d1f17e90895a407642a9d9fb3513135aa06b40762
size 394376
|