statking commited on
Commit
7986c4c
·
verified ·
1 Parent(s): d21fe82

End of training

Browse files
Files changed (4) hide show
  1. README.md +8 -5
  2. all_results.json +16 -0
  3. config.json +29 -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-Instruct
 
 
9
  model-index:
10
  - name: Meta-Llama-3-8B-Instruct-ORPO-QLoRA
11
  results: []
@@ -17,20 +20,20 @@ should probably proofread and complete it, then remove this comment. -->
17
  [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/statking/huggingface/runs/5h649ptl)
18
  # Meta-Llama-3-8B-Instruct-ORPO-QLoRA
19
 
20
- This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
  - Loss: 0.5734
23
  - Rewards/chosen: -0.0085
24
  - Rewards/rejected: -0.0105
25
  - Rewards/accuracies: 0.6070
26
  - Rewards/margins: 0.0020
27
- - Logps/rejected: -1.0493
28
  - Logps/chosen: -0.8470
29
- - Logits/rejected: -0.2369
30
- - Logits/chosen: -0.2320
31
  - Nll Loss: 0.5669
32
  - Log Odds Ratio: -0.6615
33
- - Log Odds Chosen: 0.3168
34
 
35
  ## Model description
36
 
 
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-Instruct
10
+ datasets:
11
+ - HuggingFaceH4/ultrafeedback_binarized
12
  model-index:
13
  - name: Meta-Llama-3-8B-Instruct-ORPO-QLoRA
14
  results: []
 
20
  [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/statking/huggingface/runs/5h649ptl)
21
  # Meta-Llama-3-8B-Instruct-ORPO-QLoRA
22
 
23
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on the HuggingFaceH4/ultrafeedback_binarized dataset.
24
  It achieves the following results on the evaluation set:
25
  - Loss: 0.5734
26
  - Rewards/chosen: -0.0085
27
  - Rewards/rejected: -0.0105
28
  - Rewards/accuracies: 0.6070
29
  - Rewards/margins: 0.0020
30
+ - Logps/rejected: -1.0492
31
  - Logps/chosen: -0.8470
32
+ - Logits/rejected: -0.2321
33
+ - Logits/chosen: -0.2275
34
  - Nll Loss: 0.5669
35
  - Log Odds Ratio: -0.6615
36
+ - Log Odds Chosen: 0.3163
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,5 +1,21 @@
1
  {
2
  "epoch": 0.999607072691552,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.9266155345884759,
5
  "train_runtime": 40145.686,
 
1
  {
2
  "epoch": 0.999607072691552,
3
+ "eval_log_odds_chosen": 0.31633657217025757,
4
+ "eval_log_odds_ratio": -0.6614669561386108,
5
+ "eval_logits/chosen": -0.2274637073278427,
6
+ "eval_logits/rejected": -0.2321418672800064,
7
+ "eval_logps/chosen": -0.8470349907875061,
8
+ "eval_logps/rejected": -1.0492140054702759,
9
+ "eval_loss": 0.5733794569969177,
10
+ "eval_nll_loss": 0.5669150352478027,
11
+ "eval_rewards/accuracies": 0.6069999933242798,
12
+ "eval_rewards/chosen": -0.00847034901380539,
13
+ "eval_rewards/margins": 0.0020217914134263992,
14
+ "eval_rewards/rejected": -0.010492141358554363,
15
+ "eval_runtime": 285.2409,
16
+ "eval_samples": 1999,
17
+ "eval_samples_per_second": 7.008,
18
+ "eval_steps_per_second": 0.438,
19
  "total_flos": 0.0,
20
  "train_loss": 0.9266155345884759,
21
  "train_runtime": 40145.686,
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "meta-llama/Meta-Llama-3-8B-Instruct",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 128000,
9
+ "eos_token_id": 128009,
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
+ "pretraining_tp": 1,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_scaling": null,
23
+ "rope_theta": 500000.0,
24
+ "tie_word_embeddings": false,
25
+ "torch_dtype": "bfloat16",
26
+ "transformers_version": "4.41.0",
27
+ "use_cache": true,
28
+ "vocab_size": 128256
29
+ }
eval_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.999607072691552,
3
+ "eval_log_odds_chosen": 0.31633657217025757,
4
+ "eval_log_odds_ratio": -0.6614669561386108,
5
+ "eval_logits/chosen": -0.2274637073278427,
6
+ "eval_logits/rejected": -0.2321418672800064,
7
+ "eval_logps/chosen": -0.8470349907875061,
8
+ "eval_logps/rejected": -1.0492140054702759,
9
+ "eval_loss": 0.5733794569969177,
10
+ "eval_nll_loss": 0.5669150352478027,
11
+ "eval_rewards/accuracies": 0.6069999933242798,
12
+ "eval_rewards/chosen": -0.00847034901380539,
13
+ "eval_rewards/margins": 0.0020217914134263992,
14
+ "eval_rewards/rejected": -0.010492141358554363,
15
+ "eval_runtime": 285.2409,
16
+ "eval_samples": 1999,
17
+ "eval_samples_per_second": 7.008,
18
+ "eval_steps_per_second": 0.438
19
+ }