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