hugodk-sch commited on
Commit
d87b4b6
1 Parent(s): 53f7f4a

End of training

Browse files
Files changed (4) hide show
  1. README.md +13 -11
  2. all_results.json +13 -0
  3. config.json +40 -0
  4. eval_results.json +16 -0
README.md CHANGED
@@ -1,11 +1,13 @@
1
  ---
2
- license: apache-2.0
3
  library_name: peft
4
  tags:
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
8
  base_model: norallm/normistral-7b-warm
 
 
9
  model-index:
10
  - name: ap-normistral-7b-align-scan
11
  results: []
@@ -16,17 +18,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # ap-normistral-7b-align-scan
18
 
19
- This model is a fine-tuned version of [norallm/normistral-7b-warm](https://huggingface.co/norallm/normistral-7b-warm) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.7249
22
- - Rewards/chosen: -0.1096
23
- - Rewards/rejected: -0.2129
24
- - Rewards/accuracies: 0.5282
25
- - Rewards/margins: 0.1033
26
- - Logps/rejected: -36.3214
27
- - Logps/chosen: -32.6259
28
- - Logits/rejected: 98.6240
29
- - Logits/chosen: 98.6482
30
 
31
  ## Model description
32
 
 
1
  ---
 
2
  library_name: peft
3
  tags:
4
+ - alignment-handbook
5
  - trl
6
  - dpo
7
  - generated_from_trainer
8
  base_model: norallm/normistral-7b-warm
9
+ datasets:
10
+ - hugodk-sch/aftonposten_title_prefs
11
  model-index:
12
  - name: ap-normistral-7b-align-scan
13
  results: []
 
18
 
19
  # ap-normistral-7b-align-scan
20
 
21
+ This model is a fine-tuned version of [data/ap-normistral-7b-sft-qlora](https://huggingface.co/data/ap-normistral-7b-sft-qlora) on the hugodk-sch/aftonposten_title_prefs dataset.
22
  It achieves the following results on the evaluation set:
23
+ - Loss: 0.7295
24
+ - Rewards/chosen: -0.1029
25
+ - Rewards/rejected: -0.1921
26
+ - Rewards/accuracies: 0.5507
27
+ - Rewards/margins: 0.0893
28
+ - Logps/rejected: -36.2867
29
+ - Logps/chosen: -32.6146
30
+ - Logits/rejected: 98.5914
31
+ - Logits/chosen: 98.6142
32
 
33
  ## Model description
34
 
all_results.json CHANGED
@@ -1,5 +1,18 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "train_loss": 0.5886486524111265,
4
  "train_runtime": 2556.9439,
5
  "train_samples": 3079,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": 98.61418151855469,
4
+ "eval_logits/rejected": 98.59135437011719,
5
+ "eval_logps/chosen": -32.61461639404297,
6
+ "eval_logps/rejected": -36.286746978759766,
7
+ "eval_loss": 0.7295444011688232,
8
+ "eval_rewards/accuracies": 0.550664484500885,
9
+ "eval_rewards/chosen": -0.10286416858434677,
10
+ "eval_rewards/margins": 0.08926620334386826,
11
+ "eval_rewards/rejected": -0.19213035702705383,
12
+ "eval_runtime": 103.7555,
13
+ "eval_samples": 343,
14
+ "eval_samples_per_second": 3.306,
15
+ "eval_steps_per_second": 0.414,
16
  "train_loss": 0.5886486524111265,
17
  "train_runtime": 2556.9439,
18
  "train_samples": 3079,
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "norallm/normistral-7b-warm",
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": 2048,
14
+ "model_type": "mistral",
15
+ "num_attention_heads": 32,
16
+ "num_hidden_layers": 32,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 2,
19
+ "quantization_config": {
20
+ "_load_in_4bit": true,
21
+ "_load_in_8bit": false,
22
+ "bnb_4bit_compute_dtype": "float16",
23
+ "bnb_4bit_quant_type": "nf4",
24
+ "bnb_4bit_use_double_quant": false,
25
+ "llm_int8_enable_fp32_cpu_offload": false,
26
+ "llm_int8_has_fp16_weight": false,
27
+ "llm_int8_skip_modules": null,
28
+ "llm_int8_threshold": 6.0,
29
+ "load_in_4bit": true,
30
+ "load_in_8bit": false,
31
+ "quant_method": "bitsandbytes"
32
+ },
33
+ "rms_norm_eps": 1e-05,
34
+ "rope_theta": 10000.0,
35
+ "sliding_window": 2048,
36
+ "tie_word_embeddings": false,
37
+ "transformers_version": "4.39.0.dev0",
38
+ "use_cache": true,
39
+ "vocab_size": 32768
40
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": 98.61418151855469,
4
+ "eval_logits/rejected": 98.59135437011719,
5
+ "eval_logps/chosen": -32.61461639404297,
6
+ "eval_logps/rejected": -36.286746978759766,
7
+ "eval_loss": 0.7295444011688232,
8
+ "eval_rewards/accuracies": 0.550664484500885,
9
+ "eval_rewards/chosen": -0.10286416858434677,
10
+ "eval_rewards/margins": 0.08926620334386826,
11
+ "eval_rewards/rejected": -0.19213035702705383,
12
+ "eval_runtime": 103.7555,
13
+ "eval_samples": 343,
14
+ "eval_samples_per_second": 3.306,
15
+ "eval_steps_per_second": 0.414
16
+ }