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