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")# 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") - Notebooks
- Google Colab
- Kaggle
Update tiny models for MT5ForSequenceClassification
#13
by hf-transformers-bot - opened
- model.safetensors +1 -1
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 32180840
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1ccd8a583d6fa4b2eea72b9643c5292f72b10c24d938898be67e8cf899af62b
|
| 3 |
size 32180840
|