Instructions to use ainewtrend07/google-mt5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ainewtrend07/google-mt5-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ainewtrend07/google-mt5-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ainewtrend07/google-mt5-base") model = AutoModelForSequenceClassification.from_pretrained("ainewtrend07/google-mt5-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
4d5b170 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4ee250577819245cd7d577250e79fc930a1754d4ccf63bb012a082d6ab28a100
size 16350182
|