Instructions to use cshotwe/t5-base-japanese-SNOW-prefix-tuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cshotwe/t5-base-japanese-SNOW-prefix-tuning with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("sonoisa/t5-base-japanese") model = PeftModel.from_pretrained(base_model, "cshotwe/t5-base-japanese-SNOW-prefix-tuning") - Notebooks
- Google Colab
- Kaggle
Ctrl+K