Spaces:
Sleeping
Sleeping
Commit
·
d661bad
1
Parent(s):
ac8618e
Add fine-tuned TinyLlama model
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- laptop-tinyllama/checkpoint-100/README.md +202 -0
- laptop-tinyllama/checkpoint-100/adapter_config.json +32 -0
- laptop-tinyllama/checkpoint-100/adapter_model.safetensors +3 -0
- laptop-tinyllama/checkpoint-100/optimizer.pt +3 -0
- laptop-tinyllama/checkpoint-100/rng_state.pth +3 -0
- laptop-tinyllama/checkpoint-100/scaler.pt +3 -0
- laptop-tinyllama/checkpoint-100/scheduler.pt +3 -0
- laptop-tinyllama/checkpoint-100/special_tokens_map.json +30 -0
- laptop-tinyllama/checkpoint-100/tokenizer.json +0 -0
- laptop-tinyllama/checkpoint-100/tokenizer.model +3 -0
- laptop-tinyllama/checkpoint-100/tokenizer_config.json +44 -0
- laptop-tinyllama/checkpoint-100/trainer_state.json +69 -0
- laptop-tinyllama/checkpoint-100/training_args.bin +3 -0
- laptop-tinyllama/checkpoint-1000/README.md +202 -0
- laptop-tinyllama/checkpoint-1000/adapter_config.json +32 -0
- laptop-tinyllama/checkpoint-1000/adapter_model.safetensors +3 -0
- laptop-tinyllama/checkpoint-1000/optimizer.pt +3 -0
- laptop-tinyllama/checkpoint-1000/rng_state.pth +3 -0
- laptop-tinyllama/checkpoint-1000/scaler.pt +3 -0
- laptop-tinyllama/checkpoint-1000/scheduler.pt +3 -0
- laptop-tinyllama/checkpoint-1000/special_tokens_map.json +30 -0
- laptop-tinyllama/checkpoint-1000/tokenizer.json +0 -0
- laptop-tinyllama/checkpoint-1000/tokenizer.model +3 -0
- laptop-tinyllama/checkpoint-1000/tokenizer_config.json +44 -0
- laptop-tinyllama/checkpoint-1000/trainer_state.json +384 -0
- laptop-tinyllama/checkpoint-1000/training_args.bin +3 -0
- laptop-tinyllama/checkpoint-1050/README.md +202 -0
- laptop-tinyllama/checkpoint-1050/adapter_config.json +32 -0
- laptop-tinyllama/checkpoint-1050/adapter_model.safetensors +3 -0
- laptop-tinyllama/checkpoint-1050/optimizer.pt +3 -0
- laptop-tinyllama/checkpoint-1050/rng_state.pth +3 -0
- laptop-tinyllama/checkpoint-1050/scaler.pt +3 -0
- laptop-tinyllama/checkpoint-1050/scheduler.pt +3 -0
- laptop-tinyllama/checkpoint-1050/special_tokens_map.json +30 -0
- laptop-tinyllama/checkpoint-1050/tokenizer.json +0 -0
- laptop-tinyllama/checkpoint-1050/tokenizer.model +3 -0
- laptop-tinyllama/checkpoint-1050/tokenizer_config.json +44 -0
- laptop-tinyllama/checkpoint-1050/trainer_state.json +398 -0
- laptop-tinyllama/checkpoint-1050/training_args.bin +3 -0
- laptop-tinyllama/checkpoint-1100/README.md +202 -0
- laptop-tinyllama/checkpoint-1100/adapter_config.json +32 -0
- laptop-tinyllama/checkpoint-1100/adapter_model.safetensors +3 -0
- laptop-tinyllama/checkpoint-1100/optimizer.pt +3 -0
- laptop-tinyllama/checkpoint-1100/rng_state.pth +3 -0
- laptop-tinyllama/checkpoint-1100/scaler.pt +3 -0
- laptop-tinyllama/checkpoint-1100/scheduler.pt +3 -0
- laptop-tinyllama/checkpoint-1100/special_tokens_map.json +30 -0
- laptop-tinyllama/checkpoint-1100/tokenizer.json +0 -0
- laptop-tinyllama/checkpoint-1100/tokenizer.model +3 -0
- laptop-tinyllama/checkpoint-1100/tokenizer_config.json +44 -0
laptop-tinyllama/checkpoint-100/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
laptop-tinyllama/checkpoint-100/adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 16,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.0,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 8,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"v_proj",
|
27 |
+
"q_proj"
|
28 |
+
],
|
29 |
+
"task_type": "CAUSAL_LM",
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
laptop-tinyllama/checkpoint-100/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdd17ca4b17976ade3497fe91bd40565f581ea3cfb47b7451aff50b585ebb96c
|
3 |
+
size 4517152
|
laptop-tinyllama/checkpoint-100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0bf44d6ce50001dd5245490b8371bbc18553a3e3edaaa9c215670453b3dc4dc2
|
3 |
+
size 9085370
|
laptop-tinyllama/checkpoint-100/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:386fcc8cc1089aade9450d86fb239ea3483f455fd2d78d8378645feecfec9d69
|
3 |
+
size 14244
|
laptop-tinyllama/checkpoint-100/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
|
3 |
+
size 988
|
laptop-tinyllama/checkpoint-100/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbbaff2defbf6cada48a805fea13a40a54a9f44954b937ce8182a971527eb669
|
3 |
+
size 1064
|
laptop-tinyllama/checkpoint-100/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
laptop-tinyllama/checkpoint-100/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
laptop-tinyllama/checkpoint-100/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
laptop-tinyllama/checkpoint-100/tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": false,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"padding_side": "right",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|
laptop-tinyllama/checkpoint-100/trainer_state.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": null,
|
3 |
+
"best_metric": null,
|
4 |
+
"best_model_checkpoint": null,
|
5 |
+
"epoch": 0.16,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 100,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 0.032,
|
14 |
+
"grad_norm": 716410.0625,
|
15 |
+
"learning_rate": 4.9493333333333336e-05,
|
16 |
+
"loss": 2.1967,
|
17 |
+
"step": 20
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.064,
|
21 |
+
"grad_norm": 49844.6171875,
|
22 |
+
"learning_rate": 4.896e-05,
|
23 |
+
"loss": 0.5682,
|
24 |
+
"step": 40
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.096,
|
28 |
+
"grad_norm": 14418.5693359375,
|
29 |
+
"learning_rate": 4.842666666666667e-05,
|
30 |
+
"loss": 0.2278,
|
31 |
+
"step": 60
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.128,
|
35 |
+
"grad_norm": 15060.6279296875,
|
36 |
+
"learning_rate": 4.789333333333334e-05,
|
37 |
+
"loss": 0.1681,
|
38 |
+
"step": 80
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.16,
|
42 |
+
"grad_norm": 12125.150390625,
|
43 |
+
"learning_rate": 4.736000000000001e-05,
|
44 |
+
"loss": 0.1061,
|
45 |
+
"step": 100
|
46 |
+
}
|
47 |
+
],
|
48 |
+
"logging_steps": 20,
|
49 |
+
"max_steps": 1875,
|
50 |
+
"num_input_tokens_seen": 0,
|
51 |
+
"num_train_epochs": 3,
|
52 |
+
"save_steps": 50,
|
53 |
+
"stateful_callbacks": {
|
54 |
+
"TrainerControl": {
|
55 |
+
"args": {
|
56 |
+
"should_epoch_stop": false,
|
57 |
+
"should_evaluate": false,
|
58 |
+
"should_log": false,
|
59 |
+
"should_save": true,
|
60 |
+
"should_training_stop": false
|
61 |
+
},
|
62 |
+
"attributes": {}
|
63 |
+
}
|
64 |
+
},
|
65 |
+
"total_flos": 2545185875558400.0,
|
66 |
+
"train_batch_size": 8,
|
67 |
+
"trial_name": null,
|
68 |
+
"trial_params": null
|
69 |
+
}
|
laptop-tinyllama/checkpoint-100/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:97df92dfbcff7a679ad83676feb05d2e0b7581f8fa8f3164510cc1e246bdce3e
|
3 |
+
size 5304
|
laptop-tinyllama/checkpoint-1000/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
laptop-tinyllama/checkpoint-1000/adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 16,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.0,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 8,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"v_proj",
|
27 |
+
"q_proj"
|
28 |
+
],
|
29 |
+
"task_type": "CAUSAL_LM",
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
laptop-tinyllama/checkpoint-1000/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7182d8ef86139d1e8378c9515d04650945549e39f6a7fdb2deacc159688c1892
|
3 |
+
size 4517152
|
laptop-tinyllama/checkpoint-1000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b34b46c5d0f39ed2ef05f0a560ee31b3f51c123989104fd972f013fda48fce7
|
3 |
+
size 9085370
|
laptop-tinyllama/checkpoint-1000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
|
3 |
+
size 14244
|
laptop-tinyllama/checkpoint-1000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
|
3 |
+
size 988
|
laptop-tinyllama/checkpoint-1000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:293461d4d602bad43e8261faf6b9a29172d86d86e41295256af12203b4cabba1
|
3 |
+
size 1064
|
laptop-tinyllama/checkpoint-1000/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
laptop-tinyllama/checkpoint-1000/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
laptop-tinyllama/checkpoint-1000/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
laptop-tinyllama/checkpoint-1000/tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": false,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"padding_side": "right",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|
laptop-tinyllama/checkpoint-1000/trainer_state.json
ADDED
@@ -0,0 +1,384 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": null,
|
3 |
+
"best_metric": null,
|
4 |
+
"best_model_checkpoint": null,
|
5 |
+
"epoch": 1.6,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 1000,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 0.032,
|
14 |
+
"grad_norm": 671614.75,
|
15 |
+
"learning_rate": 4.9493333333333336e-05,
|
16 |
+
"loss": 2.1669,
|
17 |
+
"step": 20
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.064,
|
21 |
+
"grad_norm": 41173.5,
|
22 |
+
"learning_rate": 4.896e-05,
|
23 |
+
"loss": 0.5516,
|
24 |
+
"step": 40
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.096,
|
28 |
+
"grad_norm": 14334.6923828125,
|
29 |
+
"learning_rate": 4.842666666666667e-05,
|
30 |
+
"loss": 0.2249,
|
31 |
+
"step": 60
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.128,
|
35 |
+
"grad_norm": 14753.2421875,
|
36 |
+
"learning_rate": 4.789333333333334e-05,
|
37 |
+
"loss": 0.1644,
|
38 |
+
"step": 80
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.16,
|
42 |
+
"grad_norm": 12797.7333984375,
|
43 |
+
"learning_rate": 4.736000000000001e-05,
|
44 |
+
"loss": 0.103,
|
45 |
+
"step": 100
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.192,
|
49 |
+
"grad_norm": 12743.939453125,
|
50 |
+
"learning_rate": 4.682666666666667e-05,
|
51 |
+
"loss": 0.0684,
|
52 |
+
"step": 120
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 0.224,
|
56 |
+
"grad_norm": 10378.1640625,
|
57 |
+
"learning_rate": 4.629333333333333e-05,
|
58 |
+
"loss": 0.0495,
|
59 |
+
"step": 140
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.256,
|
63 |
+
"grad_norm": 8000.236328125,
|
64 |
+
"learning_rate": 4.576e-05,
|
65 |
+
"loss": 0.0404,
|
66 |
+
"step": 160
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 0.288,
|
70 |
+
"grad_norm": 8669.037109375,
|
71 |
+
"learning_rate": 4.5226666666666665e-05,
|
72 |
+
"loss": 0.0356,
|
73 |
+
"step": 180
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.32,
|
77 |
+
"grad_norm": 8630.375,
|
78 |
+
"learning_rate": 4.4693333333333335e-05,
|
79 |
+
"loss": 0.0291,
|
80 |
+
"step": 200
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.352,
|
84 |
+
"grad_norm": 8318.3955078125,
|
85 |
+
"learning_rate": 4.4160000000000004e-05,
|
86 |
+
"loss": 0.0285,
|
87 |
+
"step": 220
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.384,
|
91 |
+
"grad_norm": 7282.09619140625,
|
92 |
+
"learning_rate": 4.3626666666666674e-05,
|
93 |
+
"loss": 0.0282,
|
94 |
+
"step": 240
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 0.416,
|
98 |
+
"grad_norm": 7333.845703125,
|
99 |
+
"learning_rate": 4.3093333333333336e-05,
|
100 |
+
"loss": 0.028,
|
101 |
+
"step": 260
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 0.448,
|
105 |
+
"grad_norm": 8852.5693359375,
|
106 |
+
"learning_rate": 4.256e-05,
|
107 |
+
"loss": 0.0312,
|
108 |
+
"step": 280
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 0.48,
|
112 |
+
"grad_norm": 6368.5595703125,
|
113 |
+
"learning_rate": 4.202666666666667e-05,
|
114 |
+
"loss": 0.0279,
|
115 |
+
"step": 300
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 0.512,
|
119 |
+
"grad_norm": 7761.8134765625,
|
120 |
+
"learning_rate": 4.149333333333333e-05,
|
121 |
+
"loss": 0.0277,
|
122 |
+
"step": 320
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.544,
|
126 |
+
"grad_norm": 6672.0615234375,
|
127 |
+
"learning_rate": 4.096e-05,
|
128 |
+
"loss": 0.0276,
|
129 |
+
"step": 340
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.576,
|
133 |
+
"grad_norm": 7834.865234375,
|
134 |
+
"learning_rate": 4.042666666666667e-05,
|
135 |
+
"loss": 0.0276,
|
136 |
+
"step": 360
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.608,
|
140 |
+
"grad_norm": 8973.3291015625,
|
141 |
+
"learning_rate": 3.989333333333333e-05,
|
142 |
+
"loss": 0.0303,
|
143 |
+
"step": 380
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 0.64,
|
147 |
+
"grad_norm": 5775.8837890625,
|
148 |
+
"learning_rate": 3.936e-05,
|
149 |
+
"loss": 0.0275,
|
150 |
+
"step": 400
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 0.672,
|
154 |
+
"grad_norm": 8265.2255859375,
|
155 |
+
"learning_rate": 3.8826666666666665e-05,
|
156 |
+
"loss": 0.0275,
|
157 |
+
"step": 420
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 0.704,
|
161 |
+
"grad_norm": 6458.6533203125,
|
162 |
+
"learning_rate": 3.8293333333333335e-05,
|
163 |
+
"loss": 0.0275,
|
164 |
+
"step": 440
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.736,
|
168 |
+
"grad_norm": 7894.96435546875,
|
169 |
+
"learning_rate": 3.776e-05,
|
170 |
+
"loss": 0.029,
|
171 |
+
"step": 460
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 0.768,
|
175 |
+
"grad_norm": 7347.64013671875,
|
176 |
+
"learning_rate": 3.7226666666666674e-05,
|
177 |
+
"loss": 0.0275,
|
178 |
+
"step": 480
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 0.8,
|
182 |
+
"grad_norm": 6285.21630859375,
|
183 |
+
"learning_rate": 3.669333333333334e-05,
|
184 |
+
"loss": 0.0275,
|
185 |
+
"step": 500
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 0.832,
|
189 |
+
"grad_norm": 8621.4580078125,
|
190 |
+
"learning_rate": 3.616e-05,
|
191 |
+
"loss": 0.0274,
|
192 |
+
"step": 520
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 0.864,
|
196 |
+
"grad_norm": 5599.4931640625,
|
197 |
+
"learning_rate": 3.562666666666667e-05,
|
198 |
+
"loss": 0.0293,
|
199 |
+
"step": 540
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 0.896,
|
203 |
+
"grad_norm": 6125.87890625,
|
204 |
+
"learning_rate": 3.509333333333333e-05,
|
205 |
+
"loss": 0.0272,
|
206 |
+
"step": 560
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 0.928,
|
210 |
+
"grad_norm": 6572.81689453125,
|
211 |
+
"learning_rate": 3.456e-05,
|
212 |
+
"loss": 0.0272,
|
213 |
+
"step": 580
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 0.96,
|
217 |
+
"grad_norm": 6079.21435546875,
|
218 |
+
"learning_rate": 3.402666666666667e-05,
|
219 |
+
"loss": 0.0298,
|
220 |
+
"step": 600
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 0.992,
|
224 |
+
"grad_norm": 7548.86474609375,
|
225 |
+
"learning_rate": 3.349333333333334e-05,
|
226 |
+
"loss": 0.0302,
|
227 |
+
"step": 620
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 1.024,
|
231 |
+
"grad_norm": 5836.685546875,
|
232 |
+
"learning_rate": 3.296e-05,
|
233 |
+
"loss": 0.0296,
|
234 |
+
"step": 640
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.056,
|
238 |
+
"grad_norm": 5482.8134765625,
|
239 |
+
"learning_rate": 3.2426666666666666e-05,
|
240 |
+
"loss": 0.0291,
|
241 |
+
"step": 660
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.088,
|
245 |
+
"grad_norm": 7803.9892578125,
|
246 |
+
"learning_rate": 3.1893333333333335e-05,
|
247 |
+
"loss": 0.0271,
|
248 |
+
"step": 680
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 1.12,
|
252 |
+
"grad_norm": 5504.576171875,
|
253 |
+
"learning_rate": 3.136e-05,
|
254 |
+
"loss": 0.0272,
|
255 |
+
"step": 700
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 1.152,
|
259 |
+
"grad_norm": 6076.79541015625,
|
260 |
+
"learning_rate": 3.082666666666667e-05,
|
261 |
+
"loss": 0.0273,
|
262 |
+
"step": 720
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"epoch": 1.184,
|
266 |
+
"grad_norm": 5411.95458984375,
|
267 |
+
"learning_rate": 3.0293333333333334e-05,
|
268 |
+
"loss": 0.0297,
|
269 |
+
"step": 740
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 1.216,
|
273 |
+
"grad_norm": 4871.5166015625,
|
274 |
+
"learning_rate": 2.976e-05,
|
275 |
+
"loss": 0.027,
|
276 |
+
"step": 760
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.248,
|
280 |
+
"grad_norm": 4601.7197265625,
|
281 |
+
"learning_rate": 2.922666666666667e-05,
|
282 |
+
"loss": 0.0295,
|
283 |
+
"step": 780
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 1.28,
|
287 |
+
"grad_norm": 5593.90380859375,
|
288 |
+
"learning_rate": 2.8693333333333332e-05,
|
289 |
+
"loss": 0.0271,
|
290 |
+
"step": 800
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 1.312,
|
294 |
+
"grad_norm": 6107.31298828125,
|
295 |
+
"learning_rate": 2.816e-05,
|
296 |
+
"loss": 0.0273,
|
297 |
+
"step": 820
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 1.3439999999999999,
|
301 |
+
"grad_norm": 6053.76171875,
|
302 |
+
"learning_rate": 2.7626666666666668e-05,
|
303 |
+
"loss": 0.0272,
|
304 |
+
"step": 840
|
305 |
+
},
|
306 |
+
{
|
307 |
+
"epoch": 1.376,
|
308 |
+
"grad_norm": 6232.923828125,
|
309 |
+
"learning_rate": 2.7093333333333337e-05,
|
310 |
+
"loss": 0.0294,
|
311 |
+
"step": 860
|
312 |
+
},
|
313 |
+
{
|
314 |
+
"epoch": 1.408,
|
315 |
+
"grad_norm": 5416.33056640625,
|
316 |
+
"learning_rate": 2.6560000000000003e-05,
|
317 |
+
"loss": 0.0271,
|
318 |
+
"step": 880
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 1.44,
|
322 |
+
"grad_norm": 5725.27197265625,
|
323 |
+
"learning_rate": 2.6026666666666666e-05,
|
324 |
+
"loss": 0.0272,
|
325 |
+
"step": 900
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"epoch": 1.472,
|
329 |
+
"grad_norm": 5987.8583984375,
|
330 |
+
"learning_rate": 2.5493333333333335e-05,
|
331 |
+
"loss": 0.0272,
|
332 |
+
"step": 920
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"epoch": 1.504,
|
336 |
+
"grad_norm": 6128.3720703125,
|
337 |
+
"learning_rate": 2.496e-05,
|
338 |
+
"loss": 0.0272,
|
339 |
+
"step": 940
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 1.536,
|
343 |
+
"grad_norm": 5148.74267578125,
|
344 |
+
"learning_rate": 2.4426666666666668e-05,
|
345 |
+
"loss": 0.0272,
|
346 |
+
"step": 960
|
347 |
+
},
|
348 |
+
{
|
349 |
+
"epoch": 1.568,
|
350 |
+
"grad_norm": 5796.38916015625,
|
351 |
+
"learning_rate": 2.3893333333333334e-05,
|
352 |
+
"loss": 0.029,
|
353 |
+
"step": 980
|
354 |
+
},
|
355 |
+
{
|
356 |
+
"epoch": 1.6,
|
357 |
+
"grad_norm": 6873.32763671875,
|
358 |
+
"learning_rate": 2.336e-05,
|
359 |
+
"loss": 0.0271,
|
360 |
+
"step": 1000
|
361 |
+
}
|
362 |
+
],
|
363 |
+
"logging_steps": 20,
|
364 |
+
"max_steps": 1875,
|
365 |
+
"num_input_tokens_seen": 0,
|
366 |
+
"num_train_epochs": 3,
|
367 |
+
"save_steps": 50,
|
368 |
+
"stateful_callbacks": {
|
369 |
+
"TrainerControl": {
|
370 |
+
"args": {
|
371 |
+
"should_epoch_stop": false,
|
372 |
+
"should_evaluate": false,
|
373 |
+
"should_log": false,
|
374 |
+
"should_save": true,
|
375 |
+
"should_training_stop": false
|
376 |
+
},
|
377 |
+
"attributes": {}
|
378 |
+
}
|
379 |
+
},
|
380 |
+
"total_flos": 2.5451858755584e+16,
|
381 |
+
"train_batch_size": 8,
|
382 |
+
"trial_name": null,
|
383 |
+
"trial_params": null
|
384 |
+
}
|
laptop-tinyllama/checkpoint-1000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f067af7e8c92e8b08671fef5a77338126a3f02070119fcb5cff5e9b125aedfa
|
3 |
+
size 5304
|
laptop-tinyllama/checkpoint-1050/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
laptop-tinyllama/checkpoint-1050/adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 16,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.0,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 8,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"v_proj",
|
27 |
+
"q_proj"
|
28 |
+
],
|
29 |
+
"task_type": "CAUSAL_LM",
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
laptop-tinyllama/checkpoint-1050/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:350827cd82db72d52659231a7d5b6790626d5e0d1111f246013874e1544a6161
|
3 |
+
size 4517152
|
laptop-tinyllama/checkpoint-1050/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:42bdc6290cb3ab2180ba3d3f9b490c7fcfbe0f503fd88bbcd641137c05f448d1
|
3 |
+
size 9085370
|
laptop-tinyllama/checkpoint-1050/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
|
3 |
+
size 14244
|
laptop-tinyllama/checkpoint-1050/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
|
3 |
+
size 988
|
laptop-tinyllama/checkpoint-1050/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac92c02a463f273c5a0905ae23a7a37a2fcf5fb1e8a3e0aff467e4cd0961e45b
|
3 |
+
size 1064
|
laptop-tinyllama/checkpoint-1050/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
laptop-tinyllama/checkpoint-1050/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
laptop-tinyllama/checkpoint-1050/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
laptop-tinyllama/checkpoint-1050/tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": false,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"padding_side": "right",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|
laptop-tinyllama/checkpoint-1050/trainer_state.json
ADDED
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": null,
|
3 |
+
"best_metric": null,
|
4 |
+
"best_model_checkpoint": null,
|
5 |
+
"epoch": 1.6800000000000002,
|
6 |
+
"eval_steps": 500,
|
7 |
+
"global_step": 1050,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 0.032,
|
14 |
+
"grad_norm": 671614.75,
|
15 |
+
"learning_rate": 4.9493333333333336e-05,
|
16 |
+
"loss": 2.1669,
|
17 |
+
"step": 20
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"epoch": 0.064,
|
21 |
+
"grad_norm": 41173.5,
|
22 |
+
"learning_rate": 4.896e-05,
|
23 |
+
"loss": 0.5516,
|
24 |
+
"step": 40
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.096,
|
28 |
+
"grad_norm": 14334.6923828125,
|
29 |
+
"learning_rate": 4.842666666666667e-05,
|
30 |
+
"loss": 0.2249,
|
31 |
+
"step": 60
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.128,
|
35 |
+
"grad_norm": 14753.2421875,
|
36 |
+
"learning_rate": 4.789333333333334e-05,
|
37 |
+
"loss": 0.1644,
|
38 |
+
"step": 80
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.16,
|
42 |
+
"grad_norm": 12797.7333984375,
|
43 |
+
"learning_rate": 4.736000000000001e-05,
|
44 |
+
"loss": 0.103,
|
45 |
+
"step": 100
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.192,
|
49 |
+
"grad_norm": 12743.939453125,
|
50 |
+
"learning_rate": 4.682666666666667e-05,
|
51 |
+
"loss": 0.0684,
|
52 |
+
"step": 120
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 0.224,
|
56 |
+
"grad_norm": 10378.1640625,
|
57 |
+
"learning_rate": 4.629333333333333e-05,
|
58 |
+
"loss": 0.0495,
|
59 |
+
"step": 140
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.256,
|
63 |
+
"grad_norm": 8000.236328125,
|
64 |
+
"learning_rate": 4.576e-05,
|
65 |
+
"loss": 0.0404,
|
66 |
+
"step": 160
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 0.288,
|
70 |
+
"grad_norm": 8669.037109375,
|
71 |
+
"learning_rate": 4.5226666666666665e-05,
|
72 |
+
"loss": 0.0356,
|
73 |
+
"step": 180
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.32,
|
77 |
+
"grad_norm": 8630.375,
|
78 |
+
"learning_rate": 4.4693333333333335e-05,
|
79 |
+
"loss": 0.0291,
|
80 |
+
"step": 200
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 0.352,
|
84 |
+
"grad_norm": 8318.3955078125,
|
85 |
+
"learning_rate": 4.4160000000000004e-05,
|
86 |
+
"loss": 0.0285,
|
87 |
+
"step": 220
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.384,
|
91 |
+
"grad_norm": 7282.09619140625,
|
92 |
+
"learning_rate": 4.3626666666666674e-05,
|
93 |
+
"loss": 0.0282,
|
94 |
+
"step": 240
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 0.416,
|
98 |
+
"grad_norm": 7333.845703125,
|
99 |
+
"learning_rate": 4.3093333333333336e-05,
|
100 |
+
"loss": 0.028,
|
101 |
+
"step": 260
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 0.448,
|
105 |
+
"grad_norm": 8852.5693359375,
|
106 |
+
"learning_rate": 4.256e-05,
|
107 |
+
"loss": 0.0312,
|
108 |
+
"step": 280
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 0.48,
|
112 |
+
"grad_norm": 6368.5595703125,
|
113 |
+
"learning_rate": 4.202666666666667e-05,
|
114 |
+
"loss": 0.0279,
|
115 |
+
"step": 300
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 0.512,
|
119 |
+
"grad_norm": 7761.8134765625,
|
120 |
+
"learning_rate": 4.149333333333333e-05,
|
121 |
+
"loss": 0.0277,
|
122 |
+
"step": 320
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 0.544,
|
126 |
+
"grad_norm": 6672.0615234375,
|
127 |
+
"learning_rate": 4.096e-05,
|
128 |
+
"loss": 0.0276,
|
129 |
+
"step": 340
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.576,
|
133 |
+
"grad_norm": 7834.865234375,
|
134 |
+
"learning_rate": 4.042666666666667e-05,
|
135 |
+
"loss": 0.0276,
|
136 |
+
"step": 360
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.608,
|
140 |
+
"grad_norm": 8973.3291015625,
|
141 |
+
"learning_rate": 3.989333333333333e-05,
|
142 |
+
"loss": 0.0303,
|
143 |
+
"step": 380
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 0.64,
|
147 |
+
"grad_norm": 5775.8837890625,
|
148 |
+
"learning_rate": 3.936e-05,
|
149 |
+
"loss": 0.0275,
|
150 |
+
"step": 400
|
151 |
+
},
|
152 |
+
{
|
153 |
+
"epoch": 0.672,
|
154 |
+
"grad_norm": 8265.2255859375,
|
155 |
+
"learning_rate": 3.8826666666666665e-05,
|
156 |
+
"loss": 0.0275,
|
157 |
+
"step": 420
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 0.704,
|
161 |
+
"grad_norm": 6458.6533203125,
|
162 |
+
"learning_rate": 3.8293333333333335e-05,
|
163 |
+
"loss": 0.0275,
|
164 |
+
"step": 440
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 0.736,
|
168 |
+
"grad_norm": 7894.96435546875,
|
169 |
+
"learning_rate": 3.776e-05,
|
170 |
+
"loss": 0.029,
|
171 |
+
"step": 460
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 0.768,
|
175 |
+
"grad_norm": 7347.64013671875,
|
176 |
+
"learning_rate": 3.7226666666666674e-05,
|
177 |
+
"loss": 0.0275,
|
178 |
+
"step": 480
|
179 |
+
},
|
180 |
+
{
|
181 |
+
"epoch": 0.8,
|
182 |
+
"grad_norm": 6285.21630859375,
|
183 |
+
"learning_rate": 3.669333333333334e-05,
|
184 |
+
"loss": 0.0275,
|
185 |
+
"step": 500
|
186 |
+
},
|
187 |
+
{
|
188 |
+
"epoch": 0.832,
|
189 |
+
"grad_norm": 8621.4580078125,
|
190 |
+
"learning_rate": 3.616e-05,
|
191 |
+
"loss": 0.0274,
|
192 |
+
"step": 520
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 0.864,
|
196 |
+
"grad_norm": 5599.4931640625,
|
197 |
+
"learning_rate": 3.562666666666667e-05,
|
198 |
+
"loss": 0.0293,
|
199 |
+
"step": 540
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 0.896,
|
203 |
+
"grad_norm": 6125.87890625,
|
204 |
+
"learning_rate": 3.509333333333333e-05,
|
205 |
+
"loss": 0.0272,
|
206 |
+
"step": 560
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 0.928,
|
210 |
+
"grad_norm": 6572.81689453125,
|
211 |
+
"learning_rate": 3.456e-05,
|
212 |
+
"loss": 0.0272,
|
213 |
+
"step": 580
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 0.96,
|
217 |
+
"grad_norm": 6079.21435546875,
|
218 |
+
"learning_rate": 3.402666666666667e-05,
|
219 |
+
"loss": 0.0298,
|
220 |
+
"step": 600
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 0.992,
|
224 |
+
"grad_norm": 7548.86474609375,
|
225 |
+
"learning_rate": 3.349333333333334e-05,
|
226 |
+
"loss": 0.0302,
|
227 |
+
"step": 620
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 1.024,
|
231 |
+
"grad_norm": 5836.685546875,
|
232 |
+
"learning_rate": 3.296e-05,
|
233 |
+
"loss": 0.0296,
|
234 |
+
"step": 640
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 1.056,
|
238 |
+
"grad_norm": 5482.8134765625,
|
239 |
+
"learning_rate": 3.2426666666666666e-05,
|
240 |
+
"loss": 0.0291,
|
241 |
+
"step": 660
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 1.088,
|
245 |
+
"grad_norm": 7803.9892578125,
|
246 |
+
"learning_rate": 3.1893333333333335e-05,
|
247 |
+
"loss": 0.0271,
|
248 |
+
"step": 680
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 1.12,
|
252 |
+
"grad_norm": 5504.576171875,
|
253 |
+
"learning_rate": 3.136e-05,
|
254 |
+
"loss": 0.0272,
|
255 |
+
"step": 700
|
256 |
+
},
|
257 |
+
{
|
258 |
+
"epoch": 1.152,
|
259 |
+
"grad_norm": 6076.79541015625,
|
260 |
+
"learning_rate": 3.082666666666667e-05,
|
261 |
+
"loss": 0.0273,
|
262 |
+
"step": 720
|
263 |
+
},
|
264 |
+
{
|
265 |
+
"epoch": 1.184,
|
266 |
+
"grad_norm": 5411.95458984375,
|
267 |
+
"learning_rate": 3.0293333333333334e-05,
|
268 |
+
"loss": 0.0297,
|
269 |
+
"step": 740
|
270 |
+
},
|
271 |
+
{
|
272 |
+
"epoch": 1.216,
|
273 |
+
"grad_norm": 4871.5166015625,
|
274 |
+
"learning_rate": 2.976e-05,
|
275 |
+
"loss": 0.027,
|
276 |
+
"step": 760
|
277 |
+
},
|
278 |
+
{
|
279 |
+
"epoch": 1.248,
|
280 |
+
"grad_norm": 4601.7197265625,
|
281 |
+
"learning_rate": 2.922666666666667e-05,
|
282 |
+
"loss": 0.0295,
|
283 |
+
"step": 780
|
284 |
+
},
|
285 |
+
{
|
286 |
+
"epoch": 1.28,
|
287 |
+
"grad_norm": 5593.90380859375,
|
288 |
+
"learning_rate": 2.8693333333333332e-05,
|
289 |
+
"loss": 0.0271,
|
290 |
+
"step": 800
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 1.312,
|
294 |
+
"grad_norm": 6107.31298828125,
|
295 |
+
"learning_rate": 2.816e-05,
|
296 |
+
"loss": 0.0273,
|
297 |
+
"step": 820
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 1.3439999999999999,
|
301 |
+
"grad_norm": 6053.76171875,
|
302 |
+
"learning_rate": 2.7626666666666668e-05,
|
303 |
+
"loss": 0.0272,
|
304 |
+
"step": 840
|
305 |
+
},
|
306 |
+
{
|
307 |
+
"epoch": 1.376,
|
308 |
+
"grad_norm": 6232.923828125,
|
309 |
+
"learning_rate": 2.7093333333333337e-05,
|
310 |
+
"loss": 0.0294,
|
311 |
+
"step": 860
|
312 |
+
},
|
313 |
+
{
|
314 |
+
"epoch": 1.408,
|
315 |
+
"grad_norm": 5416.33056640625,
|
316 |
+
"learning_rate": 2.6560000000000003e-05,
|
317 |
+
"loss": 0.0271,
|
318 |
+
"step": 880
|
319 |
+
},
|
320 |
+
{
|
321 |
+
"epoch": 1.44,
|
322 |
+
"grad_norm": 5725.27197265625,
|
323 |
+
"learning_rate": 2.6026666666666666e-05,
|
324 |
+
"loss": 0.0272,
|
325 |
+
"step": 900
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"epoch": 1.472,
|
329 |
+
"grad_norm": 5987.8583984375,
|
330 |
+
"learning_rate": 2.5493333333333335e-05,
|
331 |
+
"loss": 0.0272,
|
332 |
+
"step": 920
|
333 |
+
},
|
334 |
+
{
|
335 |
+
"epoch": 1.504,
|
336 |
+
"grad_norm": 6128.3720703125,
|
337 |
+
"learning_rate": 2.496e-05,
|
338 |
+
"loss": 0.0272,
|
339 |
+
"step": 940
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 1.536,
|
343 |
+
"grad_norm": 5148.74267578125,
|
344 |
+
"learning_rate": 2.4426666666666668e-05,
|
345 |
+
"loss": 0.0272,
|
346 |
+
"step": 960
|
347 |
+
},
|
348 |
+
{
|
349 |
+
"epoch": 1.568,
|
350 |
+
"grad_norm": 5796.38916015625,
|
351 |
+
"learning_rate": 2.3893333333333334e-05,
|
352 |
+
"loss": 0.029,
|
353 |
+
"step": 980
|
354 |
+
},
|
355 |
+
{
|
356 |
+
"epoch": 1.6,
|
357 |
+
"grad_norm": 6873.32763671875,
|
358 |
+
"learning_rate": 2.336e-05,
|
359 |
+
"loss": 0.0271,
|
360 |
+
"step": 1000
|
361 |
+
},
|
362 |
+
{
|
363 |
+
"epoch": 1.6320000000000001,
|
364 |
+
"grad_norm": 5035.609375,
|
365 |
+
"learning_rate": 2.282666666666667e-05,
|
366 |
+
"loss": 0.0271,
|
367 |
+
"step": 1020
|
368 |
+
},
|
369 |
+
{
|
370 |
+
"epoch": 1.6640000000000001,
|
371 |
+
"grad_norm": 7524.55810546875,
|
372 |
+
"learning_rate": 2.2293333333333336e-05,
|
373 |
+
"loss": 0.0272,
|
374 |
+
"step": 1040
|
375 |
+
}
|
376 |
+
],
|
377 |
+
"logging_steps": 20,
|
378 |
+
"max_steps": 1875,
|
379 |
+
"num_input_tokens_seen": 0,
|
380 |
+
"num_train_epochs": 3,
|
381 |
+
"save_steps": 50,
|
382 |
+
"stateful_callbacks": {
|
383 |
+
"TrainerControl": {
|
384 |
+
"args": {
|
385 |
+
"should_epoch_stop": false,
|
386 |
+
"should_evaluate": false,
|
387 |
+
"should_log": false,
|
388 |
+
"should_save": true,
|
389 |
+
"should_training_stop": false
|
390 |
+
},
|
391 |
+
"attributes": {}
|
392 |
+
}
|
393 |
+
},
|
394 |
+
"total_flos": 2.67244516933632e+16,
|
395 |
+
"train_batch_size": 8,
|
396 |
+
"trial_name": null,
|
397 |
+
"trial_params": null
|
398 |
+
}
|
laptop-tinyllama/checkpoint-1050/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f067af7e8c92e8b08671fef5a77338126a3f02070119fcb5cff5e9b125aedfa
|
3 |
+
size 5304
|
laptop-tinyllama/checkpoint-1100/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: TinyLlama/TinyLlama-1.1B-Chat-v1.0
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.14.0
|
laptop-tinyllama/checkpoint-1100/adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
|
5 |
+
"bias": "none",
|
6 |
+
"eva_config": null,
|
7 |
+
"exclude_modules": null,
|
8 |
+
"fan_in_fan_out": false,
|
9 |
+
"inference_mode": true,
|
10 |
+
"init_lora_weights": true,
|
11 |
+
"layer_replication": null,
|
12 |
+
"layers_pattern": null,
|
13 |
+
"layers_to_transform": null,
|
14 |
+
"loftq_config": {},
|
15 |
+
"lora_alpha": 16,
|
16 |
+
"lora_bias": false,
|
17 |
+
"lora_dropout": 0.0,
|
18 |
+
"megatron_config": null,
|
19 |
+
"megatron_core": "megatron.core",
|
20 |
+
"modules_to_save": null,
|
21 |
+
"peft_type": "LORA",
|
22 |
+
"r": 8,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"v_proj",
|
27 |
+
"q_proj"
|
28 |
+
],
|
29 |
+
"task_type": "CAUSAL_LM",
|
30 |
+
"use_dora": false,
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
laptop-tinyllama/checkpoint-1100/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37ff56b74d444f25884d75b8d882d13095f2b4f55357926233bd75436c28682f
|
3 |
+
size 4517152
|
laptop-tinyllama/checkpoint-1100/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d67de24d5427ac813b0a3f08b946034be92a75f0eca7453a646d8d2af1a5de0d
|
3 |
+
size 9085370
|
laptop-tinyllama/checkpoint-1100/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
|
3 |
+
size 14244
|
laptop-tinyllama/checkpoint-1100/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b30172cf14f5dbe00280d63e36224a9f28dc7a0e8b38a74ceb5eb284e84da363
|
3 |
+
size 988
|
laptop-tinyllama/checkpoint-1100/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7dbae926c3d229aff3293325422739b2fc23b3907887821d837d936f175d02e
|
3 |
+
size 1064
|
laptop-tinyllama/checkpoint-1100/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
laptop-tinyllama/checkpoint-1100/tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
laptop-tinyllama/checkpoint-1100/tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
laptop-tinyllama/checkpoint-1100/tokenizer_config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<unk>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<s>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "</s>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<s>",
|
32 |
+
"chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
|
33 |
+
"clean_up_tokenization_spaces": false,
|
34 |
+
"eos_token": "</s>",
|
35 |
+
"extra_special_tokens": {},
|
36 |
+
"legacy": false,
|
37 |
+
"model_max_length": 2048,
|
38 |
+
"pad_token": "</s>",
|
39 |
+
"padding_side": "right",
|
40 |
+
"sp_model_kwargs": {},
|
41 |
+
"tokenizer_class": "LlamaTokenizer",
|
42 |
+
"unk_token": "<unk>",
|
43 |
+
"use_default_system_prompt": false
|
44 |
+
}
|