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