HachiML commited on
Commit
2921cff
1 Parent(s): 22db309

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ tags:
4
+ - trl
5
+ - dpo
6
+ - generated_from_trainer
7
+ base_model: HachiML/Mistral-7B-v0.3-mxm0.5-lora
8
+ model-index:
9
+ - name: Mistral-7B-v0.3-dpo-lora_sr_mxm1_lr1e-5_3ep
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # Mistral-7B-v0.3-dpo-lora_sr_mxm1_lr1e-5_3ep
17
+
18
+ This model is a fine-tuned version of [HachiML/Mistral-7B-v0.3-mxm0.5-lora](https://huggingface.co/HachiML/Mistral-7B-v0.3-mxm0.5-lora) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3042
21
+ - Rewards/chosen: -1.2203
22
+ - Rewards/rejected: -3.3451
23
+ - Rewards/accuracies: 0.8378
24
+ - Rewards/margins: 2.1247
25
+ - Logps/rejected: -261.0693
26
+ - Logps/chosen: -372.8520
27
+ - Logits/rejected: 1.1299
28
+ - Logits/chosen: 0.4372
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 1e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: cosine
53
+ - lr_scheduler_warmup_ratio: 0.05
54
+ - num_epochs: 3
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
59
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
60
+ | 0.4588 | 1.0 | 103 | 0.3524 | -0.7926 | -2.3725 | 0.7857 | 1.5799 | -251.3439 | -368.5752 | 0.8310 | 0.2112 |
61
+ | 0.1934 | 2.0 | 206 | 0.3055 | -1.1865 | -3.2760 | 0.8170 | 2.0896 | -260.3791 | -372.5136 | 1.0927 | 0.4082 |
62
+ | 0.1254 | 3.0 | 309 | 0.3042 | -1.2203 | -3.3451 | 0.8378 | 2.1247 | -261.0693 | -372.8520 | 1.1299 | 0.4372 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - PEFT 0.11.1
68
+ - Transformers 4.41.1
69
+ - Pytorch 2.3.0+cu121
70
+ - Datasets 2.19.1
71
+ - Tokenizers 0.19.1
adapter_config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "HachiML/Mistral-7B-v0.3-mxm0.5-lora",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 64,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "gate_proj",
24
+ "up_proj",
25
+ "o_proj",
26
+ "lm_head",
27
+ "q_proj",
28
+ "down_proj",
29
+ "k_proj",
30
+ "v_proj"
31
+ ],
32
+ "task_type": "CAUSAL_LM",
33
+ "use_dora": false,
34
+ "use_rslora": false
35
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cb6a6c3f37d9836db3dccf8e4de80da4fb3914922aea78640107cdb85a8b831
3
+ size 608759824
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "</s>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5477204b1b5a7b448832b2f8f96ce8c63e355e5ef549b3519b8110e8f435936c
3
+ size 5176