Improve model card: Add pipeline tag, update library_name, and link paper/code/abstract

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +22 -6
README.md CHANGED
@@ -1,17 +1,33 @@
1
  ---
2
  base_model: HuggingFaceH4/zephyr-7b-alpha
3
- library_name: peft
4
- license: apache-2.0
5
  datasets:
6
  - shuchangtao/CONQORD_dataset
 
 
 
7
  ---
8
 
9
- # Model Card
10
 
11
- <!-- Provide a quick summary of what the model is/does. -->
12
 
13
- SFT model trained with https://huggingface.co/datasets/shuchangtao/CONQORD_dataset/tree/main/conqord_step1_data.
 
 
 
 
14
 
15
  ## Framework versions
16
 
17
- - PEFT 0.11.1
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  base_model: HuggingFaceH4/zephyr-7b-alpha
 
 
3
  datasets:
4
  - shuchangtao/CONQORD_dataset
5
+ library_name: transformers
6
+ license: apache-2.0
7
+ pipeline_tag: text-generation
8
  ---
9
 
10
+ # RefAlign: SFT Model for Confidence Alignment
11
 
12
+ This repository contains the SFT (Supervised Fine-Tuning) model `mzhaoshuai/zephyr-7b-alpha-conf-sft`, which is an integral part of the **RefAlign** framework. This model serves as an initial SFT step for Confidence Alignment experiments, trained with `shuchangtao/CONQORD_dataset` (specifically, `conqord_step1_data`), as described in the accompanying research.
13
 
14
+ **Paper**: [Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data](https://huggingface.co/papers/2504.09895)
15
+ **Code**: https://github.com/mzhaoshuai/RefAlign
16
+
17
+ ## Abstract
18
+ Large language models~(LLMs) are expected to be helpful, harmless, and honest. In different alignment scenarios, such as safety, confidence, and general preference alignment, binary preference data collection and reward modeling are resource-intensive but play a central role in transferring human preferences. In this work, we explore using the similarity between sampled generations and reference answers as a supplementary reward function for alignment. When unary reference answers are available, such similarity-based rewards can circumvent the need for binary preference data and explicit reward modeling. We introduce \textit{RefAlign}, a versatile REINFORCE-style alignment algorithm that does not rely on reward or reference models. RefAlign utilizes language generation evaluation metrics, such as BERTScore, between sampled generations and reference answers as surrogate rewards. Beyond general preference optimization, RefAlign can be naturally extended to diverse scenarios, including safety and confidence alignment, by combining similarity-based rewards with task-specific objectives. Across multiple scenarios, RefAlign achieves performance comparable to prior alignment methods while operating without binary preference data or reward models.
19
 
20
  ## Framework versions
21
 
22
+ - PEFT 0.11.1
23
+ - Transformers 4.40.0
24
+
25
+ ## Bibtex
26
+ ```bibtex
27
+ @article{zhao2025learning,
28
+ title={Learning from reference answers: Versatile language model alignment without binary human preference data},
29
+ author={Zhao, Shuai and Xu, Yunqiu and Zhu, Linchao and Yang, Yi},
30
+ journal={arXiv preprint arXiv:2504.09895},
31
+ year={2025}
32
+ }
33
+ ```