sedrickkeh commited on
Commit
b29f66f
·
verified ·
1 Parent(s): 52441db

Model save

Browse files
Files changed (3) hide show
  1. README.md +75 -0
  2. generation_config.json +8 -0
  3. training_args.bin +2 -2
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: gemma-oh-preferences
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # gemma-oh-preferences
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.9479
23
+ - Rewards/chosen: -46.2475
24
+ - Rewards/rejected: -47.8884
25
+ - Rewards/accuracies: 0.6453
26
+ - Rewards/margins: 1.6409
27
+ - Logps/rejected: -4.7888
28
+ - Logps/chosen: -4.6247
29
+ - Logits/rejected: 14.7121
30
+ - Logits/chosen: 14.4778
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: 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.9886 | 1.0 | 7344 | 3.9479 | -46.2475 | -47.8884 | 0.6453 | 1.6409 | -4.7888 | -4.6247 | 14.7121 | 14.4778 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.45.2
73
+ - Pytorch 2.3.0
74
+ - Datasets 2.21.0
75
+ - Tokenizers 0.20.2
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
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:10e697d43b8906e9923033d78b83d911091b09918ba4b32b63cbffb84dea564c
3
- size 7160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b2f45b26c05c38a710894d838cbcea30e718bbeabfe4bcb34e06441a0f31e37
3
+ size 7096