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