Model save
Browse files- README.md +85 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- kto
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: HuggingFaceH4/zephyr-7b-beta
|
9 |
+
model-index:
|
10 |
+
- name: WeniGPT-QA-Zephyr-7B-4.0.1-KTO
|
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 |
+
# WeniGPT-QA-Zephyr-7B-4.0.1-KTO
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [HuggingFaceH4/zephyr-7b-beta](https://huggingface.co/HuggingFaceH4/zephyr-7b-beta) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.0038
|
22 |
+
- Rewards/chosen: 6.5225
|
23 |
+
- Rewards/rejected: -33.7048
|
24 |
+
- Rewards/margins: 40.2273
|
25 |
+
- Kl: 0.0
|
26 |
+
- Logps/chosen: -111.4407
|
27 |
+
- Logps/rejected: -539.2156
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 0.0002
|
47 |
+
- train_batch_size: 4
|
48 |
+
- eval_batch_size: 4
|
49 |
+
- seed: 42
|
50 |
+
- gradient_accumulation_steps: 8
|
51 |
+
- total_train_batch_size: 32
|
52 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
53 |
+
- lr_scheduler_type: linear
|
54 |
+
- lr_scheduler_warmup_ratio: 0.03
|
55 |
+
- training_steps: 786
|
56 |
+
- mixed_precision_training: Native AMP
|
57 |
+
|
58 |
+
### Training results
|
59 |
+
|
60 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/margins | Kl | Logps/chosen | Logps/rejected |
|
61 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:---------------:|:---:|:------------:|:--------------:|
|
62 |
+
| 0.204 | 0.38 | 50 | 0.0275 | 5.6328 | -20.3465 | 25.9793 | 0.0 | -120.3375 | -405.6329 |
|
63 |
+
| 0.073 | 0.76 | 100 | 0.0143 | 5.7898 | -19.2664 | 25.0562 | 0.0 | -118.7677 | -394.8320 |
|
64 |
+
| 0.0553 | 1.13 | 150 | 0.0225 | 5.8121 | -29.9815 | 35.7935 | 0.0 | -118.5453 | -501.9826 |
|
65 |
+
| 0.0232 | 1.51 | 200 | 0.0048 | 6.4515 | -27.5911 | 34.0425 | 0.0 | -112.1512 | -478.0785 |
|
66 |
+
| 0.0519 | 1.89 | 250 | 0.0081 | 6.4814 | -30.4910 | 36.9724 | 0.0 | -111.8522 | -507.0782 |
|
67 |
+
| 0.0095 | 2.27 | 300 | 0.0154 | 6.4081 | -33.8838 | 40.2919 | 0.0 | -112.5852 | -541.0063 |
|
68 |
+
| 0.0098 | 2.65 | 350 | 0.0052 | 6.5962 | -41.2733 | 47.8696 | 0.0 | -110.7035 | -614.9014 |
|
69 |
+
| 0.0038 | 3.02 | 400 | 0.0038 | 6.5225 | -33.7048 | 40.2273 | 0.0 | -111.4407 | -539.2156 |
|
70 |
+
| 0.0068 | 3.4 | 450 | 0.0080 | 6.3449 | -43.3527 | 49.6976 | 0.0 | -113.2169 | -635.6954 |
|
71 |
+
| 0.0037 | 3.78 | 500 | 0.0071 | 6.5639 | -44.5033 | 51.0672 | 0.0 | -111.0268 | -647.2004 |
|
72 |
+
| 0.0032 | 4.16 | 550 | 0.0085 | 6.6333 | -29.5095 | 36.1428 | 0.0 | -110.3333 | -497.2631 |
|
73 |
+
| 0.0029 | 4.54 | 600 | 0.0048 | 6.5574 | -42.0858 | 48.6432 | 0.0 | -111.0921 | -623.0258 |
|
74 |
+
| 0.0028 | 4.91 | 650 | 0.0041 | 6.6663 | -41.3645 | 48.0309 | 0.0 | -110.0026 | -615.8130 |
|
75 |
+
| 0.0032 | 5.29 | 700 | 0.0040 | 6.6773 | -41.2318 | 47.9091 | 0.0 | -109.8931 | -614.4858 |
|
76 |
+
| 0.003 | 5.67 | 750 | 0.0040 | 6.6870 | -41.2272 | 47.9142 | 0.0 | -109.7961 | -614.4399 |
|
77 |
+
|
78 |
+
|
79 |
+
### Framework versions
|
80 |
+
|
81 |
+
- PEFT 0.10.0
|
82 |
+
- Transformers 4.39.1
|
83 |
+
- Pytorch 2.1.0+cu118
|
84 |
+
- Datasets 2.18.0
|
85 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 54560368
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14d7e4993ea281e63f4c8d89d0e8454636a96a85561f40d54b3f36b1494cf2f7
|
3 |
size 54560368
|