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%2F13/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MistralForSequenceClassification@refs/pr/13/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-MistralForSequenceClassification/resolve/refs%2Fpr%2F13/model.safetensors
4.15 MB
- Xet hash:
- 2e84b7143f9b29dd5c6efae405f2789ddd4828224ec254c740e016d51642f55c
- Size of remote file:
- 4.15 MB
- SHA256:
- 669aee7e8949cdffc60f01b7987edb73c85e4e4acaaadb8acecac455ef5f8553
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.