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