nnheui commited on
Commit
e0d6dcf
1 Parent(s): b721412

Model save

Browse files
README.md CHANGED
@@ -1,15 +1,11 @@
1
  ---
 
2
  base_model: nnheui/pythia-1.4b-sft-full
3
  tags:
4
- - alignment-handbook
5
- - trl
6
- - dpo
7
- - generated_from_trainer
8
  - trl
9
  - dpo
 
10
  - generated_from_trainer
11
- datasets:
12
- - HuggingFaceH4/ultrafeedback_binarized
13
  model-index:
14
  - name: pythia-1.4b-dpo-full
15
  results: []
@@ -20,18 +16,18 @@ should probably proofread and complete it, then remove this comment. -->
20
 
21
  # pythia-1.4b-dpo-full
22
 
23
- This model is a fine-tuned version of [nnheui/pythia-1.4b-sft-full](https://huggingface.co/nnheui/pythia-1.4b-sft-full) on the HuggingFaceH4/ultrafeedback_binarized dataset.
24
  It achieves the following results on the evaluation set:
25
- - Loss: 0.6257
26
- - Rewards/chosen: -0.5234
27
- - Rewards/rejected: -0.7812
28
- - Rewards/accuracies: 0.6597
29
- - Rewards/margins: 0.2578
30
- - Logps/rejected: -416.0
31
- - Logps/chosen: -446.0
32
- - Logits/rejected: -1.2422
33
  - Logits/chosen: -1.1953
 
34
  - Logps/bottom Tokens: -0.0007
 
 
 
 
 
 
 
35
 
36
  ## Model description
37
 
@@ -66,13 +62,13 @@ The following hyperparameters were used during training:
66
 
67
  ### Training results
68
 
69
- | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Logps/bottom Tokens |
70
- |:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:-------------------:|
71
- | 0.678 | 0.1963 | 100 | 0.6789 | -0.0275 | -0.0608 | 0.5881 | 0.0332 | -344.0 | -396.0 | -1.1562 | -1.0938 | -0.0009 |
72
- | 0.645 | 0.3925 | 200 | 0.6489 | -0.2871 | -0.4238 | 0.6448 | 0.1367 | -380.0 | -422.0 | -1.2031 | -1.1562 | -0.0009 |
73
- | 0.6396 | 0.5888 | 300 | 0.6304 | -0.4512 | -0.6797 | 0.6627 | 0.2275 | -406.0 | -438.0 | -1.2344 | -1.1875 | -0.0008 |
74
- | 0.6102 | 0.7851 | 400 | 0.6268 | -0.5039 | -0.7617 | 0.6567 | 0.2578 | -414.0 | -444.0 | -1.2344 | -1.1875 | -0.0007 |
75
- | 0.6084 | 0.9814 | 500 | 0.6259 | -0.5234 | -0.7852 | 0.6567 | 0.2617 | -416.0 | -446.0 | -1.2422 | -1.1953 | -0.0007 |
76
 
77
 
78
  ### Framework versions
 
1
  ---
2
+ license: apache-2.0
3
  base_model: nnheui/pythia-1.4b-sft-full
4
  tags:
 
 
 
 
5
  - trl
6
  - dpo
7
+ - alignment-handbook
8
  - generated_from_trainer
 
 
9
  model-index:
10
  - name: pythia-1.4b-dpo-full
11
  results: []
 
16
 
17
  # pythia-1.4b-dpo-full
18
 
19
+ This model is a fine-tuned version of [nnheui/pythia-1.4b-sft-full](https://huggingface.co/nnheui/pythia-1.4b-sft-full) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
 
 
 
 
 
 
 
 
21
  - Logits/chosen: -1.1953
22
+ - Logits/rejected: -1.2422
23
  - Logps/bottom Tokens: -0.0007
24
+ - Logps/chosen: -446.0
25
+ - Logps/rejected: -416.0
26
+ - Loss: 0.6259
27
+ - Rewards/accuracies: 0.6567
28
+ - Rewards/chosen: -0.5234
29
+ - Rewards/margins: 0.2617
30
+ - Rewards/rejected: -0.7852
31
 
32
  ## Model description
33
 
 
62
 
63
  ### Training results
64
 
65
+ | Training Loss | Epoch | Step | Logits/chosen | Logits/rejected | Logps/bottom Tokens | Logps/chosen | Logps/rejected | Validation Loss | Rewards/accuracies | Rewards/chosen | Rewards/margins | Rewards/rejected |
66
+ |:-------------:|:------:|:----:|:-------------:|:---------------:|:-------------------:|:------------:|:--------------:|:---------------:|:------------------:|:--------------:|:---------------:|:----------------:|
67
+ | 0.678 | 0.1963 | 100 | -1.0938 | -1.1562 | -0.0009 | -396.0 | -344.0 | 0.6789 | 0.5881 | -0.0275 | 0.0332 | -0.0608 |
68
+ | 0.645 | 0.3925 | 200 | -1.1562 | -1.2031 | -0.0009 | -422.0 | -380.0 | 0.6489 | 0.6448 | -0.2871 | 0.1367 | -0.4238 |
69
+ | 0.6396 | 0.5888 | 300 | -1.1875 | -1.2344 | -0.0008 | -438.0 | -406.0 | 0.6304 | 0.6627 | -0.4512 | 0.2275 | -0.6797 |
70
+ | 0.6102 | 0.7851 | 400 | -1.1875 | -1.2344 | -0.0007 | -444.0 | -414.0 | 0.6268 | 0.6567 | -0.5039 | 0.2578 | -0.7617 |
71
+ | 0.6084 | 0.9814 | 500 | -1.1953 | -1.2422 | -0.0007 | -446.0 | -416.0 | 0.6259 | 0.6567 | -0.5234 | 0.2617 | -0.7852 |
72
 
73
 
74
  ### Framework versions
all_results.json CHANGED
@@ -15,9 +15,9 @@
15
  "eval_samples_per_second": 21.22,
16
  "eval_steps_per_second": 0.711,
17
  "total_flos": 0.0,
18
- "train_loss": 0.6464882252961105,
19
- "train_runtime": 7224.3746,
20
  "train_samples": 61134,
21
- "train_samples_per_second": 8.462,
22
- "train_steps_per_second": 0.07
23
  }
 
15
  "eval_samples_per_second": 21.22,
16
  "eval_steps_per_second": 0.711,
17
  "total_flos": 0.0,
18
+ "train_loss": 0.011100004604616897,
19
+ "train_runtime": 142.2419,
20
  "train_samples": 61134,
21
+ "train_samples_per_second": 429.789,
22
+ "train_steps_per_second": 3.578
23
  }
