Instructions to use kallacharanteja/mt5-small-to-Tel-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use kallacharanteja/mt5-small-to-Tel-medium 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-to-Tel-medium") - Transformers
How to use kallacharanteja/mt5-small-to-Tel-medium with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kallacharanteja/mt5-small-to-Tel-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
df808b8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f5224b977673c75277da4dde249ccfb42e4df7d7a27121bdd223f4ac8c916738
size 5457
|