NicholasCorrado commited on
Commit
0bf8c3e
1 Parent(s): 44fc118

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-ui-math-dpo-2
11
  results: []
@@ -16,7 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # tinyllama-1.1b-chat-v1.0-ui-math-dpo-2
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
+ - data/ui_math
15
  model-index:
16
  - name: tinyllama-1.1b-chat-v1.0-ui-math-dpo-2
17
  results: []
 
22
 
23
  # tinyllama-1.1b-chat-v1.0-ui-math-dpo-2
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 data/ui_math dataset.
26
+ It achieves the following results on the evaluation set:
27
+ - Loss: 0.6219
28
+ - Rewards/chosen: -3.3170
29
+ - Rewards/rejected: -4.6926
30
+ - Rewards/accuracies: 0.6875
31
+ - Rewards/margins: 1.3757
32
+ - Logps/rejected: -721.5773
33
+ - Logps/chosen: -610.5119
34
+ - Logits/rejected: -0.7616
35
+ - Logits/chosen: -0.8420
36
 
37
  ## Model description
38
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.9977349943374858,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.32467431276022984,
5
  "train_runtime": 5857.252,
 
1
  {
2
  "epoch": 1.9977349943374858,
3
+ "eval_logits/chosen": -0.8419910669326782,
4
+ "eval_logits/rejected": -0.7616477012634277,
5
+ "eval_logps/chosen": -610.5119018554688,
6
+ "eval_logps/rejected": -721.5773315429688,
7
+ "eval_loss": 0.6218873858451843,
8
+ "eval_rewards/accuracies": 0.6875,
9
+ "eval_rewards/chosen": -3.3169686794281006,
10
+ "eval_rewards/margins": 1.3756744861602783,
11
+ "eval_rewards/rejected": -4.692643165588379,
12
+ "eval_runtime": 1.4063,
13
+ "eval_samples": 100,
14
+ "eval_samples_per_second": 71.106,
15
+ "eval_steps_per_second": 1.422,
16
  "total_flos": 0.0,
17
  "train_loss": 0.32467431276022984,
18
  "train_runtime": 5857.252,
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": 1.9977349943374858,
3
+ "eval_logits/chosen": -0.8419910669326782,
4
+ "eval_logits/rejected": -0.7616477012634277,
5
+ "eval_logps/chosen": -610.5119018554688,
6
+ "eval_logps/rejected": -721.5773315429688,
7
+ "eval_loss": 0.6218873858451843,
8
+ "eval_rewards/accuracies": 0.6875,
9
+ "eval_rewards/chosen": -3.3169686794281006,
10
+ "eval_rewards/margins": 1.3756744861602783,
11
+ "eval_rewards/rejected": -4.692643165588379,
12
+ "eval_runtime": 1.4063,
13
+ "eval_samples": 100,
14
+ "eval_samples_per_second": 71.106,
15
+ "eval_steps_per_second": 1.422
16
+ }