Well Begun is Half Done: Low-resource Preference Alignment by Weak-to-Strong Decoding
Paper • 2506.07434 • Published • 7
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("songff/Pilot-3B")
model = AutoModelForCausalLM.from_pretrained("songff/Pilot-3B")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))Pilot-3B is designed to be a draft model in efficient preference alignment of LLMs for its small size while high performance in general domains. It is trained from Llama-3.2-3B-Instruct on GenerAlign.
Related links:
Paper: Well Begun is Half Done: Low-resource Preference Alignment by Weak-to-Strong Decoding
Github: Weak-to-Strong-Decoding
Dataset: GenerAlign
Pilot-3B is not guaranteed always to provide safe and correct responses. Please use it at your own risk.
If you find this work useful, please consider citing:
@misc{song2025well,
title={Well Begun is Half Done: Low-resource Preference Alignment by Weak-to-Strong Decoding},
author={Song, Feifan and Wei, Shaohang and Luo, Wen and Fan, Yuxuan and Liu, Tianyu and Wang, Guoyin and Wang, Houfeng},
year={2025},
eprint={2506.07434},
archivePrefix={arXiv},
primaryClass={cs.CL}
}
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="songff/Pilot-3B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)