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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: mit
|
3 |
---
|
4 |
+
|
5 |
+
# Model Card for Model ID
|
6 |
+
|
7 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
8 |
+
|
9 |
+
This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
|
10 |
+
|
11 |
+
# Model Details
|
12 |
+
|
13 |
+
## Model Description
|
14 |
+
|
15 |
+
<!-- Provide a longer summary of what this model is. -->
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
+
- **Developed by:** [More Information Needed]
|
20 |
+
- **Shared by [optional]:** [More Information Needed]
|
21 |
+
- **Model type:** [More Information Needed]
|
22 |
+
- **Language(s) (NLP):** [More Information Needed]
|
23 |
+
- **License:** [More Information Needed]
|
24 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
25 |
+
|
26 |
+
## Model Sources [optional]
|
27 |
+
|
28 |
+
<!-- Provide the basic links for the model. -->
|
29 |
+
|
30 |
+
- **Repository:** [More Information Needed]
|
31 |
+
- **Paper [optional]:** [More Information Needed]
|
32 |
+
- **Demo [optional]:** [More Information Needed]
|
33 |
+
|
34 |
+
# Uses
|
35 |
+
|
36 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
37 |
+
|
38 |
+
## Direct Use
|
39 |
+
|
40 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
41 |
+
|
42 |
+
[More Information Needed]
|
43 |
+
|
44 |
+
## Downstream Use [optional]
|
45 |
+
|
46 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
47 |
+
|
48 |
+
[More Information Needed]
|
49 |
+
|
50 |
+
## Out-of-Scope Use
|
51 |
+
|
52 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
53 |
+
|
54 |
+
[More Information Needed]
|
55 |
+
|
56 |
+
# Bias, Risks, and Limitations
|
57 |
+
|
58 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
59 |
+
|
60 |
+
[More Information Needed]
|
61 |
+
|
62 |
+
## Recommendations
|
63 |
+
|
64 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
65 |
+
|
66 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
67 |
+
|
68 |
+
## How to Get Started with the Model
|
69 |
+
|
70 |
+
Use the code below to get started with the model.
|
71 |
+
|
72 |
+
[More Information Needed]
|
73 |
+
|
74 |
+
# Training Details
|
75 |
+
|
76 |
+
## Training Data
|
77 |
+
|
78 |
+
<!-- This should link to a Data 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. -->
|
79 |
+
|
80 |
+
|
81 |
+
### Training Hyperparameters
|
82 |
+
|
83 |
+
```
|
84 |
+
defaults:
|
85 |
+
learning_rate: 1e-5
|
86 |
+
gradient_checkpointing: false
|
87 |
+
gradient_accumulation_steps: 32
|
88 |
+
per_device_train_batch_size: 2
|
89 |
+
per_device_eval_batch_size: 2
|
90 |
+
weight_decay: 0.00
|
91 |
+
warmup_steps: 600
|
92 |
+
eval_steps: 250
|
93 |
+
save_steps: 250
|
94 |
+
max_length: 512
|
95 |
+
num_train_epochs: 2
|
96 |
+
logging_steps: 10
|
97 |
+
max_grad_norm: 2.0
|
98 |
+
save_total_limit: 4
|
99 |
+
fp16: true
|
100 |
+
eval_accumulation_steps:
|
101 |
+
freeze_layer:
|
102 |
+
datasets:
|
103 |
+
- gsm8k_hard
|
104 |
+
- webgpt
|
105 |
+
- squad_v2
|
106 |
+
- adversarial_qa
|
107 |
+
- private_tuning
|
108 |
+
- oa_translated
|
109 |
+
- prosocial_dialogue
|
110 |
+
- math_qa
|
111 |
+
- wikihow
|
112 |
+
- joke
|
113 |
+
- gsm8k
|
114 |
+
- ted_trans_en-hi
|
115 |
+
- ted_trans_de-ja
|
116 |
+
- ted_trans_nl-en
|
117 |
+
- ted_trans_en-ja
|
118 |
+
- ted_trans_en-es
|
119 |
+
- ted_trans_en-ms
|
120 |
+
- xsum:
|
121 |
+
fraction: 0.5
|
122 |
+
- cnn_dailymail:
|
123 |
+
fraction: 0.5
|
124 |
+
- multi_news:
|
125 |
+
fraction: 0.5
|
126 |
+
- tldr_news:
|
127 |
+
fraction: 0.5
|
128 |
+
- scitldr:
|
129 |
+
fraction: 0.5
|
130 |
+
- samsum:
|
131 |
+
fraction: 0.5
|
132 |
+
- debate_sum:
|
133 |
+
fraction: 0.5
|
134 |
+
- billsum:
|
135 |
+
fraction: 0.5
|
136 |
+
- wmt2019_zh-en:
|
137 |
+
fraction: 0.9
|
138 |
+
- wmt2019_ru-en:
|
139 |
+
fraction: 0.9
|
140 |
+
- wmt2019_de-en:
|
141 |
+
fraction: 0.9
|
142 |
+
- wmt2019_fr-de:
|
143 |
+
fraction: 0.9
|
144 |
+
- essay_instruction
|
145 |
+
- reddit_eli5
|
146 |
+
- reddit_askh
|
147 |
+
- reddit_asks
|
148 |
+
cache_dir: /fsx/home-theblackcat02/.cache
|
149 |
+
loss_fn: CrossEntropyLoss
|
150 |
+
eval_size:
|
151 |
+
log_dir: "base"
|
152 |
+
quantization: false
|
153 |
+
seq2seqmodel: false
|
154 |
+
poly_eps: 1.0
|
155 |
+
fuse_gelu: true
|
156 |
+
log_wandb: true
|
157 |
+
samples_mixing: true # uses collator that mixes samples in the batch to create a single sample with possible multiple tasks within
|
158 |
+
verbose: false
|
159 |
+
|
160 |
+
pythia-1b:
|
161 |
+
learning_rate: 5e-6
|
162 |
+
model_name: EleutherAI/pythia-1b-deduped
|
163 |
+
weight_decay: 0.01
|
164 |
+
max_length: 540
|
165 |
+
fp16: true
|
166 |
+
warmup_steps: 1000
|
167 |
+
gradient_accumulation_steps: 20
|
168 |
+
per_device_train_batch_size: 20
|
169 |
+
per_device_eval_batch_size: 2
|
170 |
+
eval_steps: 500
|
171 |
+
save_steps: 500
|
172 |
+
```
|
173 |
+
|
174 |
+
|
175 |
+
# Evaluation
|
176 |
+
|
177 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
178 |
+
|
179 |
+
## Testing Data, Factors & Metrics
|
180 |
+
|
181 |
+
### Testing Data
|
182 |
+
|
183 |
+
<!-- This should link to a Data Card if possible. -->
|
184 |
+
|
185 |
+
[More Information Needed]
|
186 |
+
|
187 |
+
### Factors
|
188 |
+
|
189 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
### Metrics
|
194 |
+
|
195 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
196 |
+
|
197 |
+
[More Information Needed]
|
198 |
+
|
199 |
+
## Results
|
200 |
+
|
201 |
+
[More Information Needed]
|
202 |
+
|
203 |
+
### Summary
|
204 |
+
|
205 |
+
|
206 |
+
|
207 |
+
# Model Examination [optional]
|
208 |
+
|
209 |
+
<!-- Relevant interpretability work for the model goes here -->
|
210 |
+
|
211 |
+
[More Information Needed]
|
212 |
+
|
213 |
+
# Environmental Impact
|
214 |
+
|
215 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
216 |
+
|
217 |
+
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).
|
218 |
+
|
219 |
+
- **Hardware Type:** [More Information Needed]
|
220 |
+
- **Hours used:** [More Information Needed]
|
221 |
+
- **Cloud Provider:** [More Information Needed]
|
222 |
+
- **Compute Region:** [More Information Needed]
|
223 |
+
- **Carbon Emitted:** [More Information Needed]
|
224 |
+
|
225 |
+
# Technical Specifications [optional]
|
226 |
+
|
227 |
+
## Model Architecture and Objective
|
228 |
+
|
229 |
+
[More Information Needed]
|
230 |
+
|
231 |
+
## Compute Infrastructure
|
232 |
+
|
233 |
+
[More Information Needed]
|
234 |
+
|
235 |
+
### Hardware
|
236 |
+
|
237 |
+
[More Information Needed]
|
238 |
+
|
239 |
+
### Software
|
240 |
+
|
241 |
+
[More Information Needed]
|
242 |
+
|
243 |
+
# Citation [optional]
|
244 |
+
|
245 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
246 |
+
|
247 |
+
**BibTeX:**
|
248 |
+
|
249 |
+
[More Information Needed]
|
250 |
+
|
251 |
+
**APA:**
|
252 |
+
|
253 |
+
[More Information Needed]
|
254 |
+
|
255 |
+
# Glossary [optional]
|
256 |
+
|
257 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
258 |
+
|
259 |
+
[More Information Needed]
|
260 |
+
|
261 |
+
# More Information [optional]
|
262 |
+
|
263 |
+
[More Information Needed]
|
264 |
+
|
265 |
+
# Model Card Authors [optional]
|
266 |
+
|
267 |
+
[More Information Needed]
|
268 |
+
|
269 |
+
# Model Card Contact
|
270 |
+
|
271 |
+
[More Information Needed]
|
272 |
+
|
273 |
+
|