Instructions to use swadeshb/t5g2-4b4b-flat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use swadeshb/t5g2-4b4b-flat with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/t5gemma-2-4b-4b") model = PeftModel.from_pretrained(base_model, "swadeshb/t5g2-4b4b-flat") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!