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