Kimory-X commited on
Commit
ba8190e
·
verified ·
1 Parent(s): dcf27ca

End of training

Browse files
Files changed (4) hide show
  1. README.md +13 -10
  2. all_results.json +13 -0
  3. config.json +27 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -2,9 +2,12 @@
2
  license: apache-2.0
3
  base_model: mistralai/Mistral-7B-v0.1
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
 
 
8
  library_name: peft
9
  model-index:
10
  - name: zephyr-7b-nca_pair-qlora-lr5e6-beta0.1
@@ -17,17 +20,17 @@ 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/1014579852qq-tsinghua-university/huggingface/runs/p6zmvlxg)
18
  # zephyr-7b-nca_pair-qlora-lr5e6-beta0.1
19
 
20
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 1.3409
23
- - Rewards/chosen: 0.1433
24
- - Rewards/rejected: -0.3268
25
- - Rewards/accuracies: 0.7475
26
- - Rewards/margins: 0.4701
27
- - Logps/rejected: -257.3707
28
- - Logps/chosen: -270.7436
29
- - Logits/rejected: -2.2339
30
- - Logits/chosen: -2.3137
31
 
32
  ## Model description
33
 
 
2
  license: apache-2.0
3
  base_model: mistralai/Mistral-7B-v0.1
4
  tags:
5
+ - alignment-handbook
6
  - trl
7
  - dpo
8
  - generated_from_trainer
9
+ datasets:
10
+ - HuggingFaceH4/ultrafeedback_binarized
11
  library_name: peft
12
  model-index:
13
  - name: zephyr-7b-nca_pair-qlora-lr5e6-beta0.1
 
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/1014579852qq-tsinghua-university/huggingface/runs/p6zmvlxg)
21
  # zephyr-7b-nca_pair-qlora-lr5e6-beta0.1
22
 
23
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-qlora](https://huggingface.co/alignment-handbook/zephyr-7b-sft-qlora) on the HuggingFaceH4/ultrafeedback_binarized dataset.
24
  It achieves the following results on the evaluation set:
25
+ - Loss: 1.3408
26
+ - Rewards/chosen: 0.1419
27
+ - Rewards/rejected: -0.3279
28
+ - Rewards/accuracies: 0.7450
29
+ - Rewards/margins: 0.4698
30
+ - Logps/rejected: -257.3817
31
+ - Logps/chosen: -270.7577
32
+ - Logits/rejected: -2.2321
33
+ - Logits/chosen: -2.3119
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9996728819103696,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 1.343712306771603,
5
  "train_runtime": 13958.9948,
 
1
  {
2
  "epoch": 0.9996728819103696,
3
+ "eval_logits/chosen": -2.3119311332702637,
4
+ "eval_logits/rejected": -2.2321126461029053,
5
+ "eval_logps/chosen": -270.7576904296875,
6
+ "eval_logps/rejected": -257.3817138671875,
7
+ "eval_loss": 1.3408429622650146,
8
+ "eval_rewards/accuracies": 0.7450000047683716,
9
+ "eval_rewards/chosen": 0.1418824940919876,
10
+ "eval_rewards/margins": 0.4697629511356354,
11
+ "eval_rewards/rejected": -0.32788047194480896,
12
+ "eval_runtime": 191.9401,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 10.42,
15
+ "eval_steps_per_second": 0.521,
16
  "total_flos": 0.0,
17
  "train_loss": 1.343712306771603,
18
  "train_runtime": 13958.9948,
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mistralai/Mistral-7B-v0.1",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 4096,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 14336,
14
+ "max_position_embeddings": 32768,
15
+ "model_type": "mistral",
16
+ "num_attention_heads": 32,
17
+ "num_hidden_layers": 32,
18
+ "num_key_value_heads": 8,
19
+ "rms_norm_eps": 1e-05,
20
+ "rope_theta": 10000.0,
21
+ "sliding_window": 4096,
22
+ "tie_word_embeddings": false,
23
+ "torch_dtype": "bfloat16",
24
+ "transformers_version": "4.43.1",
25
+ "use_cache": true,
26
+ "vocab_size": 32000
27
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9996728819103696,
3
+ "eval_logits/chosen": -2.3119311332702637,
4
+ "eval_logits/rejected": -2.2321126461029053,
5
+ "eval_logps/chosen": -270.7576904296875,
6
+ "eval_logps/rejected": -257.3817138671875,
7
+ "eval_loss": 1.3408429622650146,
8
+ "eval_rewards/accuracies": 0.7450000047683716,
9
+ "eval_rewards/chosen": 0.1418824940919876,
10
+ "eval_rewards/margins": 0.4697629511356354,
11
+ "eval_rewards/rejected": -0.32788047194480896,
12
+ "eval_runtime": 191.9401,
13
+ "eval_samples": 2000,
14
+ "eval_samples_per_second": 10.42,
15
+ "eval_steps_per_second": 0.521
16
+ }