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