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