This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
Do not use in any safety critical or medically critical applications.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name = "i5-8300h/gemma3-4b-psychology-dpo"
tok = AutoTokenizer.from_pretrained(model_name, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
Custom collator pads prompt/chosen/rejected groups independently using tokenizer.pad and ensures ID tensors are torch.long.