kevinautomation
commited on
Commit
•
7adf53d
1
Parent(s):
b2ab278
kevinautomation/TinyLlama-1.1B-intermediate-step-1431k-3T_reddit_expert
Browse files- README.md +112 -0
- adapter_config.json +27 -0
- adapter_model.safetensors +3 -0
- runs/Feb08_00-46-28_bb80b7a1d771/events.out.tfevents.1707353193.bb80b7a1d771.5603.0 +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +41 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- generator
|
10 |
+
base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
|
11 |
+
model-index:
|
12 |
+
- name: tiny_llama_instruct_generation
|
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 |
+
# tiny_llama_instruct_generation
|
20 |
+
|
21 |
+
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.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 2.0919
|
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: 0.0002
|
43 |
+
- train_batch_size: 4
|
44 |
+
- eval_batch_size: 8
|
45 |
+
- seed: 42
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: constant
|
48 |
+
- lr_scheduler_warmup_steps: 0.03
|
49 |
+
- num_epochs: 2
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
54 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
55 |
+
| 2.3923 | 0.04 | 20 | 2.3466 |
|
56 |
+
| 2.2664 | 0.08 | 40 | 2.2596 |
|
57 |
+
| 2.1909 | 0.12 | 60 | 2.1966 |
|
58 |
+
| 2.1885 | 0.16 | 80 | 2.1737 |
|
59 |
+
| 2.1536 | 0.2 | 100 | 2.1553 |
|
60 |
+
| 2.1255 | 0.24 | 120 | 2.1426 |
|
61 |
+
| 2.1298 | 0.29 | 140 | 2.1318 |
|
62 |
+
| 2.0497 | 0.33 | 160 | 2.1242 |
|
63 |
+
| 2.0967 | 0.37 | 180 | 2.1198 |
|
64 |
+
| 2.1252 | 0.41 | 200 | 2.1160 |
|
65 |
+
| 2.1051 | 0.45 | 220 | 2.1139 |
|
66 |
+
| 2.0848 | 0.49 | 240 | 2.1121 |
|
67 |
+
| 2.1562 | 0.53 | 260 | 2.1104 |
|
68 |
+
| 2.1043 | 0.57 | 280 | 2.1088 |
|
69 |
+
| 2.0865 | 0.61 | 300 | 2.1075 |
|
70 |
+
| 2.0729 | 0.65 | 320 | 2.1065 |
|
71 |
+
| 2.1046 | 0.69 | 340 | 2.1059 |
|
72 |
+
| 2.1398 | 0.73 | 360 | 2.1050 |
|
73 |
+
| 2.0928 | 0.78 | 380 | 2.1035 |
|
74 |
+
| 2.1055 | 0.82 | 400 | 2.1027 |
|
75 |
+
| 2.0327 | 0.86 | 420 | 2.1017 |
|
76 |
+
| 2.0904 | 0.9 | 440 | 2.1012 |
|
77 |
+
| 2.0922 | 0.94 | 460 | 2.1006 |
|
78 |
+
| 2.0911 | 0.98 | 480 | 2.0997 |
|
79 |
+
| 2.1063 | 1.02 | 500 | 2.0994 |
|
80 |
+
| 2.1296 | 1.06 | 520 | 2.0993 |
|
81 |
+
| 2.1051 | 1.1 | 540 | 2.0986 |
|
82 |
+
| 2.0919 | 1.14 | 560 | 2.0982 |
|
83 |
+
| 2.0608 | 1.18 | 580 | 2.0977 |
|
84 |
+
| 2.0865 | 1.22 | 600 | 2.0966 |
|
85 |
+
| 2.0912 | 1.27 | 620 | 2.0962 |
|
86 |
+
| 2.0858 | 1.31 | 640 | 2.0962 |
|
87 |
+
| 2.0914 | 1.35 | 660 | 2.0961 |
|
88 |
+
| 2.0542 | 1.39 | 680 | 2.0951 |
|
89 |
+
| 2.0939 | 1.43 | 700 | 2.0948 |
|
90 |
+
| 2.0707 | 1.47 | 720 | 2.0942 |
|
91 |
+
| 2.1158 | 1.51 | 740 | 2.0944 |
|
92 |
+
| 2.079 | 1.55 | 760 | 2.0941 |
|
93 |
+
| 2.0232 | 1.59 | 780 | 2.0935 |
|
94 |
+
| 2.0954 | 1.63 | 800 | 2.0934 |
|
95 |
+
| 2.079 | 1.67 | 820 | 2.0939 |
|
96 |
+
| 2.0747 | 1.71 | 840 | 2.0932 |
|
97 |
+
| 2.0881 | 1.76 | 860 | 2.0926 |
|
98 |
+
| 2.0319 | 1.8 | 880 | 2.0928 |
|
99 |
+
| 2.1047 | 1.84 | 900 | 2.0922 |
|
100 |
+
| 2.0383 | 1.88 | 920 | 2.0923 |
|
101 |
+
| 2.0602 | 1.92 | 940 | 2.0923 |
|
102 |
+
| 2.0902 | 1.96 | 960 | 2.0919 |
|
103 |
+
| 2.0845 | 2.0 | 980 | 2.0919 |
|
104 |
+
|
105 |
+
|
106 |
+
### Framework versions
|
107 |
+
|
108 |
+
- PEFT 0.8.2
|
109 |
+
- Transformers 4.37.2
|
110 |
+
- Pytorch 2.1.0+cu121
|
111 |
+
- Datasets 2.16.1
|
112 |
+
- Tokenizers 0.15.1
|
adapter_config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 16,
|
13 |
+
"lora_dropout": 0.1,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 64,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"v_proj",
|
23 |
+
"q_proj"
|
24 |
+
],
|
25 |
+
"task_type": "CAUSAL_LM",
|
26 |
+
"use_rslora": false
|
27 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e44ce263e6fd885f50d82ca515b9325375b43ee36ededb75acf161ce88bc2e41
|
3 |
+
size 48
|
runs/Feb08_00-46-28_bb80b7a1d771/events.out.tfevents.1707353193.bb80b7a1d771.5603.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad55acac483c8af2afe9166687e9d9b33a089586805e8c61274db282ac2f8fbc
|
3 |
+
size 33800
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "</s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "</s>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<unk>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<unk>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "<s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "</s>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
}
|
29 |
+
},
|
30 |
+
"bos_token": "<s>",
|
31 |
+
"clean_up_tokenization_spaces": false,
|
32 |
+
"eos_token": "</s>",
|
33 |
+
"legacy": false,
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "</s>",
|
36 |
+
"padding_side": "right",
|
37 |
+
"sp_model_kwargs": {},
|
38 |
+
"tokenizer_class": "LlamaTokenizer",
|
39 |
+
"unk_token": "<unk>",
|
40 |
+
"use_default_system_prompt": false
|
41 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:56e75aeffbf795705938909ee8122e7f4ea800144be324a8c5dcd645223b1603
|
3 |
+
size 4728
|