-
Notifications
You must be signed in to change notification settings - Fork 352
Add Support for Pre-trained RM #1038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# PART 1 Settings # | ||
####################################################################### | ||
# Model | ||
pretrained_model_name_or_path = "internlm/internrm-1_8b-base" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个配置是微调预训练过的RM的话,这里要改成你们的预训练模型的hf仓库名,因为会自动下载的
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前暂定是这个hf仓库名。如果最后发布的名字变了,我会再提交一次pr修改一下。
@pppppM Plz review this PR. |
@RowitZou please fix lint |
@hhaAndroid Lint has been fixed. Plz try again. |
xtuner/xtuner/configs/reward_model/internrm/internrm_7b_full_varlenattn_custom_dataset.py
xtuner/xtuner/configs/reward_model/internrm/internrm_1_8b_full_varlenattn_custom_dataset.py
xtuner/xtuner/utils/rm_utils.py