Instructions to use aayush7511/Gemma3_12B_PT_Checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aayush7511/Gemma3_12B_PT_Checkpoints with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("google/gemma-3-12b-pt") model = PeftModel.from_pretrained(base_model, "aayush7511/Gemma3_12B_PT_Checkpoints") - Transformers
How to use aayush7511/Gemma3_12B_PT_Checkpoints with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("aayush7511/Gemma3_12B_PT_Checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!