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