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/main/pytorch_model.bin
- Command line
-
hf download hf://ydshieh/tiny-random-BertForSequenceClassification/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ydshieh/tiny-random-BertForSequenceClassification/resolve/main/pytorch_model.bin
384 kB
- Xet hash:
- d9c82c495edcc74348e713864861d094fe703e98d8d29a51871d57e6532cb287
- Size of remote file:
- 384 kB
- SHA256:
- aef632ee78bc07ea3583a3d85a6849e18a19f0414ec73aee3e16ed95f2d53a54
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.