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