sedrickkeh
commited on
Commit
•
62b38d4
1
Parent(s):
c0bd915
Model save
Browse files- README.md +26 -20
- generation_config.json +5 -6
- training_args.bin +1 -1
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
-
license:
|
4 |
-
base_model:
|
5 |
tags:
|
|
|
|
|
6 |
- llama-factory
|
7 |
-
- full
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
10 |
- name: model
|
@@ -16,9 +17,17 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# model
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -37,28 +46,25 @@ More information needed
|
|
37 |
### Training hyperparameters
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
-
- learning_rate:
|
41 |
-
- train_batch_size:
|
42 |
-
- eval_batch_size:
|
43 |
- seed: 42
|
44 |
- distributed_type: multi-GPU
|
45 |
-
- num_devices:
|
46 |
-
- gradient_accumulation_steps:
|
47 |
-
- total_train_batch_size:
|
48 |
- total_eval_batch_size: 64
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
-
- lr_scheduler_type:
|
51 |
- lr_scheduler_warmup_ratio: 0.1
|
52 |
-
-
|
53 |
-
- num_epochs: 3.0
|
54 |
|
55 |
### Training results
|
56 |
|
57 |
-
| Training Loss | Epoch
|
58 |
-
|
59 |
-
|
|
60 |
-
| 0.0 | 1.8667 | 7 | nan |
|
61 |
-
| 0.0 | 2.4 | 9 | nan |
|
62 |
|
63 |
|
64 |
### Framework versions
|
@@ -66,4 +72,4 @@ The following hyperparameters were used during training:
|
|
66 |
- Transformers 4.45.2
|
67 |
- Pytorch 2.3.0
|
68 |
- Datasets 2.21.0
|
69 |
-
- Tokenizers 0.20.
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
license: gemma
|
4 |
+
base_model: google/gemma-2-9b-it
|
5 |
tags:
|
6 |
+
- trl
|
7 |
+
- dpo
|
8 |
- llama-factory
|
|
|
9 |
- generated_from_trainer
|
10 |
model-index:
|
11 |
- name: model
|
|
|
17 |
|
18 |
# model
|
19 |
|
20 |
+
This model is a fine-tuned version of [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 3.9434
|
23 |
+
- Rewards/chosen: -46.0543
|
24 |
+
- Rewards/rejected: -47.7041
|
25 |
+
- Rewards/accuracies: 0.6473
|
26 |
+
- Rewards/margins: 1.6497
|
27 |
+
- Logps/rejected: -4.7704
|
28 |
+
- Logps/chosen: -4.6054
|
29 |
+
- Logits/rejected: 14.6796
|
30 |
+
- Logits/chosen: 14.4459
|
31 |
|
32 |
## Model description
|
33 |
|
|
|
46 |
### Training hyperparameters
|
47 |
|
48 |
The following hyperparameters were used during training:
|
49 |
+
- learning_rate: 8e-07
|
50 |
+
- train_batch_size: 2
|
51 |
+
- eval_batch_size: 2
|
52 |
- seed: 42
|
53 |
- distributed_type: multi-GPU
|
54 |
+
- num_devices: 32
|
55 |
+
- gradient_accumulation_steps: 2
|
56 |
+
- total_train_batch_size: 128
|
57 |
- total_eval_batch_size: 64
|
58 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
59 |
+
- lr_scheduler_type: cosine
|
60 |
- lr_scheduler_warmup_ratio: 0.1
|
61 |
+
- num_epochs: 1.0
|
|
|
62 |
|
63 |
### Training results
|
64 |
|
65 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
66 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
67 |
+
| 3.9873 | 1.0 | 7344 | 3.9434 | -46.0543 | -47.7041 | 0.6473 | 1.6497 | -4.7704 | -4.6054 | 14.6796 | 14.4459 |
|
|
|
|
|
68 |
|
69 |
|
70 |
### Framework versions
|
|
|
72 |
- Transformers 4.45.2
|
73 |
- Pytorch 2.3.0
|
74 |
- Datasets 2.21.0
|
75 |
+
- Tokenizers 0.20.2
|
generation_config.json
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"top_p": 0.9,
|
8 |
"transformers_version": "4.45.2"
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 2,
|
4 |
+
"cache_implementation": "hybrid",
|
5 |
+
"eos_token_id": 1,
|
6 |
+
"pad_token_id": 0,
|
|
|
7 |
"transformers_version": "4.45.2"
|
8 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 7096
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:94816a34230f886273cbcd5b38d15b23e891a375b3a1d387d32261e87b3200d7
|
3 |
size 7096
|