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