Upload folder using huggingface_hub
Browse files- README.md +202 -0
- adapter_config.json +31 -0
- adapter_model.safetensors +3 -0
- checkpoint-18000/README.md +202 -0
- checkpoint-18000/adapter_config.json +31 -0
- checkpoint-18000/adapter_model.safetensors +3 -0
- checkpoint-18000/merges.txt +0 -0
- checkpoint-18000/optimizer.pt +3 -0
- checkpoint-18000/rng_state.pth +3 -0
- checkpoint-18000/scheduler.pt +3 -0
- checkpoint-18000/special_tokens_map.json +24 -0
- checkpoint-18000/tokenizer_config.json +22 -0
- checkpoint-18000/trainer_state.json +309 -0
- checkpoint-18000/training_args.bin +3 -0
- checkpoint-18000/vocab.json +0 -0
- checkpoint-18500/README.md +202 -0
- checkpoint-18500/adapter_config.json +31 -0
- checkpoint-18500/adapter_model.safetensors +3 -0
- checkpoint-18500/merges.txt +0 -0
- checkpoint-18500/optimizer.pt +3 -0
- checkpoint-18500/rng_state.pth +3 -0
- checkpoint-18500/scheduler.pt +3 -0
- checkpoint-18500/special_tokens_map.json +24 -0
- checkpoint-18500/tokenizer_config.json +22 -0
- checkpoint-18500/trainer_state.json +315 -0
- checkpoint-18500/training_args.bin +3 -0
- checkpoint-18500/vocab.json +0 -0
- config.json +40 -0
- merges.txt +0 -0
- special_tokens_map.json +24 -0
- tokenizer_config.json +22 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: gpt2-medium
|
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.13.2
|
adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": {
|
4 |
+
"base_model_class": "GPT2LMHeadModel",
|
5 |
+
"parent_library": "transformers.models.gpt2.modeling_gpt2"
|
6 |
+
},
|
7 |
+
"base_model_name_or_path": "gpt2-medium",
|
8 |
+
"bias": "none",
|
9 |
+
"fan_in_fan_out": true,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 32,
|
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": 64,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"c_attn"
|
27 |
+
],
|
28 |
+
"task_type": null,
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a55c4b212bf3e446ec14b964ca8267db97bc108830a3b077f378f8d08158e582
|
3 |
+
size 25172088
|
checkpoint-18000/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: gpt2-medium
|
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.13.2
|
checkpoint-18000/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": {
|
4 |
+
"base_model_class": "GPT2LMHeadModel",
|
5 |
+
"parent_library": "transformers.models.gpt2.modeling_gpt2"
|
6 |
+
},
|
7 |
+
"base_model_name_or_path": "gpt2-medium",
|
8 |
+
"bias": "none",
|
9 |
+
"fan_in_fan_out": true,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 32,
|
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": 64,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"c_attn"
|
27 |
+
],
|
28 |
+
"task_type": null,
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
checkpoint-18000/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4d870b193652496101d16f144503cbdc6b2a9200c1098b799f793cf077c4cd5e
|
3 |
+
size 25172088
|
checkpoint-18000/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-18000/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cd9d5a5c35d900260f3391847b100470aa5c74dc6a693f93e5d40e12518c4fe
|
3 |
+
size 50372538
|
checkpoint-18000/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a13fe7cf6c72301799f31f96f784f8707babaddf30cd70c5221a00d03e23bb82
|
3 |
+
size 14244
|
checkpoint-18000/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ba3e2c8496d35d5dbaf1875b87a8ac142eab4a5a0d5689f6f342c44ddac8c1cb
|
3 |
+
size 1064
|
checkpoint-18000/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint-18000/tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"bos_token": "<|endoftext|>",
|
15 |
+
"clean_up_tokenization_spaces": true,
|
16 |
+
"eos_token": "<|endoftext|>",
|
17 |
+
"errors": "replace",
|
18 |
+
"model_max_length": 1024,
|
19 |
+
"pad_token": "<|endoftext|>",
|
20 |
+
"tokenizer_class": "GPT2Tokenizer",
|
21 |
+
"unk_token": "<|endoftext|>"
|
22 |
+
}
|
checkpoint-18000/trainer_state.json
ADDED
@@ -0,0 +1,309 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.88,
|
5 |
+
"eval_steps": 1875,
|
6 |
+
"global_step": 18000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.08,
|
13 |
+
"learning_rate": 5.330490405117271e-05,
|
14 |
+
"loss": 5.0,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.16,
|
19 |
+
"learning_rate": 9.965192005389625e-05,
|
20 |
+
"loss": 3.8227,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.24,
|
25 |
+
"learning_rate": 9.684482371434989e-05,
|
26 |
+
"loss": 3.54,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.3,
|
31 |
+
"eval_loss": 3.5400009155273438,
|
32 |
+
"eval_runtime": 9.0944,
|
33 |
+
"eval_samples_per_second": 219.914,
|
34 |
+
"eval_steps_per_second": 13.745,
|
35 |
+
"step": 1875
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 0.32,
|
39 |
+
"learning_rate": 9.40377273748035e-05,
|
40 |
+
"loss": 3.54,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0.4,
|
45 |
+
"learning_rate": 9.123063103525713e-05,
|
46 |
+
"loss": 3.54,
|
47 |
+
"step": 2500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.48,
|
51 |
+
"learning_rate": 8.842353469571077e-05,
|
52 |
+
"loss": 3.54,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.56,
|
57 |
+
"learning_rate": 8.561643835616438e-05,
|
58 |
+
"loss": 3.54,
|
59 |
+
"step": 3500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.6,
|
63 |
+
"eval_loss": 3.5400006771087646,
|
64 |
+
"eval_runtime": 9.094,
|
65 |
+
"eval_samples_per_second": 219.925,
|
66 |
+
"eval_steps_per_second": 13.745,
|
67 |
+
"step": 3750
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 0.64,
|
71 |
+
"learning_rate": 8.280934201661802e-05,
|
72 |
+
"loss": 3.54,
|
73 |
+
"step": 4000
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.72,
|
77 |
+
"learning_rate": 8.000224567707165e-05,
|
78 |
+
"loss": 3.54,
|
79 |
+
"step": 4500
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.8,
|
83 |
+
"learning_rate": 7.719514933752526e-05,
|
84 |
+
"loss": 3.54,
|
85 |
+
"step": 5000
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 0.88,
|
89 |
+
"learning_rate": 7.43880529979789e-05,
|
90 |
+
"loss": 3.54,
|
91 |
+
"step": 5500
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 0.9,
|
95 |
+
"eval_loss": 3.5400006771087646,
|
96 |
+
"eval_runtime": 9.087,
|
97 |
+
"eval_samples_per_second": 220.094,
|
98 |
+
"eval_steps_per_second": 13.756,
|
99 |
+
"step": 5625
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.96,
|
103 |
+
"learning_rate": 7.158095665843251e-05,
|
104 |
+
"loss": 3.54,
|
105 |
+
"step": 6000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.04,
|
109 |
+
"learning_rate": 6.877386031888615e-05,
|
110 |
+
"loss": 3.54,
|
111 |
+
"step": 6500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 1.12,
|
115 |
+
"learning_rate": 6.596676397933978e-05,
|
116 |
+
"loss": 3.54,
|
117 |
+
"step": 7000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 1.2,
|
121 |
+
"learning_rate": 6.31596676397934e-05,
|
122 |
+
"loss": 3.54,
|
123 |
+
"step": 7500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 1.2,
|
127 |
+
"eval_loss": 3.5400006771087646,
|
128 |
+
"eval_runtime": 9.0914,
|
129 |
+
"eval_samples_per_second": 219.989,
|
130 |
+
"eval_steps_per_second": 13.749,
|
131 |
+
"step": 7500
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 1.28,
|
135 |
+
"learning_rate": 6.0352571300247026e-05,
|
136 |
+
"loss": 3.54,
|
137 |
+
"step": 8000
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 1.36,
|
141 |
+
"learning_rate": 5.754547496070065e-05,
|
142 |
+
"loss": 3.54,
|
143 |
+
"step": 8500
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 1.44,
|
147 |
+
"learning_rate": 5.473837862115428e-05,
|
148 |
+
"loss": 3.54,
|
149 |
+
"step": 9000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.5,
|
153 |
+
"eval_loss": 3.5400006771087646,
|
154 |
+
"eval_runtime": 9.0911,
|
155 |
+
"eval_samples_per_second": 219.995,
|
156 |
+
"eval_steps_per_second": 13.75,
|
157 |
+
"step": 9375
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 1.52,
|
161 |
+
"learning_rate": 5.193128228160791e-05,
|
162 |
+
"loss": 3.54,
|
163 |
+
"step": 9500
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.6,
|
167 |
+
"learning_rate": 4.912418594206153e-05,
|
168 |
+
"loss": 3.54,
|
169 |
+
"step": 10000
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 1.68,
|
173 |
+
"learning_rate": 4.631708960251516e-05,
|
174 |
+
"loss": 3.54,
|
175 |
+
"step": 10500
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 1.76,
|
179 |
+
"learning_rate": 4.350999326296879e-05,
|
180 |
+
"loss": 3.54,
|
181 |
+
"step": 11000
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 1.8,
|
185 |
+
"eval_loss": 3.5400006771087646,
|
186 |
+
"eval_runtime": 9.0917,
|
187 |
+
"eval_samples_per_second": 219.98,
|
188 |
+
"eval_steps_per_second": 13.749,
|
189 |
+
"step": 11250
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 1.84,
|
193 |
+
"learning_rate": 4.070289692342241e-05,
|
194 |
+
"loss": 3.54,
|
195 |
+
"step": 11500
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 1.92,
|
199 |
+
"learning_rate": 3.789580058387604e-05,
|
200 |
+
"loss": 3.54,
|
201 |
+
"step": 12000
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 2.0,
|
205 |
+
"learning_rate": 3.508870424432967e-05,
|
206 |
+
"loss": 3.54,
|
207 |
+
"step": 12500
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 2.08,
|
211 |
+
"learning_rate": 3.228160790478329e-05,
|
212 |
+
"loss": 3.54,
|
213 |
+
"step": 13000
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 2.1,
|
217 |
+
"eval_loss": 3.5400006771087646,
|
218 |
+
"eval_runtime": 9.0849,
|
219 |
+
"eval_samples_per_second": 220.146,
|
220 |
+
"eval_steps_per_second": 13.759,
|
221 |
+
"step": 13125
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 2.16,
|
225 |
+
"learning_rate": 2.9474511565236924e-05,
|
226 |
+
"loss": 3.54,
|
227 |
+
"step": 13500
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 2.24,
|
231 |
+
"learning_rate": 2.6667415225690546e-05,
|
232 |
+
"loss": 3.54,
|
233 |
+
"step": 14000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.32,
|
237 |
+
"learning_rate": 2.3860318886144174e-05,
|
238 |
+
"loss": 3.54,
|
239 |
+
"step": 14500
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 2.4,
|
243 |
+
"learning_rate": 2.10532225465978e-05,
|
244 |
+
"loss": 3.54,
|
245 |
+
"step": 15000
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"epoch": 2.4,
|
249 |
+
"eval_loss": 3.5400006771087646,
|
250 |
+
"eval_runtime": 9.0911,
|
251 |
+
"eval_samples_per_second": 219.994,
|
252 |
+
"eval_steps_per_second": 13.75,
|
253 |
+
"step": 15000
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"epoch": 2.48,
|
257 |
+
"learning_rate": 1.8246126207051426e-05,
|
258 |
+
"loss": 3.54,
|
259 |
+
"step": 15500
|
260 |
+
},
|
261 |
+
{
|
262 |
+
"epoch": 2.56,
|
263 |
+
"learning_rate": 1.5439029867505054e-05,
|
264 |
+
"loss": 3.54,
|
265 |
+
"step": 16000
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 2.64,
|
269 |
+
"learning_rate": 1.263193352795868e-05,
|
270 |
+
"loss": 3.54,
|
271 |
+
"step": 16500
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"epoch": 2.7,
|
275 |
+
"eval_loss": 3.5400006771087646,
|
276 |
+
"eval_runtime": 9.0871,
|
277 |
+
"eval_samples_per_second": 220.093,
|
278 |
+
"eval_steps_per_second": 13.756,
|
279 |
+
"step": 16875
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 2.72,
|
283 |
+
"learning_rate": 9.824837188412307e-06,
|
284 |
+
"loss": 3.54,
|
285 |
+
"step": 17000
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 2.8,
|
289 |
+
"learning_rate": 7.017740848865933e-06,
|
290 |
+
"loss": 3.54,
|
291 |
+
"step": 17500
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 2.88,
|
295 |
+
"learning_rate": 4.21064450931956e-06,
|
296 |
+
"loss": 3.54,
|
297 |
+
"step": 18000
|
298 |
+
}
|
299 |
+
],
|
300 |
+
"logging_steps": 500,
|
301 |
+
"max_steps": 18750,
|
302 |
+
"num_input_tokens_seen": 0,
|
303 |
+
"num_train_epochs": 3,
|
304 |
+
"save_steps": 500,
|
305 |
+
"total_flos": 6.825801940992e+16,
|
306 |
+
"train_batch_size": 16,
|
307 |
+
"trial_name": null,
|
308 |
+
"trial_params": null
|
309 |
+
}
|
checkpoint-18000/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d548f8aa13c6cfbbed87d544c57ddcb10c0d10c895e5e9b31b746a1af5384ee9
|
3 |
+
size 4664
|
checkpoint-18000/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-18500/README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: gpt2-medium
|
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.13.2
|
checkpoint-18500/adapter_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": {
|
4 |
+
"base_model_class": "GPT2LMHeadModel",
|
5 |
+
"parent_library": "transformers.models.gpt2.modeling_gpt2"
|
6 |
+
},
|
7 |
+
"base_model_name_or_path": "gpt2-medium",
|
8 |
+
"bias": "none",
|
9 |
+
"fan_in_fan_out": true,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 32,
|
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": 64,
|
23 |
+
"rank_pattern": {},
|
24 |
+
"revision": null,
|
25 |
+
"target_modules": [
|
26 |
+
"c_attn"
|
27 |
+
],
|
28 |
+
"task_type": null,
|
29 |
+
"use_dora": false,
|
30 |
+
"use_rslora": false
|
31 |
+
}
|
checkpoint-18500/adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:066d589ad8f43ec199de41bf4f5c2ba02ca0005665a8e73b917fe3fd424d3972
|
3 |
+
size 25172088
|
checkpoint-18500/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
checkpoint-18500/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f36972494a5ebbb69540dea3ef5084a66dfbbe60b1d7a5c3955d0fefb0048d2
|
3 |
+
size 50372538
|
checkpoint-18500/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83b28a0904574a0442fef75fb9793f9a6979ebf9c9c1998a9e9deaaf15faa7a5
|
3 |
+
size 14244
|
checkpoint-18500/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29591204f0e69f6680557921cf7d8dd2c13db9044969928ff61ba99ba2dc815a
|
3 |
+
size 1064
|
checkpoint-18500/special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
checkpoint-18500/tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"bos_token": "<|endoftext|>",
|
15 |
+
"clean_up_tokenization_spaces": true,
|
16 |
+
"eos_token": "<|endoftext|>",
|
17 |
+
"errors": "replace",
|
18 |
+
"model_max_length": 1024,
|
19 |
+
"pad_token": "<|endoftext|>",
|
20 |
+
"tokenizer_class": "GPT2Tokenizer",
|
21 |
+
"unk_token": "<|endoftext|>"
|
22 |
+
}
|
checkpoint-18500/trainer_state.json
ADDED
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 2.96,
|
5 |
+
"eval_steps": 1875,
|
6 |
+
"global_step": 18500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.08,
|
13 |
+
"learning_rate": 5.330490405117271e-05,
|
14 |
+
"loss": 5.0,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.16,
|
19 |
+
"learning_rate": 9.965192005389625e-05,
|
20 |
+
"loss": 3.8227,
|
21 |
+
"step": 1000
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.24,
|
25 |
+
"learning_rate": 9.684482371434989e-05,
|
26 |
+
"loss": 3.54,
|
27 |
+
"step": 1500
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.3,
|
31 |
+
"eval_loss": 3.5400009155273438,
|
32 |
+
"eval_runtime": 9.0944,
|
33 |
+
"eval_samples_per_second": 219.914,
|
34 |
+
"eval_steps_per_second": 13.745,
|
35 |
+
"step": 1875
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"epoch": 0.32,
|
39 |
+
"learning_rate": 9.40377273748035e-05,
|
40 |
+
"loss": 3.54,
|
41 |
+
"step": 2000
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0.4,
|
45 |
+
"learning_rate": 9.123063103525713e-05,
|
46 |
+
"loss": 3.54,
|
47 |
+
"step": 2500
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.48,
|
51 |
+
"learning_rate": 8.842353469571077e-05,
|
52 |
+
"loss": 3.54,
|
53 |
+
"step": 3000
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.56,
|
57 |
+
"learning_rate": 8.561643835616438e-05,
|
58 |
+
"loss": 3.54,
|
59 |
+
"step": 3500
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.6,
|
63 |
+
"eval_loss": 3.5400006771087646,
|
64 |
+
"eval_runtime": 9.094,
|
65 |
+
"eval_samples_per_second": 219.925,
|
66 |
+
"eval_steps_per_second": 13.745,
|
67 |
+
"step": 3750
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 0.64,
|
71 |
+
"learning_rate": 8.280934201661802e-05,
|
72 |
+
"loss": 3.54,
|
73 |
+
"step": 4000
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 0.72,
|
77 |
+
"learning_rate": 8.000224567707165e-05,
|
78 |
+
"loss": 3.54,
|
79 |
+
"step": 4500
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.8,
|
83 |
+
"learning_rate": 7.719514933752526e-05,
|
84 |
+
"loss": 3.54,
|
85 |
+
"step": 5000
|
86 |
+
},
|
87 |
+
{
|
88 |
+
"epoch": 0.88,
|
89 |
+
"learning_rate": 7.43880529979789e-05,
|
90 |
+
"loss": 3.54,
|
91 |
+
"step": 5500
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 0.9,
|
95 |
+
"eval_loss": 3.5400006771087646,
|
96 |
+
"eval_runtime": 9.087,
|
97 |
+
"eval_samples_per_second": 220.094,
|
98 |
+
"eval_steps_per_second": 13.756,
|
99 |
+
"step": 5625
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.96,
|
103 |
+
"learning_rate": 7.158095665843251e-05,
|
104 |
+
"loss": 3.54,
|
105 |
+
"step": 6000
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.04,
|
109 |
+
"learning_rate": 6.877386031888615e-05,
|
110 |
+
"loss": 3.54,
|
111 |
+
"step": 6500
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 1.12,
|
115 |
+
"learning_rate": 6.596676397933978e-05,
|
116 |
+
"loss": 3.54,
|
117 |
+
"step": 7000
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 1.2,
|
121 |
+
"learning_rate": 6.31596676397934e-05,
|
122 |
+
"loss": 3.54,
|
123 |
+
"step": 7500
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 1.2,
|
127 |
+
"eval_loss": 3.5400006771087646,
|
128 |
+
"eval_runtime": 9.0914,
|
129 |
+
"eval_samples_per_second": 219.989,
|
130 |
+
"eval_steps_per_second": 13.749,
|
131 |
+
"step": 7500
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 1.28,
|
135 |
+
"learning_rate": 6.0352571300247026e-05,
|
136 |
+
"loss": 3.54,
|
137 |
+
"step": 8000
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 1.36,
|
141 |
+
"learning_rate": 5.754547496070065e-05,
|
142 |
+
"loss": 3.54,
|
143 |
+
"step": 8500
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 1.44,
|
147 |
+
"learning_rate": 5.473837862115428e-05,
|
148 |
+
"loss": 3.54,
|
149 |
+
"step": 9000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.5,
|
153 |
+
"eval_loss": 3.5400006771087646,
|
154 |
+
"eval_runtime": 9.0911,
|
155 |
+
"eval_samples_per_second": 219.995,
|
156 |
+
"eval_steps_per_second": 13.75,
|
157 |
+
"step": 9375
|
158 |
+
},
|
159 |
+
{
|
160 |
+
"epoch": 1.52,
|
161 |
+
"learning_rate": 5.193128228160791e-05,
|
162 |
+
"loss": 3.54,
|
163 |
+
"step": 9500
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.6,
|
167 |
+
"learning_rate": 4.912418594206153e-05,
|
168 |
+
"loss": 3.54,
|
169 |
+
"step": 10000
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 1.68,
|
173 |
+
"learning_rate": 4.631708960251516e-05,
|
174 |
+
"loss": 3.54,
|
175 |
+
"step": 10500
|
176 |
+
},
|
177 |
+
{
|
178 |
+
"epoch": 1.76,
|
179 |
+
"learning_rate": 4.350999326296879e-05,
|
180 |
+
"loss": 3.54,
|
181 |
+
"step": 11000
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 1.8,
|
185 |
+
"eval_loss": 3.5400006771087646,
|
186 |
+
"eval_runtime": 9.0917,
|
187 |
+
"eval_samples_per_second": 219.98,
|
188 |
+
"eval_steps_per_second": 13.749,
|
189 |
+
"step": 11250
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 1.84,
|
193 |
+
"learning_rate": 4.070289692342241e-05,
|
194 |
+
"loss": 3.54,
|
195 |
+
"step": 11500
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 1.92,
|
199 |
+
"learning_rate": 3.789580058387604e-05,
|
200 |
+
"loss": 3.54,
|
201 |
+
"step": 12000
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 2.0,
|
205 |
+
"learning_rate": 3.508870424432967e-05,
|
206 |
+
"loss": 3.54,
|
207 |
+
"step": 12500
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 2.08,
|
211 |
+
"learning_rate": 3.228160790478329e-05,
|
212 |
+
"loss": 3.54,
|
213 |
+
"step": 13000
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 2.1,
|
217 |
+
"eval_loss": 3.5400006771087646,
|
218 |
+
"eval_runtime": 9.0849,
|
219 |
+
"eval_samples_per_second": 220.146,
|
220 |
+
"eval_steps_per_second": 13.759,
|
221 |
+
"step": 13125
|
222 |
+
},
|
223 |
+
{
|
224 |
+
"epoch": 2.16,
|
225 |
+
"learning_rate": 2.9474511565236924e-05,
|
226 |
+
"loss": 3.54,
|
227 |
+
"step": 13500
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 2.24,
|
231 |
+
"learning_rate": 2.6667415225690546e-05,
|
232 |
+
"loss": 3.54,
|
233 |
+
"step": 14000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.32,
|
237 |
+
"learning_rate": 2.3860318886144174e-05,
|
238 |
+
"loss": 3.54,
|
239 |
+
"step": 14500
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 2.4,
|
243 |
+
"learning_rate": 2.10532225465978e-05,
|
244 |
+
"loss": 3.54,
|
245 |
+
"step": 15000
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"epoch": 2.4,
|
249 |
+
"eval_loss": 3.5400006771087646,
|
250 |
+
"eval_runtime": 9.0911,
|
251 |
+
"eval_samples_per_second": 219.994,
|
252 |
+
"eval_steps_per_second": 13.75,
|
253 |
+
"step": 15000
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"epoch": 2.48,
|
257 |
+
"learning_rate": 1.8246126207051426e-05,
|
258 |
+
"loss": 3.54,
|
259 |
+
"step": 15500
|
260 |
+
},
|
261 |
+
{
|
262 |
+
"epoch": 2.56,
|
263 |
+
"learning_rate": 1.5439029867505054e-05,
|
264 |
+
"loss": 3.54,
|
265 |
+
"step": 16000
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 2.64,
|
269 |
+
"learning_rate": 1.263193352795868e-05,
|
270 |
+
"loss": 3.54,
|
271 |
+
"step": 16500
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"epoch": 2.7,
|
275 |
+
"eval_loss": 3.5400006771087646,
|
276 |
+
"eval_runtime": 9.0871,
|
277 |
+
"eval_samples_per_second": 220.093,
|
278 |
+
"eval_steps_per_second": 13.756,
|
279 |
+
"step": 16875
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 2.72,
|
283 |
+
"learning_rate": 9.824837188412307e-06,
|
284 |
+
"loss": 3.54,
|
285 |
+
"step": 17000
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 2.8,
|
289 |
+
"learning_rate": 7.017740848865933e-06,
|
290 |
+
"loss": 3.54,
|
291 |
+
"step": 17500
|
292 |
+
},
|
293 |
+
{
|
294 |
+
"epoch": 2.88,
|
295 |
+
"learning_rate": 4.21064450931956e-06,
|
296 |
+
"loss": 3.54,
|
297 |
+
"step": 18000
|
298 |
+
},
|
299 |
+
{
|
300 |
+
"epoch": 2.96,
|
301 |
+
"learning_rate": 1.4035481697731866e-06,
|
302 |
+
"loss": 3.54,
|
303 |
+
"step": 18500
|
304 |
+
}
|
305 |
+
],
|
306 |
+
"logging_steps": 500,
|
307 |
+
"max_steps": 18750,
|
308 |
+
"num_input_tokens_seen": 0,
|
309 |
+
"num_train_epochs": 3,
|
310 |
+
"save_steps": 500,
|
311 |
+
"total_flos": 7.015407550464e+16,
|
312 |
+
"train_batch_size": 16,
|
313 |
+
"trial_name": null,
|
314 |
+
"trial_params": null
|
315 |
+
}
|
checkpoint-18500/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d548f8aa13c6cfbbed87d544c57ddcb10c0d10c895e5e9b31b746a1af5384ee9
|
3 |
+
size 4664
|
checkpoint-18500/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2-medium",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 1024,
|
16 |
+
"n_head": 16,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 24,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"n_special": 0,
|
21 |
+
"predict_special_tokens": true,
|
22 |
+
"reorder_and_upcast_attn": false,
|
23 |
+
"resid_pdrop": 0.1,
|
24 |
+
"scale_attn_by_inverse_layer_idx": false,
|
25 |
+
"scale_attn_weights": true,
|
26 |
+
"summary_activation": null,
|
27 |
+
"summary_first_dropout": 0.1,
|
28 |
+
"summary_proj_to_labels": true,
|
29 |
+
"summary_type": "cls_index",
|
30 |
+
"summary_use_proj": true,
|
31 |
+
"task_specific_params": {
|
32 |
+
"text-generation": {
|
33 |
+
"do_sample": true,
|
34 |
+
"max_length": 50
|
35 |
+
}
|
36 |
+
},
|
37 |
+
"transformers_version": "4.36.2",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 50257
|
40 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": true,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"50256": {
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
}
|
13 |
+
},
|
14 |
+
"bos_token": "<|endoftext|>",
|
15 |
+
"clean_up_tokenization_spaces": true,
|
16 |
+
"eos_token": "<|endoftext|>",
|
17 |
+
"errors": "replace",
|
18 |
+
"model_max_length": 1024,
|
19 |
+
"pad_token": "<|endoftext|>",
|
20 |
+
"tokenizer_class": "GPT2Tokenizer",
|
21 |
+
"unk_token": "<|endoftext|>"
|
22 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|