Instructions to use Vandita/TinyBERT-Linear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Vandita/TinyBERT-Linear with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Vandita/TinyBERT-Linear", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from Vandita/TinyBERT-Linear: direct link, hf CLI and curl.
- Browser
- Download file 974 kB
-
https://huggingface.co/Vandita/TinyBERT-Linear/resolve/main/tokenizer.json
- Command line
-
hf download hf://Vandita/TinyBERT-Linear/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/Vandita/TinyBERT-Linear/resolve/main/tokenizer.json
974 kB
File too large to display, you can check the raw version instead.