Skip to content

haf-rm-anonymized/Code-for-HAF-RM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code-for-HAF-RM

Code for HAF-RM (anonymous)

There are some absolute paths in the codes, which only work with the same code structure as below:

/root/
|--- exp-modeling/
|--- |--- train_rm.py
|--- |--- data/
|--- |--- |--- harmless-train.json
|--- |--- |--- ......
|--- |--- |--- sampled_data/
|--- |--- |--- sampled_data_mistral/
|--- |--- output/
|--- |--- |--- checkpoint/
|--- |--- |--- eval_result/
|--- |--- |--- gpt_judge/
|--- |--- |--- infer_result/
|--- |--- generation/
|--- |--- tensorboard/
|--- |--- src/
|--- |--- |--- train_dpo_lora.py
|--- |--- |--- ......
|--- |--- script/
|--- |--- |--- ......
|--- model/
|--- |--- Mistral-7B-v02
|--- |--- phi-2
|--- trl/

About

Code for HAF-RM (anonymous)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages