yakazimir commited on
Commit
1c7f866
·
verified ·
1 Parent(s): 46ae4ba

Model save

Browse files
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: other
4
+ base_model: trl-lib/qwen1.5-0.5b-sft
5
+ tags:
6
+ - trl
7
+ - simpo
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: qwen_unl_entropy
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
+ # qwen_unl_entropy
18
+
19
+ This model is a fine-tuned version of [trl-lib/qwen1.5-0.5b-sft](https://huggingface.co/trl-lib/qwen1.5-0.5b-sft) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 2.0457
22
+ - Rewards/chosen: -1.3358
23
+ - Rewards/rejected: -1.6120
24
+ - Rewards/accuracies: 0.5927
25
+ - Rewards/margins: 0.2762
26
+ - Logps/rejected: -1.6120
27
+ - Logps/chosen: -1.3358
28
+ - Logits/rejected: 0.2351
29
+ - Logits/chosen: 0.1504
30
+ - Semantic Entropy: 0.7755
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 1e-06
50
+ - train_batch_size: 2
51
+ - eval_batch_size: 4
52
+ - seed: 42
53
+ - distributed_type: multi-GPU
54
+ - gradient_accumulation_steps: 16
55
+ - total_train_batch_size: 32
56
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
57
+ - lr_scheduler_type: cosine
58
+ - lr_scheduler_warmup_ratio: 0.1
59
+ - num_epochs: 3.0
60
+
61
+ ### Training results
62
+
63
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Semantic Entropy |
64
+ |:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:----------------:|
65
+ | 2.0607 | 0.2141 | 400 | 2.0925 | -1.3454 | -1.4757 | 0.5564 | 0.1303 | -1.4757 | -1.3454 | 0.3297 | 0.2452 | 0.7910 |
66
+ | 2.0818 | 0.4282 | 800 | 2.0714 | -1.3264 | -1.4818 | 0.5586 | 0.1554 | -1.4818 | -1.3264 | 0.3658 | 0.2814 | 0.7938 |
67
+ | 2.0333 | 0.6422 | 1200 | 2.0611 | -1.3249 | -1.5070 | 0.5734 | 0.1821 | -1.5070 | -1.3249 | 0.4174 | 0.3272 | 0.7900 |
68
+ | 2.0467 | 0.8563 | 1600 | 2.0564 | -1.3256 | -1.5170 | 0.5764 | 0.1913 | -1.5170 | -1.3256 | 0.3362 | 0.2519 | 0.7920 |
69
+ | 2.1246 | 1.0704 | 2000 | 2.0505 | -1.3186 | -1.5340 | 0.5772 | 0.2154 | -1.5340 | -1.3186 | 0.4597 | 0.3633 | 0.7884 |
70
+ | 2.0207 | 1.2845 | 2400 | 2.0472 | -1.3301 | -1.5773 | 0.5875 | 0.2473 | -1.5773 | -1.3301 | 0.3860 | 0.2934 | 0.7809 |
71
+ | 2.0557 | 1.4986 | 2800 | 2.0434 | -1.3280 | -1.5872 | 0.5846 | 0.2592 | -1.5872 | -1.3280 | 0.4563 | 0.3580 | 0.7788 |
72
+ | 2.0057 | 1.7127 | 3200 | 2.0460 | -1.3270 | -1.5754 | 0.5883 | 0.2484 | -1.5754 | -1.3270 | 0.3804 | 0.2876 | 0.7828 |
73
+ | 1.971 | 1.9267 | 3600 | 2.0442 | -1.3219 | -1.5700 | 0.5861 | 0.2480 | -1.5700 | -1.3219 | 0.3035 | 0.2161 | 0.7832 |
74
+ | 1.9276 | 2.1408 | 4000 | 2.0445 | -1.3312 | -1.6024 | 0.5905 | 0.2711 | -1.6024 | -1.3312 | 0.3771 | 0.2823 | 0.7784 |
75
+ | 1.9438 | 2.3549 | 4400 | 2.0449 | -1.3381 | -1.6152 | 0.5942 | 0.2771 | -1.6152 | -1.3381 | 0.2493 | 0.1633 | 0.7754 |
76
+ | 1.9434 | 2.5690 | 4800 | 2.0459 | -1.3386 | -1.6198 | 0.5942 | 0.2812 | -1.6198 | -1.3386 | 0.2611 | 0.1743 | 0.7744 |
77
+ | 1.9666 | 2.7831 | 5200 | 2.0454 | -1.3354 | -1.6132 | 0.5942 | 0.2777 | -1.6132 | -1.3354 | 0.2918 | 0.2027 | 0.7755 |
78
+ | 1.9498 | 2.9972 | 5600 | 2.0457 | -1.3358 | -1.6120 | 0.5927 | 0.2762 | -1.6120 | -1.3358 | 0.2351 | 0.1504 | 0.7755 |
79
+
80
+
81
+ ### Framework versions
82
+
83
+ - Transformers 4.44.2
84
+ - Pytorch 2.2.2+cu121
85
+ - Datasets 2.18.0
86
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.999297541394882,
3
+ "total_flos": 0.0,
4
+ "train_loss": 2.028473087245443,
5
+ "train_runtime": 28359.3461,
6
+ "train_samples": 59790,
7
+ "train_samples_per_second": 6.325,
8
+ "train_steps_per_second": 0.198
9
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151643,
3
+ "eos_token_id": 151643,
4
+ "max_new_tokens": 2048,
5
+ "transformers_version": "4.44.2"
6
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.999297541394882,
3
+ "total_flos": 0.0,
4
+ "train_loss": 2.028473087245443,
5
+ "train_runtime": 28359.3461,
6
+ "train_samples": 59790,
7
+ "train_samples_per_second": 6.325,
8
+ "train_steps_per_second": 0.198
9
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff