dchoi44 commited on
Commit
ada2921
·
verified ·
1 Parent(s): b3e390d

End of training

Browse files
Files changed (4) hide show
  1. README.md +4 -1
  2. all_results.json +16 -0
  3. config.json +30 -0
  4. eval_results.json +19 -0
README.md CHANGED
@@ -2,10 +2,13 @@
2
  license: llama3
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - orpo
7
  - generated_from_trainer
8
  base_model: meta-llama/Meta-Llama-3-8B
 
 
9
  model-index:
10
  - name: llama-3-orpo-qlora
11
  results: []
@@ -16,7 +19,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # llama-3-orpo-qlora
18
 
19
- This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 1.0581
22
  - Rewards/chosen: -0.0823
 
2
  license: llama3
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - orpo
8
  - generated_from_trainer
9
  base_model: meta-llama/Meta-Llama-3-8B
10
+ datasets:
11
+ - mlabonne/orpo-dpo-mix-40k
12
  model-index:
13
  - name: llama-3-orpo-qlora
14
  results: []
 
19
 
20
  # llama-3-orpo-qlora
21
 
22
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the mlabonne/orpo-dpo-mix-40k dataset.
23
  It achieves the following results on the evaluation set:
24
  - Loss: 1.0581
25
  - Rewards/chosen: -0.0823
all_results.json CHANGED
@@ -1,5 +1,21 @@
1
  {
2
  "epoch": 4.999237456153729,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 1.1049469483633314,
5
  "train_runtime": 586416.3764,
 
1
  {
2
  "epoch": 4.999237456153729,
3
+ "eval_log_odds_chosen": 2.101734161376953,
4
+ "eval_log_odds_ratio": -0.39467301964759827,
5
+ "eval_logits/chosen": -0.9354549646377563,
6
+ "eval_logits/rejected": -1.034712791442871,
7
+ "eval_logps/chosen": -0.8229629993438721,
8
+ "eval_logps/rejected": -2.495842695236206,
9
+ "eval_loss": 1.0581330060958862,
10
+ "eval_nll_loss": 1.0625019073486328,
11
+ "eval_rewards/accuracies": 0.7878788113594055,
12
+ "eval_rewards/chosen": -0.08229630440473557,
13
+ "eval_rewards/margins": 0.16728799045085907,
14
+ "eval_rewards/rejected": -0.24958431720733643,
15
+ "eval_runtime": 394.4103,
16
+ "eval_samples": 393,
17
+ "eval_samples_per_second": 0.996,
18
+ "eval_steps_per_second": 0.167,
19
  "total_flos": 0.0,
20
  "train_loss": 1.1049469483633314,
21
  "train_runtime": 586416.3764,
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128256,
9
+ "eos_token_id": 128257,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 8192,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "pad_token_id": 128257,
21
+ "pretraining_tp": 1,
22
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": null,
24
+ "rope_theta": 500000.0,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.41.2",
28
+ "use_cache": true,
29
+ "vocab_size": 128258
30
+ }
eval_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.999237456153729,
3
+ "eval_log_odds_chosen": 2.101734161376953,
4
+ "eval_log_odds_ratio": -0.39467301964759827,
5
+ "eval_logits/chosen": -0.9354549646377563,
6
+ "eval_logits/rejected": -1.034712791442871,
7
+ "eval_logps/chosen": -0.8229629993438721,
8
+ "eval_logps/rejected": -2.495842695236206,
9
+ "eval_loss": 1.0581330060958862,
10
+ "eval_nll_loss": 1.0625019073486328,
11
+ "eval_rewards/accuracies": 0.7878788113594055,
12
+ "eval_rewards/chosen": -0.08229630440473557,
13
+ "eval_rewards/margins": 0.16728799045085907,
14
+ "eval_rewards/rejected": -0.24958431720733643,
15
+ "eval_runtime": 394.4103,
16
+ "eval_samples": 393,
17
+ "eval_samples_per_second": 0.996,
18
+ "eval_steps_per_second": 0.167
19
+ }