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