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
File size: 210 Bytes
9b3687e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
"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"
}
|