Instructions to use huawei-noah/TernaryBERT_SST-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huawei-noah/TernaryBERT_SST-2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("huawei-noah/TernaryBERT_SST-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from huawei-noah/TernaryBERT_SST-2: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/huawei-noah/TernaryBERT_SST-2/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://huawei-noah/TernaryBERT_SST-2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/huawei-noah/TernaryBERT_SST-2/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- bb6a2f839bb1630f35a4898050d93e7fcdbe5be95b63895c4edf44287bb772c3
- Size of remote file:
- 438 MB
- SHA256:
- 20236babd330b16afe80ebe3de29c38330f268329d827968124aa9b0feb5a53f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.