Adam commited on
Commit
4e8b8a4
1 Parent(s): 0d7872b

feat: updated links

Browse files
Files changed (1) hide show
  1. README.md +8 -2
README.md CHANGED
@@ -22,13 +22,19 @@ This model follows the blog of ChatGPT and the paper of InstructGPT and especial
22
 
23
  ## Our Training Methodology and Speedup Recipes
24
 
25
- This training process is broken up into three key steps:
 
 
 
 
 
 
26
 
27
  1. **Supervised fine-tuning (SFT):** In the first step we perform supervised fine tuning by taking the pretrained models, configuring them to use smaller learning rates and then subsequently trained on a labelled data-set.
28
 
29
  2. **Reward Model (RM) fine-tuning:** See [here](https://huggingface.co/FSALab/fsalab-chat-opt-350m-reward-deepspeed)
30
 
31
- 3. **Reinforcement-learning from Human feedback (RLHF) fine-tuning:** See [here](https://huggingface.co/FSALab/fsalab-chat-opt-1.3b-rlhf-deepspeed)
32
 
33
  To view the details behind each step head into their respective links and view the model card there.
34
 
 
22
 
23
  ## Our Training Methodology and Speedup Recipes
24
 
25
+ The training process simply involves a single python run of DeepSpeed-Chat which initiates the whole 3-step pipeline, saving all models in the process:
26
+
27
+ ``` bash
28
+ python train.py --actor-model facebook/opt-1.3b --reward-model facebook/opt-350m --deployment-type single_node
29
+ ```
30
+
31
+ This pipeline can be broken up into three key steps:
32
 
33
  1. **Supervised fine-tuning (SFT):** In the first step we perform supervised fine tuning by taking the pretrained models, configuring them to use smaller learning rates and then subsequently trained on a labelled data-set.
34
 
35
  2. **Reward Model (RM) fine-tuning:** See [here](https://huggingface.co/FSALab/fsalab-chat-opt-350m-reward-deepspeed)
36
 
37
+ 3. **Reinforcement-learning from Human feedback (RLHF) fine-tuning:** At the completion of the prior two steps, the final RLHF fine-tuning can be initiated. This involves the collection of both the *fine-tuned model* from step 1 and the *reward model** from step 2 and train them on the data-set with comparisons. This generates both an [actor](https://huggingface.co/FSALab/fsalab-chat-opt-1.3b-rlhf-actor-deepspeed) and [critic](https://huggingface.co/FSALab/fsalab-chat-opt-1.3b-rlhf-actor-deepspeed).
38
 
39
  To view the details behind each step head into their respective links and view the model card there.
40