Instructions to use CocoRoF/POLAR_gemma-3-4b-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use CocoRoF/POLAR_gemma-3-4b-dpo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-4b-it") model = PeftModel.from_pretrained(base_model, "CocoRoF/POLAR_gemma-3-4b-dpo") - Notebooks
- Google Colab
- Kaggle
| { | |
| "bos_token_id": 2, | |
| "cache_implementation": "hybrid", | |
| "do_sample": true, | |
| "eos_token_id": [ | |
| 1, | |
| 106 | |
| ], | |
| "pad_token_id": 0, | |
| "top_k": 64, | |
| "top_p": 0.95, | |
| "transformers_version": "4.50.0" | |
| } | |