mzhaoshuai/alpaca-7b-ref-bertscore

Model

0

stars

12

commits

1

linked in READMEs

Oct 16, 2025

updated

endpoints_compatible
llama
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: Large Language Model Fine-tuning & Quantization

README

RefAlign: RL with Similarity-based Rewards

GitHub repository: https://github.com/mzhaoshuai/RefAlign

Paper: Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data.

This is the model aligned with RefAlign, a versatile REINFORCE-style alignment algorithm that utilizes language generation evaluation metrics (such as BERTScore) between sampled generations and reference answers as surrogate rewards.

It is primarily aligned for safety.

The training data is https://huggingface.co/datasets/mzhaoshuai/Llama-3.3-70B-Inst-awq_SafeRLHF.

When conducting Reinforcement Learning with Similarity-based Rewards, the reward function is BERTScore.

Hyper-ParametersValue
LR3e-6
Batch Size512
Epoch2
Prompt Length192
Generation Length384
Sampled Generations (K)2
BertScore Modelbart-large-mnli
harmless advantage weight4.0

Contributors

mzhaoshuai

11 commits

nielsr

1 commits

mzhaoshuai/alpaca-7b-ref-bertscore

Model

0

stars

12

commits

1

linked in READMEs

Oct 16, 2025

updated

endpoints_compatible
llama
safetensors
text-generation
text-generation-inference
transformers
Browse cluster: Large Language Model Fine-tuning & Quantization

README

RefAlign: RL with Similarity-based Rewards

GitHub repository: https://github.com/mzhaoshuai/RefAlign

Paper: Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data.

This is the model aligned with RefAlign, a versatile REINFORCE-style alignment algorithm that utilizes language generation evaluation metrics (such as BERTScore) between sampled generations and reference answers as surrogate rewards.

It is primarily aligned for safety.

The training data is https://huggingface.co/datasets/mzhaoshuai/Llama-3.3-70B-Inst-awq_SafeRLHF.

When conducting Reinforcement Learning with Similarity-based Rewards, the reward function is BERTScore.

Hyper-ParametersValue
LR3e-6
Batch Size512
Epoch2
Prompt Length192
Generation Length384
Sampled Generations (K)2
BertScore Modelbart-large-mnli
harmless advantage weight4.0

Contributors

mzhaoshuai

11 commits

nielsr

1 commits