just1nseo commited on
Commit
ffda7a4
1 Parent(s): 992db9f

End of training

Browse files
README.md CHANGED
@@ -1,8 +1,12 @@
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
@@ -16,20 +20,20 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # zephyr-dpo-qlora-uf-ours-uffull-5e-6
18
 
19
- 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 None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.4950
22
- - Rewards/chosen: -1.7859
23
- - Rewards/rejected: -2.8799
24
- - Rewards/accuracies: 0.7480
25
- - Rewards/margins: 1.0940
26
- - Rewards/margins Max: 3.5863
27
- - Rewards/margins Min: -0.9706
28
  - Rewards/margins Std: 1.5436
29
- - Logps/rejected: -553.8444
30
- - Logps/chosen: -463.0418
31
- - Logits/rejected: -1.5527
32
- - Logits/chosen: -1.6196
33
 
34
  ## Model description
35
 
 
1
  ---
2
  base_model: alignment-handbook/zephyr-7b-sft-full
3
+ datasets:
4
+ - generation/UF
5
+ - generation/UFfull2
6
  library_name: peft
7
  license: apache-2.0
8
  tags:
9
+ - alignment-handbook
10
  - trl
11
  - dpo
12
  - generated_from_trainer
 
20
 
21
  # zephyr-dpo-qlora-uf-ours-uffull-5e-6
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 generation/UF and the generation/UFfull2 datasets.
24
  It achieves the following results on the evaluation set:
25
+ - Loss: 0.4948
26
+ - Rewards/chosen: -1.7888
27
+ - Rewards/rejected: -2.8835
28
+ - Rewards/accuracies: 0.7485
29
+ - Rewards/margins: 1.0946
30
+ - Rewards/margins Max: 3.5873
31
+ - Rewards/margins Min: -0.9701
32
  - Rewards/margins Std: 1.5436
33
+ - Logps/rejected: -554.2000
34
+ - Logps/chosen: -463.3372
35
+ - Logits/rejected: -1.5538
36
+ - Logits/chosen: -1.6206
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,5 +1,21 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "train_loss": 0.5053737083043175,
4
  "train_runtime": 67897.0602,
5
  "train_samples": 66812,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": -1.6206190586090088,
4
+ "eval_logits/rejected": -1.5537647008895874,
5
+ "eval_logps/chosen": -463.3371887207031,
6
+ "eval_logps/rejected": -554.199951171875,
7
+ "eval_loss": 0.4948451519012451,
8
+ "eval_rewards/accuracies": 0.7484999895095825,
9
+ "eval_rewards/chosen": -1.7888187170028687,
10
+ "eval_rewards/margins": 1.0946472883224487,
11
+ "eval_rewards/margins_max": 3.58725905418396,
12
+ "eval_rewards/margins_min": -0.9700561761856079,
13
+ "eval_rewards/margins_std": 1.5435914993286133,
14
+ "eval_rewards/rejected": -2.8834662437438965,
15
+ "eval_runtime": 858.4449,
16
+ "eval_samples": 4000,
17
+ "eval_samples_per_second": 4.66,
18
+ "eval_steps_per_second": 0.291,
19
  "train_loss": 0.5053737083043175,
20
  "train_runtime": 67897.0602,
21
  "train_samples": 66812,
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "quantization_config": {
19
+ "_load_in_4bit": true,
20
+ "_load_in_8bit": false,
21
+ "bnb_4bit_compute_dtype": "bfloat16",
22
+ "bnb_4bit_quant_type": "nf4",
23
+ "bnb_4bit_use_double_quant": false,
24
+ "llm_int8_enable_fp32_cpu_offload": false,
25
+ "llm_int8_has_fp16_weight": false,
26
+ "llm_int8_skip_modules": null,
27
+ "llm_int8_threshold": 6.0,
28
+ "load_in_4bit": true,
29
+ "load_in_8bit": false,
30
+ "quant_method": "bitsandbytes"
31
+ },
32
+ "rms_norm_eps": 1e-05,
33
+ "rope_theta": 10000.0,
34
+ "sliding_window": 4096,
35
+ "tie_word_embeddings": false,
36
+ "torch_dtype": "bfloat16",
37
+ "transformers_version": "4.39.0.dev0",
38
+ "use_cache": true,
39
+ "vocab_size": 32000
40
+ }
eval_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": -1.6206190586090088,
4
+ "eval_logits/rejected": -1.5537647008895874,
5
+ "eval_logps/chosen": -463.3371887207031,
6
+ "eval_logps/rejected": -554.199951171875,
7
+ "eval_loss": 0.4948451519012451,
8
+ "eval_rewards/accuracies": 0.7484999895095825,
9
+ "eval_rewards/chosen": -1.7888187170028687,
10
+ "eval_rewards/margins": 1.0946472883224487,
11
+ "eval_rewards/margins_max": 3.58725905418396,
12
+ "eval_rewards/margins_min": -0.9700561761856079,
13
+ "eval_rewards/margins_std": 1.5435914993286133,
14
+ "eval_rewards/rejected": -2.8834662437438965,
15
+ "eval_runtime": 858.4449,
16
+ "eval_samples": 4000,
17
+ "eval_samples_per_second": 4.66,
18
+ "eval_steps_per_second": 0.291
19
+ }
runs/Jul16_03-11-53_notebook-deployment-48-7d9b6c99-p5kv4/events.out.tfevents.1721168824.notebook-deployment-48-7d9b6c99-p5kv4.69986.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23af8cdac366243e42f6a230466acb812f0be0b2adaa8c09737d7e55302e08e5
3
+ size 1017