thorirhrafn commited on
Commit
cafa574
·
verified ·
1 Parent(s): e823bfa

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - dpo
7
+ - generated_from_trainer
8
+ base_model: AI-Sweden-Models/gpt-sw3-1.3b
9
+ model-index:
10
+ - name: gpt1B_DPO_model
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # gpt1B_DPO_model
18
+
19
+ This model is a fine-tuned version of [AI-Sweden-Models/gpt-sw3-1.3b](https://huggingface.co/AI-Sweden-Models/gpt-sw3-1.3b) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6931
22
+ - Rewards/chosen: 0.0
23
+ - Rewards/rejected: 0.0
24
+ - Rewards/accuracies: 0.0
25
+ - Rewards/margins: 0.0
26
+ - Logps/rejected: -217.1661
27
+ - Logps/chosen: -114.3195
28
+ - Logits/rejected: -3.2643
29
+ - Logits/chosen: -3.4174
30
+
31
+ ## Model description
32
+
33
+ More information needed
34
+
35
+ ## Intended uses & limitations
36
+
37
+ More information needed
38
+
39
+ ## Training and evaluation data
40
+
41
+ More information needed
42
+
43
+ ## Training procedure
44
+
45
+ ### Training hyperparameters
46
+
47
+ The following hyperparameters were used during training:
48
+ - learning_rate: 1e-05
49
+ - train_batch_size: 1
50
+ - eval_batch_size: 1
51
+ - seed: 42
52
+ - gradient_accumulation_steps: 8
53
+ - total_train_batch_size: 8
54
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
55
+ - lr_scheduler_type: linear
56
+ - num_epochs: 5
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
61
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
62
+ | 0.6931 | 0.79 | 200 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
63
+ | 0.6931 | 1.59 | 400 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
64
+ | 0.6931 | 2.38 | 600 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
65
+ | 0.6931 | 3.18 | 800 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
66
+ | 0.6931 | 3.97 | 1000 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
67
+ | 0.6931 | 4.77 | 1200 | 0.6931 | 0.0 | 0.0 | 0.0 | 0.0 | -217.1661 | -114.3195 | -3.2643 | -3.4174 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - PEFT 0.8.2
73
+ - Transformers 4.38.1
74
+ - Pytorch 2.2.0+cu118
75
+ - Datasets 2.17.1
76
+ - Tokenizers 0.15.2
dpo/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "AI-Sweden-Models/gpt-sw3-1.3b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": true,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 256,
13
+ "lora_dropout": 0.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 256,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "c_attn"
23
+ ],
24
+ "task_type": "CAUSAL_LM",
25
+ "use_rslora": false
26
+ }
dpo/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f51a70c74db410dae453be3f9b74269b51853ec8b706bb85e69e15c27b27f153
3
+ size 100669688
reference/adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "AI-Sweden-Models/gpt-sw3-1.3b",
5
+ "bias": "none",
6
+ "fan_in_fan_out": true,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 256,
13
+ "lora_dropout": 0.1,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 256,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "c_attn"
23
+ ],
24
+ "task_type": "CAUSAL_LM",
25
+ "use_rslora": false
26
+ }
reference/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f51a70c74db410dae453be3f9b74269b51853ec8b706bb85e69e15c27b27f153
3
+ size 100669688