jikaixuan commited on
Commit
83f5d89
1 Parent(s): 16bc4cf

End of training

Browse files
README.md CHANGED
@@ -2,10 +2,16 @@
2
  license: apache-2.0
3
  library_name: peft
4
  tags:
 
 
 
 
5
  - trl
6
  - dpo
7
  - generated_from_trainer
8
  base_model: mistralai/Mistral-7B-v0.1
 
 
9
  model-index:
10
  - name: zephyr-7b
11
  results: []
@@ -16,17 +22,17 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # zephyr-7b
18
 
19
- This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.6182
22
- - Rewards/chosen: -0.4457
23
- - Rewards/rejected: -0.8122
24
- - Rewards/accuracies: 0.3672
25
- - Rewards/margins: 0.3666
26
- - Logps/rejected: -158.4149
27
- - Logps/chosen: -108.4784
28
- - Logits/rejected: 0.9580
29
- - Logits/chosen: 0.9035
30
  - Use Label: 0.0
31
  - Pred Label: 0.0
32
 
 
2
  license: apache-2.0
3
  library_name: peft
4
  tags:
5
+ - alignment-handbook
6
+ - trl
7
+ - dpo
8
+ - generated_from_trainer
9
  - trl
10
  - dpo
11
  - generated_from_trainer
12
  base_model: mistralai/Mistral-7B-v0.1
13
+ datasets:
14
+ - HuggingFaceH4/ultrafeedback_binarized
15
  model-index:
16
  - name: zephyr-7b
17
  results: []
 
22
 
23
  # zephyr-7b
24
 
25
+ 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.
26
  It achieves the following results on the evaluation set:
27
+ - Loss: 0.6171
28
+ - Rewards/chosen: -0.4648
29
+ - Rewards/rejected: -0.8388
30
+ - Rewards/accuracies: 0.3711
31
+ - Rewards/margins: 0.3740
32
+ - Logps/rejected: -161.0705
33
+ - Logps/chosen: -110.3948
34
+ - Logits/rejected: 1.0411
35
+ - Logits/chosen: 0.9868
36
  - Use Label: 0.0
37
  - Pred Label: 0.0
38
 
all_results.json CHANGED
@@ -1,5 +1,20 @@
1
  {
2
  "epoch": 1.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  "train_loss": 0.6389844682481554,
4
  "train_runtime": 9615.2592,
5
  "train_samples": 61135,
 
1
  {
2
  "epoch": 1.0,
3
+ "eval_logits/chosen": 0.9867910742759705,
4
+ "eval_logits/rejected": 1.0411394834518433,
5
+ "eval_logps/chosen": -110.39482879638672,
6
+ "eval_logps/rejected": -161.07052612304688,
7
+ "eval_loss": 0.617142915725708,
8
+ "eval_pred_label": 0.0,
9
+ "eval_rewards/accuracies": 0.37109375,
10
+ "eval_rewards/chosen": -0.4648258090019226,
11
+ "eval_rewards/margins": 0.3739502727985382,
12
+ "eval_rewards/rejected": -0.8387760519981384,
13
+ "eval_runtime": 125.4187,
14
+ "eval_samples": 2000,
15
+ "eval_samples_per_second": 15.947,
16
+ "eval_steps_per_second": 0.255,
17
+ "eval_use_label": 0.0,
18
  "train_loss": 0.6389844682481554,
19
  "train_runtime": 9615.2592,
20
  "train_samples": 61135,
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "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.38.2",
38
+ "use_cache": true,
39
+ "vocab_size": 32000
40
+ }
eval_results.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_logits/chosen": 0.9867910742759705,
4
+ "eval_logits/rejected": 1.0411394834518433,
5
+ "eval_logps/chosen": -110.39482879638672,
6
+ "eval_logps/rejected": -161.07052612304688,
7
+ "eval_loss": 0.617142915725708,
8
+ "eval_pred_label": 0.0,
9
+ "eval_rewards/accuracies": 0.37109375,
10
+ "eval_rewards/chosen": -0.4648258090019226,
11
+ "eval_rewards/margins": 0.3739502727985382,
12
+ "eval_rewards/rejected": -0.8387760519981384,
13
+ "eval_runtime": 125.4187,
14
+ "eval_samples": 2000,
15
+ "eval_samples_per_second": 15.947,
16
+ "eval_steps_per_second": 0.255,
17
+ "eval_use_label": 0.0
18
+ }
runs/Mar19_21-02-18_uclaml04.cs.ucla.edu/events.out.tfevents.1710917327.uclaml04.cs.ucla.edu.3973422.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11e1ce971f095d751d88b2a0b0e9410d4518ff9f751ad5d42499104b2270e5f2
3
+ size 935