Instructions to use hf-internal-testing/tiny-random-BertForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BertForPreTraining with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BertForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-internal-testing/tiny-random-BertForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-BertForPreTraining: direct link, hf CLI and curl.
- Browser
- Download file 395 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-BertForPreTraining/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-BertForPreTraining@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-BertForPreTraining/resolve/refs%2Fpr%2F1/pytorch_model.bin
395 kB
- Xet hash:
- 953ea0d72d1202cce56311a79fa02ae658a0b7974388dc6516194728cc56f925
- Size of remote file:
- 395 kB
- SHA256:
- cdb48e45b4bdf3e828e5eb6b14a079334445e016dbc5be1984cd327f44cd5ab4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.