Downloads · 30 days
6
5% of all-time downloads
Liuwenhao2022/Mistral-7B-LoRA-RAHF-DUAL
Mistral-7B-LoRA-RAHF-DUAL is a machine learning model from Liuwenhao2022. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
The model is obtained through alignment training of the mistralai/Mistral-7B-Instruct-v0.2 model using the alignment algorithm mentioned in "Aligning Large Language Models with Human Preferences through Representation…
Downloads · 30 days
6
5% of all-time downloads
All-time downloads
121
Public
Repo size
9.5 MB
Likes
1
Public
Click a slice to open those files.
.safetensors9 MB · 95%
From the Hugging Face model README
The model is obtained through alignment training of the mistralai/Mistral-7B-Instruct-v0.2 model using the alignment algorithm mentioned in "Aligning Large Language Models with Human Preferences through Representation Engineering", with UltraFeedback dataset.
You can obtain the training code for RAHF at this link.
A small detail worth noting is that we superpose the representations extracted onto Mistral7B.
BibTeX:
@article{liu2023aligning,
title={Aligning large language models with human preferences through representation engineering},
author={Liu, Wenhao and Wang, Xiaohua and Wu, Muling and Li, Tianlong and Lv, Changze and Ling, Zixuan and Zhu, Jianhao and Zhang, Cenyuan and Zheng, Xiaoqing and Huang, Xuanjing},
journal={arXiv preprint arXiv:2312.15997},
year={2023}
}