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