config.json CHANGED
@@ -24,7 +24,7 @@
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.40.0",
27
- "use_cache": true,
28
  "use_parallel_residual": true,
29
  "vocab_size": 50304
30
  }
 
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.40.0",
27
+ "use_cache": false,
28
  "use_parallel_residual": true,
29
  "vocab_size": 50304
30
  }
runs/Jul08_11-47-26_42dbe5cf9ed4/events.out.tfevents.1720439808.42dbe5cf9ed4.850226.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8090350640e29f059617560ec3c10f27830209851a0e1984cba5fc4630feedf6
3
+ size 5344
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 0.9990186457311089,
3
  "total_flos": 0.0,
4
- "train_loss": 0.6464882252961105,
5
- "train_runtime": 7224.3746,
6
  "train_samples": 61134,
7
- "train_samples_per_second": 8.462,
8
- "train_steps_per_second": 0.07
9
  }
 
1
  {
2
  "epoch": 0.9990186457311089,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.011100004604616897,
5
+ "train_runtime": 142.2419,
6
  "train_samples": 61134,
7
+ "train_samples_per_second": 429.789,
8
+ "train_steps_per_second": 3.578
9
  }
trainer_state.json CHANGED
@@ -913,10 +913,10 @@
913
  "epoch": 0.9990186457311089,
914
  "step": 509,
915
  "total_flos": 0.0,
916
- "train_loss": 0.6464882252961105,
917
- "train_runtime": 7224.3746,
918
- "train_samples_per_second": 8.462,
919
- "train_steps_per_second": 0.07
920
  }
921
  ],
922
  "logging_steps": 10,
 
913
  "epoch": 0.9990186457311089,
914
  "step": 509,
915
  "total_flos": 0.0,
916
+ "train_loss": 0.011100004604616897,
917
+ "train_runtime": 142.2419,
918
+ "train_samples_per_second": 429.789,
919
+ "train_steps_per_second": 3.578
920
  }
921
  ],
922
  "logging_steps": 10,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e11a77604a705654a1e888c55ace8081ed019ade2298cd8d9ce2bfaaba68a65b
3
  size 6264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6512ebaae4617131c502f655a94c28ca877471322e354baceb9f8cb3b89b8f9e
3
  size 6264