PEFT
TensorBoard
Safetensors
gemma2
alignment-handbook
trl
sft
Generated from Trainer
4-bit precision
bitsandbytes
Instructions to use GaetanMichelet/Gemma-2-2B_task-2_120-samples_config-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use GaetanMichelet/Gemma-2-2B_task-2_120-samples_config-1 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-2b-it") model = PeftModel.from_pretrained(base_model, "GaetanMichelet/Gemma-2-2B_task-2_120-samples_config-1") - Notebooks
- Google Colab
- Kaggle
Ctrl+K