This is a standalone model - no adapter loading required.
The OPD method reduces exposure bias by training on the student's
own generations while guided by teacher model probabilities.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_id = "Kaito-F/qwen3-4b-agentbench-opd-merged"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.float16,
10 device_map="auto",
11)
12# No PeftModel needed - weights are already merged!
Dataset License: MIT License. This dataset is used and distributed under the terms of the MIT License.
Compliance: Users must comply with the MIT license (including copyright notice) and the base model's original terms of use.