Instructions to use itsalissonsilva/Restriction-Learning-Experiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use itsalissonsilva/Restriction-Learning-Experiment with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-1b-it") model = PeftModel.from_pretrained(base_model, "itsalissonsilva/Restriction-Learning-Experiment") - Notebooks
- Google Colab
- Kaggle
File size: 459 Bytes
9fbaf4c | 1 2 3 4 | Gemma is provided under and subject to the Gemma Terms of Use found at ai.google.dev/gemma/terms
The selective and blanket-refusal adapters were trained by itsalissonsilva on synthetic workspace data. These modified artifacts are subject to the Gemma Terms of Use, including Section 3.2 and the incorporated Prohibited Use Policy. This is not an official Google release or endorsement. All marked-private values in the accompanying experiment are synthetic.
|