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 pytorch_model.bin from hf-internal-testing/tiny-random-MptForTokenClassification: direct link, hf CLI and curl.
- Browser
- Download file 389 kB
-
https://huggingface.co/hf-internal-testing/tiny-random-MptForTokenClassification/resolve/a6beed7002b9c51188dfe57526cb389e0333ab25/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MptForTokenClassification@a6beed7002b9c51188dfe57526cb389e0333ab25/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MptForTokenClassification/resolve/a6beed7002b9c51188dfe57526cb389e0333ab25/pytorch_model.bin
389 kB
- Xet hash:
- 38ec5c0a2460cca6926d1346ba7a49182d0450da485ba988719f6ed8b476a3a8
- Size of remote file:
- 389 kB
- SHA256:
- 1c2ab73935f6877a33daa9b63b5f36bff653e76e76a0f51890bdac9a99542b98
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.