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 pytorch_model.bin from hf-internal-testing/tiny-random-MistralForSequenceClassification: direct link, hf CLI and curl.
- Browser
- Download file 4.16 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-MistralForSequenceClassification/resolve/708b15cfee454648b03bd34b5245ea7e42d98e49/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MistralForSequenceClassification@708b15cfee454648b03bd34b5245ea7e42d98e49/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MistralForSequenceClassification/resolve/708b15cfee454648b03bd34b5245ea7e42d98e49/pytorch_model.bin
4.16 MB
- Xet hash:
- c838fd0dd4d7f5cc1612d38010c72aa30d56027f22e15763681ee810bcafe62e
- Size of remote file:
- 4.16 MB
- SHA256:
- b40cfe11000e87dcbb9a9e3bbeb5611e2ad737d30274ab8327840fc7baf2c122
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.