Instructions to use hf-internal-testing/tiny-random-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-bert with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-bert: direct link, hf CLI and curl.
- Browser
- Download file 520 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-bert/resolve/main/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-bert/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-bert/resolve/main/model.safetensors
520 kB
This file contains binary data. It cannot be displayed, but you can still download it.