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/96038e2cbe8fe2f4aa3005b1edf174c18762609a/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MptForTokenClassification@96038e2cbe8fe2f4aa3005b1edf174c18762609a/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MptForTokenClassification/resolve/96038e2cbe8fe2f4aa3005b1edf174c18762609a/pytorch_model.bin
389 kB
- Xet hash:
- c0360199d0f77c9365e8577cee0e9eb4215ba6e154e1629910ba3cd6006c3930
- Size of remote file:
- 389 kB
- SHA256:
- ee62da17eae1e9ca21f60d3a14ab62bd9360ee767e86c6a99b0210fdeaf49b45
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.