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