NicholasCorrado commited on
Commit
e8d0724
·
verified ·
1 Parent(s): 0525ea8

End of training

Browse files
Files changed (4) hide show
  1. README.md +17 -1
  2. all_results.json +13 -0
  3. config.json +1 -1
  4. eval_results.json +16 -0
README.md CHANGED
@@ -3,9 +3,15 @@ library_name: transformers
3
  license: apache-2.0
4
  base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
5
  tags:
 
6
  - trl
7
  - dpo
8
  - generated_from_trainer
 
 
 
 
 
9
  model-index:
10
  - name: tinyllama-1.1b-chat-v1.0-hh-dpo
11
  results: []
@@ -16,7 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # tinyllama-1.1b-chat-v1.0-hh-dpo
18
 
19
- This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on an unknown dataset.
 
 
 
 
 
 
 
 
 
 
20
 
21
  ## Model description
22
 
 
3
  license: apache-2.0
4
  base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
5
  tags:
6
+ - alignment-handbook
7
  - trl
8
  - dpo
9
  - generated_from_trainer
10
+ - trl
11
+ - dpo
12
+ - generated_from_trainer
13
+ datasets:
14
+ - HuggingFaceH4/hh-rlhf-h4
15
  model-index:
16
  - name: tinyllama-1.1b-chat-v1.0-hh-dpo
17
  results: []
 
22
 
23
  # tinyllama-1.1b-chat-v1.0-hh-dpo
24
 
25
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on the HuggingFaceH4/hh-rlhf-h4 dataset.
26
+ It achieves the following results on the evaluation set:
27
+ - Loss: 0.6732
28
+ - Rewards/chosen: -0.5129
29
+ - Rewards/rejected: -0.5655
30
+ - Rewards/accuracies: 0.5578
31
+ - Rewards/margins: 0.0526
32
+ - Logps/rejected: -214.5289
33
+ - Logps/chosen: -211.9843
34
+ - Logits/rejected: -2.4006
35
+ - Logits/chosen: -2.4020
36
 
37
  ## Model description
38
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9996020692399522,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.678918091354856,
5
  "train_runtime": 7383.0158,
 
1
  {
2
  "epoch": 0.9996020692399522,
3
+ "eval_logits/chosen": -2.402043581008911,
4
+ "eval_logits/rejected": -2.4006083011627197,
5
+ "eval_logps/chosen": -211.9842987060547,
6
+ "eval_logps/rejected": -214.5289306640625,
7
+ "eval_loss": 0.673168957233429,
8
+ "eval_rewards/accuracies": 0.5578358173370361,
9
+ "eval_rewards/chosen": -0.5129190683364868,
10
+ "eval_rewards/margins": 0.052563026547431946,
11
+ "eval_rewards/rejected": -0.5654820799827576,
12
+ "eval_runtime": 167.0868,
13
+ "eval_samples": 8552,
14
+ "eval_samples_per_second": 51.183,
15
+ "eval_steps_per_second": 0.802,
16
  "total_flos": 0.0,
17
  "train_loss": 0.678918091354856,
18
  "train_runtime": 7383.0158,
config.json CHANGED
@@ -24,6 +24,6 @@
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.44.1",
27
- "use_cache": false,
28
  "vocab_size": 32000
29
  }
 
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.44.1",
27
+ "use_cache": true,
28
  "vocab_size": 32000
29
  }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9996020692399522,
3
+ "eval_logits/chosen": -2.402043581008911,
4
+ "eval_logits/rejected": -2.4006083011627197,
5
+ "eval_logps/chosen": -211.9842987060547,
6
+ "eval_logps/rejected": -214.5289306640625,
7
+ "eval_loss": 0.673168957233429,
8
+ "eval_rewards/accuracies": 0.5578358173370361,
9
+ "eval_rewards/chosen": -0.5129190683364868,
10
+ "eval_rewards/margins": 0.052563026547431946,
11
+ "eval_rewards/rejected": -0.5654820799827576,
12
+ "eval_runtime": 167.0868,
13
+ "eval_samples": 8552,
14
+ "eval_samples_per_second": 51.183,
15
+ "eval_steps_per_second": 0.802
16
+ }