Model save
Browse files- README.md +75 -0
- all_results.json +9 -0
- generation_config.json +12 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: llama3
|
4 |
+
base_model: meta-llama/Meta-Llama-3-8B-Instruct
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- simpo
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: llama3instruct_-l5-10-0_3-1e-6-2_best
|
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 |
+
# llama3instruct_-l5-10-0_3-1e-6-2_best
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.2716
|
22 |
+
- Rewards/chosen: -7.9331
|
23 |
+
- Rewards/rejected: -19.2874
|
24 |
+
- Rewards/accuracies: 0.8614
|
25 |
+
- Rewards/margins: 11.3543
|
26 |
+
- Logps/rejected: -1.9287
|
27 |
+
- Logps/chosen: -0.7933
|
28 |
+
- Logits/rejected: -1.2977
|
29 |
+
- Logits/chosen: -1.3755
|
30 |
+
|
31 |
+
## Model description
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Intended uses & limitations
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training and evaluation data
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Training procedure
|
44 |
+
|
45 |
+
### Training hyperparameters
|
46 |
+
|
47 |
+
The following hyperparameters were used during training:
|
48 |
+
- learning_rate: 1e-06
|
49 |
+
- train_batch_size: 2
|
50 |
+
- eval_batch_size: 4
|
51 |
+
- seed: 42
|
52 |
+
- distributed_type: multi-GPU
|
53 |
+
- num_devices: 4
|
54 |
+
- gradient_accumulation_steps: 16
|
55 |
+
- total_train_batch_size: 128
|
56 |
+
- total_eval_batch_size: 16
|
57 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
58 |
+
- lr_scheduler_type: cosine
|
59 |
+
- lr_scheduler_warmup_ratio: 0.1
|
60 |
+
- num_epochs: 2.0
|
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 |
|
65 |
+
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
66 |
+
| 1.4299 | 0.8743 | 400 | 1.4682 | -8.3837 | -17.5861 | 0.8705 | 9.2024 | -1.7586 | -0.8384 | -1.2770 | -1.3300 |
|
67 |
+
| 0.7858 | 1.7486 | 800 | 1.2716 | -7.9331 | -19.2874 | 0.8614 | 11.3543 | -1.9287 | -0.7933 | -1.2977 | -1.3755 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.44.2
|
73 |
+
- Pytorch 2.2.2+cu121
|
74 |
+
- Datasets 2.18.0
|
75 |
+
- Tokenizers 0.19.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.9978142076502732,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 1.4686054226084402,
|
5 |
+
"train_runtime": 12099.7941,
|
6 |
+
"train_samples": 58558,
|
7 |
+
"train_samples_per_second": 9.679,
|
8 |
+
"train_steps_per_second": 0.076
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 128000,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": [
|
5 |
+
128001,
|
6 |
+
128009
|
7 |
+
],
|
8 |
+
"max_length": 4096,
|
9 |
+
"temperature": 0.6,
|
10 |
+
"top_p": 0.9,
|
11 |
+
"transformers_version": "4.44.2"
|
12 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.9978142076502732,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 1.4686054226084402,
|
5 |
+
"train_runtime": 12099.7941,
|
6 |
+
"train_samples": 58558,
|
7 |
+
"train_samples_per_second": 9.679,
|
8 |
+
"train_steps_per_second": 0.076
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|