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