Instructions to use hf-internal-testing/tiny-random-BertForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-BertForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hf-internal-testing/tiny-random-BertForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-BertForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("hf-internal-testing/tiny-random-BertForSequenceClassification", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-BertForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 366 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-BertForSequenceClassification/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-BertForSequenceClassification@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-BertForSequenceClassification/resolve/refs%2Fpr%2F1/model.safetensors
366 kB
- Xet hash:
- cb60524471bdb45ad41915fc27a4f6218206fb806d12cea01bf0fbcdd916c5b1
- Size of remote file:
- 366 kB
- SHA256:
- 2a22448861c944080f023d6d4541d1a7db036426bdbe7121eda6bd9730124438
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.