chchen commited on
Commit
e3a10f8
·
verified ·
1 Parent(s): 7651bcf

Model save

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. adapter_model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3.1
4
+ base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
5
+ tags:
6
+ - trl
7
+ - kto
8
+ - llama-factory
9
+ - generated_from_trainer
10
+ model-index:
11
+ - name: Llama-3.1-8B-Instruct-KTO-300
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
+ # Llama-3.1-8B-Instruct-KTO-300
19
+
20
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.2807
23
+ - Rewards/chosen: 0.7524
24
+ - Logps/chosen: -12.9007
25
+ - Logits/chosen: -3652706.0
26
+ - Rewards/rejected: -1.5384
27
+ - Logps/rejected: -37.9030
28
+ - Logits/rejected: -7997593.7778
29
+ - Rewards/margins: 2.2908
30
+ - Kl: 0.6633
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: 5e-06
50
+ - train_batch_size: 2
51
+ - eval_batch_size: 2
52
+ - seed: 42
53
+ - gradient_accumulation_steps: 8
54
+ - total_train_batch_size: 16
55
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
56
+ - lr_scheduler_type: cosine
57
+ - lr_scheduler_warmup_ratio: 0.1
58
+ - num_epochs: 10.0
59
+
60
+ ### Training results
61
+
62
+ | Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Logps/chosen | Logits/chosen | Rewards/rejected | Logps/rejected | Logits/rejected | Rewards/margins | |
63
+ |:-------------:|:------:|:----:|:---------------:|:--------------:|:------------:|:-------------:|:----------------:|:--------------:|:---------------:|:---------------:|:-------:|
64
+ | 0.4973 | 1.4889 | 50 | 0.4995 | 0.0407 | -20.0184 | -5131056.3333 | 0.0319 | -22.1998 | -8269521.7778 | 0.0088 | 4.2481 |
65
+ | 0.4683 | 2.9778 | 100 | 0.4692 | 0.3686 | -16.7392 | -4839914.0 | 0.0514 | -22.0054 | -8194471.1111 | 0.3172 | 12.3862 |
66
+ | 0.3709 | 4.4741 | 150 | 0.3692 | 0.5681 | -14.7444 | -4248186.6667 | -0.5877 | -28.3963 | -8021952.0 | 1.1558 | 2.0650 |
67
+ | 0.3219 | 5.9630 | 200 | 0.3044 | 0.6412 | -14.0130 | -3768132.0 | -1.2363 | -34.8816 | -7958945.7778 | 1.8775 | 1.4612 |
68
+ | 0.2882 | 7.4593 | 250 | 0.2864 | 0.7339 | -13.0862 | -3685730.3333 | -1.4520 | -37.0385 | -7991116.4444 | 2.1858 | 0.8725 |
69
+ | 0.2574 | 8.9481 | 300 | 0.2807 | 0.7524 | -12.9007 | -3652706.0 | -1.5384 | -37.9030 | -7997593.7778 | 2.2908 | 0.6633 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - PEFT 0.12.0
75
+ - Transformers 4.46.1
76
+ - Pytorch 2.5.1+cu124
77
+ - Datasets 3.1.0
78
+ - Tokenizers 0.20.3
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba99ae9f892e7fcda38cb528632e7f85963803769895e2863e8a3d966f4f5465
3
  size 83945296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbc92510f530d24c869dad96de860b06d1b8582e8eb4211c1e9ad60fa64aff14
3
  size 83945296