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