Instructions to use apol/gemma4-12b-it-libre-benign-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use apol/gemma4-12b-it-libre-benign-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("C:\Users\MGManchon\Documents\Codex\2026-06-02\goal-ablietra-gemma4-31b-dense-para\work\gemma4-12b-it-text-only") model = PeftModel.from_pretrained(base_model, "apol/gemma4-12b-it-libre-benign-adapter") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!