Instructions to use michaelc0des/gemma-direct-grounding-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use michaelc0des/gemma-direct-grounding-only with PEFT:
from peft import PeftModel from transformers import AutoModelForSeq2SeqLM base_model = AutoModelForSeq2SeqLM.from_pretrained("google/t5gemma-b-b-prefixlm-it") model = PeftModel.from_pretrained(base_model, "michaelc0des/gemma-direct-grounding-only") - Transformers
How to use michaelc0des/gemma-direct-grounding-only with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("michaelc0des/gemma-direct-grounding-only", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K