Update README.md
Browse files
README.md
CHANGED
@@ -53,14 +53,6 @@ This is a LLM for code that is focussed on generating bug fixes using infilling.
|
|
53 |
- **Model type:** GPT-2
|
54 |
- **Finetuned from model:** [bigcode/santacoder](https://huggingface.co/bigcode/santacoder)
|
55 |
|
56 |
-
### Model Sources [optional]
|
57 |
-
|
58 |
-
<!-- Provide the basic links for the model. -->
|
59 |
-
|
60 |
-
- **Repository:** [More Information Needed]
|
61 |
-
- **Paper [optional]:** [More Information Needed]
|
62 |
-
- **Demo [optional]:** [More Information Needed]
|
63 |
-
|
64 |
## Uses
|
65 |
|
66 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
@@ -71,29 +63,6 @@ This is a LLM for code that is focussed on generating bug fixes using infilling.
|
|
71 |
|
72 |
[More Information Needed]
|
73 |
|
74 |
-
### Downstream Use [optional]
|
75 |
-
|
76 |
-
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
77 |
-
|
78 |
-
[More Information Needed]
|
79 |
-
|
80 |
-
### Out-of-Scope Use
|
81 |
-
|
82 |
-
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
83 |
-
|
84 |
-
[More Information Needed]
|
85 |
-
|
86 |
-
## Bias, Risks, and Limitations
|
87 |
-
|
88 |
-
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
89 |
-
|
90 |
-
[More Information Needed]
|
91 |
-
|
92 |
-
### Recommendations
|
93 |
-
|
94 |
-
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
95 |
-
|
96 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
97 |
|
98 |
## How to Get Started with the Model
|
99 |
|
@@ -103,30 +72,23 @@ Use the code below to get started with the model.
|
|
103 |
|
104 |
## Training Details
|
105 |
|
106 |
-
|
|
|
107 |
|
108 |
-
|
109 |
|
110 |
-
[
|
111 |
|
112 |
### Training Procedure
|
113 |
|
114 |
-
|
115 |
-
|
116 |
-
#### Preprocessing [optional]
|
117 |
-
|
118 |
-
[More Information Needed]
|
119 |
-
|
120 |
|
121 |
#### Training Hyperparameters
|
122 |
|
123 |
-
- **
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
|
131 |
## Evaluation
|
132 |
|
@@ -140,88 +102,10 @@ Use the code below to get started with the model.
|
|
140 |
|
141 |
[More Information Needed]
|
142 |
|
143 |
-
#### Factors
|
144 |
-
|
145 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
146 |
-
|
147 |
-
[More Information Needed]
|
148 |
-
|
149 |
-
#### Metrics
|
150 |
-
|
151 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
152 |
-
|
153 |
-
[More Information Needed]
|
154 |
-
|
155 |
### Results
|
156 |
|
157 |
[More Information Needed]
|
158 |
|
159 |
#### Summary
|
160 |
|
161 |
-
|
162 |
-
|
163 |
-
## Model Examination [optional]
|
164 |
-
|
165 |
-
<!-- Relevant interpretability work for the model goes here -->
|
166 |
-
|
167 |
-
[More Information Needed]
|
168 |
-
|
169 |
-
## Environmental Impact
|
170 |
-
|
171 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
172 |
-
|
173 |
-
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).
|
174 |
-
|
175 |
-
- **Hardware Type:** [More Information Needed]
|
176 |
-
- **Hours used:** [More Information Needed]
|
177 |
-
- **Cloud Provider:** [More Information Needed]
|
178 |
-
- **Compute Region:** [More Information Needed]
|
179 |
-
- **Carbon Emitted:** [More Information Needed]
|
180 |
-
|
181 |
-
## Technical Specifications [optional]
|
182 |
-
|
183 |
-
### Model Architecture and Objective
|
184 |
-
|
185 |
-
[More Information Needed]
|
186 |
-
|
187 |
-
### Compute Infrastructure
|
188 |
-
|
189 |
-
[More Information Needed]
|
190 |
-
|
191 |
-
#### Hardware
|
192 |
-
|
193 |
-
[More Information Needed]
|
194 |
-
|
195 |
-
#### Software
|
196 |
-
|
197 |
-
[More Information Needed]
|
198 |
-
|
199 |
-
## Citation [optional]
|
200 |
-
|
201 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
202 |
-
|
203 |
-
**BibTeX:**
|
204 |
-
|
205 |
-
[More Information Needed]
|
206 |
-
|
207 |
-
**APA:**
|
208 |
-
|
209 |
-
[More Information Needed]
|
210 |
-
|
211 |
-
## Glossary [optional]
|
212 |
-
|
213 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
214 |
-
|
215 |
-
[More Information Needed]
|
216 |
-
|
217 |
-
## More Information [optional]
|
218 |
-
|
219 |
-
[More Information Needed]
|
220 |
-
|
221 |
-
## Model Card Authors [optional]
|
222 |
-
|
223 |
-
[More Information Needed]
|
224 |
-
|
225 |
-
## Model Card Contact
|
226 |
-
|
227 |
[More Information Needed]
|
|
|
53 |
- **Model type:** GPT-2
|
54 |
- **Finetuned from model:** [bigcode/santacoder](https://huggingface.co/bigcode/santacoder)
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
## Uses
|
57 |
|
58 |
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
|
|
63 |
|
64 |
[More Information Needed]
|
65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
## How to Get Started with the Model
|
68 |
|
|
|
72 |
|
73 |
## Training Details
|
74 |
|
75 |
+
- **GPU:** Tesla P100
|
76 |
+
- **Time:** ~5 hrs
|
77 |
|
78 |
+
### Training Data
|
79 |
|
80 |
+
The model was fine-tuned on the [CVE single line fixes dataset](https://huggingface.co/datasets/lambdasec/cve-single-line-fixes)
|
81 |
|
82 |
### Training Procedure
|
83 |
|
84 |
+
Supervised Fine Tuning (SFT)
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
#### Training Hyperparameters
|
87 |
|
88 |
+
- **optim:** adafactor
|
89 |
+
- **gradient_accumulation_steps:** 4
|
90 |
+
- **gradient_checkpointing:** true
|
91 |
+
- **fp16:** false
|
|
|
|
|
|
|
92 |
|
93 |
## Evaluation
|
94 |
|
|
|
102 |
|
103 |
[More Information Needed]
|
104 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
### Results
|
106 |
|
107 |
[More Information Needed]
|
108 |
|
109 |
#### Summary
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
[More Information Needed]
|