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