Instructions to use kallacharanteja/mt5-small-finetuned-hard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kallacharanteja/mt5-small-finetuned-hard with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/mt5-small") model = PeftModel.from_pretrained(base_model, "kallacharanteja/mt5-small-finetuned-hard") - Transformers
How to use kallacharanteja/mt5-small-finetuned-hard with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kallacharanteja/mt5-small-finetuned-hard", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K