Views
No views yet
mistralai/Mistral-7B-Instruct-v0.2.AutoModelForSequenceClassification,1model = AutoModelForSequenceClassification.from_pretrained(
2 "hendrydong/Mistral-RM-for-RAFT-GSHF-v0", num_labels=1, torch_dtype=torch.bfloat16
3)1SAMPLE =[
2{'role': 'user', 'content': 'Hi!'},
3{'role': 'assistant', 'content': 'How are you?'},
4]mistralai/Mistral-7B-Instruct-v0.2.@article{dong2023raft,
title={Raft: Reward ranked finetuning for generative foundation model alignment},
author={Dong, Hanze and Xiong, Wei and Goyal, Deepanshu and Pan, Rui and Diao, Shizhe and Zhang, Jipeng and Shum, Kashun and Zhang, Tong},
journal={arXiv preprint arXiv:2304.06767},
year={2023}
}
@article{xiong2023gibbs,
title={Gibbs sampling from human feedback: A provable kl-constrained framework for rlhf},
author={Xiong, Wei and Dong, Hanze and Ye, Chenlu and Zhong, Han and Jiang, Nan and Zhang, Tong},
journal={arXiv preprint arXiv:2312.11456},
year={2023}
}