End of training
Browse files- README.md +79 -0
- adapter_model.safetensors +1 -1
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: llama2
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- orpo
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: meta-llama/Llama-2-7b-hf
|
9 |
+
model-index:
|
10 |
+
- name: Llama-2-7b-hf-eval_threapist-ORPO-filtered-0.2-version-1
|
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 |
+
# Llama-2-7b-hf-eval_threapist-ORPO-filtered-0.2-version-1
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5471
|
22 |
+
- Rewards/chosen: -0.1206
|
23 |
+
- Rewards/rejected: -0.1280
|
24 |
+
- Rewards/accuracies: 0.6500
|
25 |
+
- Rewards/margins: 0.0074
|
26 |
+
- Logps/rejected: -1.2803
|
27 |
+
- Logps/chosen: -1.2064
|
28 |
+
- Logits/rejected: -1.4351
|
29 |
+
- Logits/chosen: -1.4353
|
30 |
+
- Nll Loss: 0.4721
|
31 |
+
- Log Odds Ratio: -0.7502
|
32 |
+
- Log Odds Chosen: 0.0744
|
33 |
+
|
34 |
+
## Model description
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Intended uses & limitations
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training and evaluation data
|
43 |
+
|
44 |
+
More information needed
|
45 |
+
|
46 |
+
## Training procedure
|
47 |
+
|
48 |
+
### Training hyperparameters
|
49 |
+
|
50 |
+
The following hyperparameters were used during training:
|
51 |
+
- learning_rate: 8e-06
|
52 |
+
- train_batch_size: 2
|
53 |
+
- eval_batch_size: 2
|
54 |
+
- seed: 42
|
55 |
+
- gradient_accumulation_steps: 2
|
56 |
+
- total_train_batch_size: 4
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: linear
|
59 |
+
- lr_scheduler_warmup_steps: 10
|
60 |
+
- num_epochs: 3
|
61 |
+
|
62 |
+
### Training results
|
63 |
+
|
64 |
+
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen | Nll Loss | Log Odds Ratio | Log Odds Chosen |
|
65 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|:--------:|:--------------:|:---------------:|
|
66 |
+
| 0.8049 | 0.6 | 141 | 0.8303 | -0.2121 | -0.2243 | 0.6500 | 0.0122 | -2.2432 | -2.1211 | -0.7703 | -0.7698 | 0.7515 | -0.7874 | 0.1083 |
|
67 |
+
| 0.5299 | 1.2 | 282 | 0.5796 | -0.1515 | -0.1597 | 0.6500 | 0.0081 | -1.5968 | -1.5153 | -1.2952 | -1.2957 | 0.5038 | -0.7583 | 0.0737 |
|
68 |
+
| 0.595 | 1.8 | 423 | 0.5535 | -0.1227 | -0.1296 | 0.6500 | 0.0070 | -1.2962 | -1.2265 | -1.4015 | -1.4015 | 0.4782 | -0.7532 | 0.0683 |
|
69 |
+
| 0.6024 | 2.4 | 564 | 0.5476 | -0.1216 | -0.1293 | 0.6500 | 0.0077 | -1.2929 | -1.2164 | -1.4239 | -1.4238 | 0.4727 | -0.7491 | 0.0768 |
|
70 |
+
| 0.59 | 3.0 | 705 | 0.5471 | -0.1206 | -0.1280 | 0.6500 | 0.0074 | -1.2803 | -1.2064 | -1.4351 | -1.4353 | 0.4721 | -0.7502 | 0.0744 |
|
71 |
+
|
72 |
+
|
73 |
+
### Framework versions
|
74 |
+
|
75 |
+
- PEFT 0.10.0
|
76 |
+
- Transformers 4.40.2
|
77 |
+
- Pytorch 2.3.0+cu121
|
78 |
+
- Datasets 2.19.1
|
79 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 604336032
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5becfd81354037fcfe4b3f3f290479da7edaf3e96333840b3f55a54a2119d10e
|
3 |
size 604336032
|