Jan Majkutewicz commited on
Commit
df491f0
·
verified ·
1 Parent(s): 00b28ae

End of training

Browse files
Files changed (4) hide show
  1. README.md +14 -1
  2. all_results.json +13 -0
  3. config.json +26 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -1,8 +1,11 @@
1
  ---
2
  base_model: alignment-handbook/zephyr-7b-sft-full
 
 
3
  library_name: peft
4
  license: apache-2.0
5
  tags:
 
6
  - trl
7
  - dpo
8
  - generated_from_trainer
@@ -17,7 +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/jan-majkutewicz/huggingface/runs/8xusrxfz)
18
  # zephyr-7b-shp
19
 
20
- This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on an unknown dataset.
 
 
 
 
 
 
 
 
 
 
21
 
22
  ## Model description
23
 
 
1
  ---
2
  base_model: alignment-handbook/zephyr-7b-sft-full
3
+ datasets:
4
+ - SeniorKabanocci/SHP-binarized
5
  library_name: peft
6
  license: apache-2.0
7
  tags:
8
+ - alignment-handbook
9
  - trl
10
  - dpo
11
  - generated_from_trainer
 
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/jan-majkutewicz/huggingface/runs/8xusrxfz)
21
  # zephyr-7b-shp
22
 
23
+ This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full) on the SeniorKabanocci/SHP-binarized dataset.
24
+ It achieves the following results on the evaluation set:
25
+ - Loss: 0.4546
26
+ - Rewards/chosen: -1.0035
27
+ - Rewards/rejected: -2.3680
28
+ - Rewards/accuracies: 0.7864
29
+ - Rewards/margins: 1.3644
30
+ - Logps/rejected: -260.2372
31
+ - Logps/chosen: -378.4407
32
+ - Logits/rejected: -2.7522
33
+ - Logits/chosen: -2.7984
34
 
35
  ## Model description
36
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 0.9999197753710389,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "total_flos": 0.0,
4
  "train_loss": 0.44136011642577255,
5
  "train_runtime": 57646.808,
 
1
  {
2
  "epoch": 0.9999197753710389,
3
+ "eval_logits/chosen": -2.79840087890625,
4
+ "eval_logits/rejected": -2.752188205718994,
5
+ "eval_logps/chosen": -378.4407043457031,
6
+ "eval_logps/rejected": -260.23724365234375,
7
+ "eval_loss": 0.45464351773262024,
8
+ "eval_rewards/accuracies": 0.7863636612892151,
9
+ "eval_rewards/chosen": -1.0035351514816284,
10
+ "eval_rewards/margins": 1.364441156387329,
11
+ "eval_rewards/rejected": -2.367976188659668,
12
+ "eval_runtime": 2783.2579,
13
+ "eval_samples": 10555,
14
+ "eval_samples_per_second": 3.792,
15
+ "eval_steps_per_second": 0.474,
16
  "total_flos": 0.0,
17
  "train_loss": 0.44136011642577255,
18
  "train_runtime": 57646.808,
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "alignment-handbook/zephyr-7b-sft-full",
3
+ "architectures": [
4
+ "MistralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 14336,
13
+ "max_position_embeddings": 32768,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "rms_norm_eps": 1e-05,
19
+ "rope_theta": 10000.0,
20
+ "sliding_window": 4096,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.42.3",
24
+ "use_cache": true,
25
+ "vocab_size": 32000
26
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9999197753710389,
3
+ "eval_logits/chosen": -2.79840087890625,
4
+ "eval_logits/rejected": -2.752188205718994,
5
+ "eval_logps/chosen": -378.4407043457031,
6
+ "eval_logps/rejected": -260.23724365234375,
7
+ "eval_loss": 0.45464351773262024,
8
+ "eval_rewards/accuracies": 0.7863636612892151,
9
+ "eval_rewards/chosen": -1.0035351514816284,
10
+ "eval_rewards/margins": 1.364441156387329,
11
+ "eval_rewards/rejected": -2.367976188659668,
12
+ "eval_runtime": 2783.2579,
13
+ "eval_samples": 10555,
14
+ "eval_samples_per_second": 3.792,
15
+ "eval_steps_per_second": 0.474
16
+ }