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