Model save
Browse files- README.md +69 -0
- all_results.json +13 -0
- eval_results.json +8 -0
- generation_config.json +7 -0
- model.safetensors +1 -1
- train_results.json +8 -0
- trainer_state.json +0 -0
README.md
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
model-index:
|
11 |
+
- name: LlamaCorn-sft-adapter
|
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 |
+
# LlamaCorn-sft-adapter
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on the generator dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 0.9638
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 7e-05
|
42 |
+
- train_batch_size: 8
|
43 |
+
- eval_batch_size: 4
|
44 |
+
- seed: 42
|
45 |
+
- distributed_type: multi-GPU
|
46 |
+
- num_devices: 2
|
47 |
+
- gradient_accumulation_steps: 4
|
48 |
+
- total_train_batch_size: 64
|
49 |
+
- total_eval_batch_size: 8
|
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
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
58 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
59 |
+
| 1.038 | 1.0 | 6606 | 1.0506 |
|
60 |
+
| 0.876 | 2.0 | 13212 | 0.9648 |
|
61 |
+
| 0.7713 | 3.0 | 19818 | 0.9638 |
|
62 |
+
|
63 |
+
|
64 |
+
### Framework versions
|
65 |
+
|
66 |
+
- Transformers 4.36.2
|
67 |
+
- Pytorch 2.1.0+cu121
|
68 |
+
- Datasets 2.14.6
|
69 |
+
- Tokenizers 0.15.0
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 0.9637993574142456,
|
4 |
+
"eval_runtime": 235.6225,
|
5 |
+
"eval_samples": 40963,
|
6 |
+
"eval_samples_per_second": 47.224,
|
7 |
+
"eval_steps_per_second": 5.904,
|
8 |
+
"train_loss": 0.9284211427668099,
|
9 |
+
"train_runtime": 113797.7954,
|
10 |
+
"train_samples": 1686013,
|
11 |
+
"train_samples_per_second": 11.145,
|
12 |
+
"train_steps_per_second": 0.174
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_loss": 0.9637993574142456,
|
4 |
+
"eval_runtime": 235.6225,
|
5 |
+
"eval_samples": 40963,
|
6 |
+
"eval_samples_per_second": 47.224,
|
7 |
+
"eval_steps_per_second": 5.904
|
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.36.2"
|
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:f333043e49ff45c88c73f2841b5e3671b6a00d105d0fb5acf70506506772019f
|
3 |
size 2200119864
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"train_loss": 0.9284211427668099,
|
4 |
+
"train_runtime": 113797.7954,
|
5 |
+
"train_samples": 1686013,
|
6 |
+
"train_samples_per_second": 11.145,
|
7 |
+
"train_steps_per_second": 0.174
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|