Model save
Browse files- README.md +61 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- generation_config.json +7 -0
- model.safetensors +1 -1
- runs/Jan03_13-41-04_ml-xtx-machine/events.out.tfevents.1704285709.ml-xtx-machine.9179.0 +2 -2
- runs/Jan03_13-41-04_ml-xtx-machine/events.out.tfevents.1704291439.ml-xtx-machine.9179.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +104 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: TinyLlama-1.1B-Chat-v1.0-reasoning-sft-full
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# TinyLlama-1.1B-Chat-v1.0-reasoning-sft-full
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-Chat-v1.0](https://huggingface.co/TinyLlama/TinyLlama-1.1B-Chat-v1.0) on an unknown dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 0.8959
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 2e-05
|
38 |
+
- train_batch_size: 4
|
39 |
+
- eval_batch_size: 2
|
40 |
+
- seed: 42
|
41 |
+
- distributed_type: multi-GPU
|
42 |
+
- gradient_accumulation_steps: 10
|
43 |
+
- total_train_batch_size: 40
|
44 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
+
- lr_scheduler_type: cosine
|
46 |
+
- num_epochs: 2
|
47 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
52 |
+
| 0.9354 | 0.22 | 92 | 0.9211 |
|
53 |
+
| 0.8646 | 1.22 | 185 | 0.8959 |
|
54 |
+
|
55 |
+
|
56 |
+
### Framework versions
|
57 |
+
|
58 |
+
- Transformers 4.35.0
|
59 |
+
- Pytorch 2.3.0.dev20231228+rocm5.7
|
60 |
+
- Datasets 2.14.6
|
61 |
+
- Tokenizers 0.14.1
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.22,
|
3 |
+
"eval_loss": 0.8958835601806641,
|
4 |
+
"eval_runtime": 48.8992,
|
5 |
+
"eval_samples": 956,
|
6 |
+
"eval_samples_per_second": 19.55,
|
7 |
+
"eval_steps_per_second": 9.775,
|
8 |
+
"train_loss": 0.9214719901213775,
|
9 |
+
"train_runtime": 5680.6096,
|
10 |
+
"train_samples": 16676,
|
11 |
+
"train_samples_per_second": 5.871,
|
12 |
+
"train_steps_per_second": 0.146
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.22,
|
3 |
+
"eval_loss": 0.8958835601806641,
|
4 |
+
"eval_runtime": 48.8992,
|
5 |
+
"eval_samples": 956,
|
6 |
+
"eval_samples_per_second": 19.55,
|
7 |
+
"eval_steps_per_second": 9.775
|
8 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"eos_token_id": 2,
|
4 |
+
"max_length": 2048,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.35.0"
|
7 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2200119864
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:edfe5952a27c911cfcc36d4ba07c5433974e54140263c4f1aaba3f9835aeaf0b
|
3 |
size 2200119864
|
runs/Jan03_13-41-04_ml-xtx-machine/events.out.tfevents.1704285709.ml-xtx-machine.9179.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:998528459a796a25c2f34e5f5a1e71c423b7115a4c44957d3eca7b9a9f0951ee
|
3 |
+
size 6864
|
runs/Jan03_13-41-04_ml-xtx-machine/events.out.tfevents.1704291439.ml-xtx-machine.9179.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5912287f3c1afa9010418b07d3eba33f811583f5f72ddc65c7768150edeb4e74
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.22,
|
3 |
+
"train_loss": 0.9214719901213775,
|
4 |
+
"train_runtime": 5680.6096,
|
5 |
+
"train_samples": 16676,
|
6 |
+
"train_samples_per_second": 5.871,
|
7 |
+
"train_steps_per_second": 0.146
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.2213960182297914,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 185,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.0,
|
13 |
+
"learning_rate": 1.9999928710990414e-05,
|
14 |
+
"loss": 1.3025,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.05,
|
19 |
+
"learning_rate": 1.9971497912068014e-05,
|
20 |
+
"loss": 1.0331,
|
21 |
+
"step": 20
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.1,
|
25 |
+
"learning_rate": 1.9886154122075344e-05,
|
26 |
+
"loss": 0.9573,
|
27 |
+
"step": 40
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.14,
|
31 |
+
"learning_rate": 1.974445512526336e-05,
|
32 |
+
"loss": 0.9535,
|
33 |
+
"step": 60
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.19,
|
37 |
+
"learning_rate": 1.954720866508546e-05,
|
38 |
+
"loss": 0.9354,
|
39 |
+
"step": 80
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.22,
|
43 |
+
"eval_loss": 0.9210964441299438,
|
44 |
+
"eval_runtime": 48.914,
|
45 |
+
"eval_samples_per_second": 19.544,
|
46 |
+
"eval_steps_per_second": 9.772,
|
47 |
+
"step": 92
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 1.02,
|
51 |
+
"learning_rate": 1.9295539128732096e-05,
|
52 |
+
"loss": 0.8984,
|
53 |
+
"step": 100
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 1.07,
|
57 |
+
"learning_rate": 1.899088113765426e-05,
|
58 |
+
"loss": 0.8842,
|
59 |
+
"step": 120
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 1.11,
|
63 |
+
"learning_rate": 1.863497136962213e-05,
|
64 |
+
"loss": 0.8736,
|
65 |
+
"step": 140
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 1.16,
|
69 |
+
"learning_rate": 1.8229838658936566e-05,
|
70 |
+
"loss": 0.8752,
|
71 |
+
"step": 160
|
72 |
+
},
|
73 |
+
{
|
74 |
+
"epoch": 1.21,
|
75 |
+
"learning_rate": 1.7777792431226384e-05,
|
76 |
+
"loss": 0.8646,
|
77 |
+
"step": 180
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.22,
|
81 |
+
"eval_loss": 0.8958887457847595,
|
82 |
+
"eval_runtime": 48.9138,
|
83 |
+
"eval_samples_per_second": 19.545,
|
84 |
+
"eval_steps_per_second": 9.772,
|
85 |
+
"step": 185
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 1.22,
|
89 |
+
"step": 185,
|
90 |
+
"total_flos": 9.424742439400243e+16,
|
91 |
+
"train_loss": 0.9214719901213775,
|
92 |
+
"train_runtime": 5680.6096,
|
93 |
+
"train_samples_per_second": 5.871,
|
94 |
+
"train_steps_per_second": 0.146
|
95 |
+
}
|
96 |
+
],
|
97 |
+
"logging_steps": 20,
|
98 |
+
"max_steps": 832,
|
99 |
+
"num_train_epochs": 2,
|
100 |
+
"save_steps": 40,
|
101 |
+
"total_flos": 9.424742439400243e+16,
|
102 |
+
"trial_name": null,
|
103 |
+
"trial_params": null
|
104 |
+
}
|