Model save
Browse files- README.md +94 -0
- all_results.json +9 -0
- generation_config.json +9 -0
- train_results.json +9 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: llama3.1
|
4 |
+
base_model: meta-llama/Llama-3.1-8B
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: zephyr-8b-sft-full
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# zephyr-8b-sft-full
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [meta-llama/Llama-3.1-8B](https://huggingface.co/meta-llama/Llama-3.1-8B) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.0747
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 2e-05
|
43 |
+
- train_batch_size: 8
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- num_devices: 16
|
48 |
+
- total_train_batch_size: 128
|
49 |
+
- total_eval_batch_size: 128
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: cosine
|
52 |
+
- lr_scheduler_warmup_ratio: 0.1
|
53 |
+
- num_epochs: 3.0
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
58 |
+
|:-------------:|:------:|:----:|:---------------:|
|
59 |
+
| 1.103 | 0.1052 | 100 | 1.0989 |
|
60 |
+
| 1.0867 | 0.2103 | 200 | 1.0966 |
|
61 |
+
| 1.111 | 0.3155 | 300 | 1.1012 |
|
62 |
+
| 1.0974 | 0.4206 | 400 | 1.0966 |
|
63 |
+
| 1.0898 | 0.5258 | 500 | 1.0920 |
|
64 |
+
| 1.0749 | 0.6309 | 600 | 1.0876 |
|
65 |
+
| 1.0847 | 0.7361 | 700 | 1.0831 |
|
66 |
+
| 1.0749 | 0.8412 | 800 | 1.0778 |
|
67 |
+
| 1.055 | 0.9464 | 900 | 1.0720 |
|
68 |
+
| 0.9184 | 1.0515 | 1000 | 1.0817 |
|
69 |
+
| 0.8955 | 1.1567 | 1100 | 1.0779 |
|
70 |
+
| 0.914 | 1.2618 | 1200 | 1.0758 |
|
71 |
+
| 0.9098 | 1.3670 | 1300 | 1.0698 |
|
72 |
+
| 0.9126 | 1.4721 | 1400 | 1.0667 |
|
73 |
+
| 0.9032 | 1.5773 | 1500 | 1.0604 |
|
74 |
+
| 0.8882 | 1.6824 | 1600 | 1.0546 |
|
75 |
+
| 0.8847 | 1.7876 | 1700 | 1.0490 |
|
76 |
+
| 0.8831 | 1.8927 | 1800 | 1.0455 |
|
77 |
+
| 0.8781 | 1.9979 | 1900 | 1.0413 |
|
78 |
+
| 0.7197 | 2.1030 | 2000 | 1.0822 |
|
79 |
+
| 0.7137 | 2.2082 | 2100 | 1.0841 |
|
80 |
+
| 0.7115 | 2.3134 | 2200 | 1.0800 |
|
81 |
+
| 0.7178 | 2.4185 | 2300 | 1.0789 |
|
82 |
+
| 0.7063 | 2.5237 | 2400 | 1.0777 |
|
83 |
+
| 0.6964 | 2.6288 | 2500 | 1.0755 |
|
84 |
+
| 0.7121 | 2.7340 | 2600 | 1.0742 |
|
85 |
+
| 0.7049 | 2.8391 | 2700 | 1.0748 |
|
86 |
+
| 0.7024 | 2.9443 | 2800 | 1.0747 |
|
87 |
+
|
88 |
+
|
89 |
+
### Framework versions
|
90 |
+
|
91 |
+
- Transformers 4.45.2
|
92 |
+
- Pytorch 2.2.2+rocm5.7
|
93 |
+
- Datasets 3.2.0
|
94 |
+
- Tokenizers 0.20.3
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 1194720315310080.0,
|
4 |
+
"train_loss": 0.8973418972260736,
|
5 |
+
"train_runtime": 76133.7056,
|
6 |
+
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 4.793,
|
8 |
+
"train_steps_per_second": 0.037
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 128000,
|
4 |
+
"do_sample": true,
|
5 |
+
"eos_token_id": 128001,
|
6 |
+
"temperature": 0.6,
|
7 |
+
"top_p": 0.9,
|
8 |
+
"transformers_version": "4.45.2"
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 1194720315310080.0,
|
4 |
+
"train_loss": 0.8973418972260736,
|
5 |
+
"train_runtime": 76133.7056,
|
6 |
+
"train_samples": 207864,
|
7 |
+
"train_samples_per_second": 4.793,
|
8 |
+
"train_steps_per_second": 0.037
|
9 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|