Downloads · 30 days
20
12% of all-time downloads
mzhaoshuai/alpaca-7b-ref-meteor
alpaca-7b-ref-meteor is a text generation model from mzhaoshuai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
GitHub repository: https://github.com/mzhaoshuai/RefAlign
Downloads · 30 days
20
12% of all-time downloads
All-time downloads
167
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
GitHub repository: https://github.com/mzhaoshuai/RefAlign
This is the model aligned with RefAlign described in the paper Learning from Reference Answers: Versatile Language Model Alignment without Binary Human Preference Data.
It is primarily aligned for safety.
The training data is https://huggingface.co/datasets/mzhaoshuai/Llama-3.3-70B-Inst-awq_SafeRLHF.
For the project code, please refer to the GitHub repository.
When conducting Reinforcement Learning with Similarity-based Rewards, the reward function is Meteor.
| Hyper-Parameters | Value |
|---|---|
| LR | 2e-6 |
| Batch Size | 512 |
| Epoch | 2 |
| Prompt Length | 192 |
| Generation Length | 384 |
| Sampled Generations (K) | 2 |
| Reward function | Meteor |
| harmless advantage weight | 4.0 |