AmberYifan commited on
Commit
5ab9c6b
1 Parent(s): fcfaca6

Model save

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: AmberYifan/mistral-safe-sft-full
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: mistral-sft-spin-ultrafeedback
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # mistral-sft-spin-ultrafeedback
15
+
16
+ This model is a fine-tuned version of [AmberYifan/mistral-safe-sft-full](https://huggingface.co/AmberYifan/mistral-safe-sft-full) on the None dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 0.3972
19
+ - Rewards/real: 22.1059
20
+ - Rewards/generated: -7.2907
21
+ - Rewards/accuracies: 0.9643
22
+ - Rewards/margins: 29.3967
23
+ - Logps/generated: -562.6890
24
+ - Logps/real: -250.2120
25
+ - Logits/generated: -1.9480
26
+ - Logits/real: -2.0005
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-07
46
+ - train_batch_size: 4
47
+ - eval_batch_size: 4
48
+ - seed: 42
49
+ - distributed_type: multi-GPU
50
+ - num_devices: 3
51
+ - total_train_batch_size: 12
52
+ - total_eval_batch_size: 12
53
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
54
+ - lr_scheduler_type: linear
55
+ - lr_scheduler_warmup_ratio: 0.1
56
+ - num_epochs: 1
57
+
58
+ ### Training results
59
+
60
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/real | Rewards/generated | Rewards/accuracies | Rewards/margins | Logps/generated | Logps/real | Logits/generated | Logits/real |
61
+ |:-------------:|:------:|:----:|:---------------:|:------------:|:-----------------:|:------------------:|:---------------:|:---------------:|:----------:|:----------------:|:-----------:|
62
+ | 0.595 | 0.1203 | 1000 | 0.5124 | 11.3158 | 1.6608 | 0.9464 | 9.6550 | -473.1739 | -358.1132 | -2.4781 | -2.4648 |
63
+ | 0.6451 | 0.2405 | 2000 | 0.4696 | 17.0313 | 2.1793 | 0.9613 | 14.8520 | -467.9886 | -300.9576 | -2.2454 | -2.2894 |
64
+ | 0.6942 | 0.3608 | 3000 | 0.4032 | 18.1009 | -4.0003 | 0.9732 | 22.1012 | -529.7845 | -290.2621 | -2.2503 | -2.3049 |
65
+ | 0.5971 | 0.4810 | 4000 | 0.4349 | 20.4856 | -0.4965 | 0.9554 | 20.9821 | -494.7470 | -266.4150 | -2.2408 | -2.2874 |
66
+ | 0.418 | 0.6013 | 5000 | 0.4742 | 21.3899 | -1.9856 | 0.9613 | 23.3755 | -509.6375 | -257.3721 | -2.2078 | -2.2568 |
67
+ | 0.4272 | 0.7215 | 6000 | 0.4182 | 21.5687 | -2.6705 | 0.9583 | 24.2392 | -516.4866 | -255.5838 | -2.0241 | -2.0560 |
68
+ | 0.408 | 0.8418 | 7000 | 0.3871 | 21.3882 | -9.6508 | 0.9732 | 31.0390 | -586.2899 | -257.3895 | -1.9645 | -2.0343 |
69
+ | 0.5954 | 0.9620 | 8000 | 0.3972 | 22.1059 | -7.2907 | 0.9643 | 29.3967 | -562.6890 | -250.2120 | -1.9480 | -2.0005 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.43.3
75
+ - Pytorch 2.2.2+cu121
76
+ - Datasets 2.20.0
77
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.5495538560314325,
5
+ "train_runtime": 35404.0549,
6
+ "train_samples": 99792,
7
+ "train_samples_per_second": 2.819,
8
+ "train_steps_per_second": 0.235
9
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.43.3"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.5495538560314325,
5
+ "train_runtime": 35404.0549,
6
+ "train_samples": 99792,
7
+ "train_samples_per_second": 2.819,
8
+ "train_steps_per_second": 0.235
9
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff