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